/* ============================================
   Pelican Nest — Hotels & Lodging
   Vibrant Modern | Charcoal + Coral
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --charcoal: #1A1A23;
    --charcoal-light: #2A2A3A;
    --charcoal-mid: #3A3A4A;
    --coral: #FF6B52;
    --coral-light: #FF8A75;
    --coral-dark: #E5553E;
    --coral-pale: #FFF0EE;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F7F7F8;
    --gray-100: #EFEFF2;
    --gray-200: #E2E2E8;
    --gray-400: #9898A6;
    --gray-600: #6B6B7B;
    --gray-800: #3A3A48;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 2px 8px rgba(26, 26, 35, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 35, 0.10);
    --shadow-lg: 0 20px 60px rgba(26, 26, 35, 0.14);
    --shadow-coral: 0 8px 30px rgba(255, 107, 82, 0.30);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--charcoal);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus {
    top: 16px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
    box-shadow: var(--shadow-coral);
}
.btn-primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    box-shadow: 0 12px 35px rgba(255, 107, 82, 0.40);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}
.btn-outline-dark:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--gray-50);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--charcoal);
    transition: color var(--transition);
}

.logo-text {
    letter-spacing: -0.02em;
}

.logo-light {
    color: var(--white);
}

.logo-light .logo-icon path:first-child {
    fill: var(--coral);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: relative;
    transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    left: 0;
    transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
    color: var(--charcoal);
    background: var(--gray-50);
}

.main-nav .btn-primary {
    color: var(--white);
    margin-left: 8px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--charcoal);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-shape--top {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 82, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.hero-shape--bottom {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 82, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.hero-shape--dot {
    width: 12px;
    height: 12px;
    background: var(--coral);
    border-radius: 50%;
    opacity: 0.5;
}

.hero-shape--dot1 { top: 20%; left: 5%; opacity: 0.3; }
.hero-shape--dot2 { top: 60%; left: 12%; width: 8px; height: 8px; opacity: 0.4; }
.hero-shape--dot3 { bottom: 25%; right: 8%; width: 16px; height: 16px; opacity: 0.35; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 82, 0.15);
    border: 1px solid rgba(255, 107, 82, 0.3);
    color: var(--coral-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-title em {
    color: var(--coral);
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 640/720;
}

.hero-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.6;
}

.hero-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: var(--coral-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
}

.hero-card-text strong {
    font-size: 14px;
    color: var(--charcoal);
    font-weight: 700;
}

.hero-card-text span {
    font-size: 13px;
    color: var(--gray-600);
}

/* ---------- SECTION COMMON ---------- */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-title em {
    color: var(--coral);
    font-style: italic;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 560/480;
}

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 320/240;
}

.about-shape {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 160px;
    height: 160px;
    background: var(--coral-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content > p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--coral-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-size: 16px;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.about-feature span {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ---------- ROOMS ---------- */
.rooms {
    padding: 120px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.rooms-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 82, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -200px;
    pointer-events: none;
}

.section-header {
    margin-bottom: 64px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.room-img {
    position: relative;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 520/360;
    transition: transform var(--transition-slow);
}

.room-card:hover .room-img img {
    transform: scale(1.05);
}

.room-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--coral);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.room-info {
    padding: 28px;
}

.room-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.room-info > p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.room-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.room-amenities li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-800);
    font-weight: 500;
}

.room-amenities li svg {
    flex-shrink: 0;
}

/* ---------- LOCATION ---------- */
.location {
    padding: 120px 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.location-info {
    padding: 20px 0;
}

.location-info > p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 36px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.location-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-icon {
    width: 48px;
    height: 48px;
    background: var(--coral-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-item strong {
    display: block;
    font-size: 15px;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.location-item span,
.location-item a {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.location-item a:hover {
    color: var(--coral);
}

.location-map {
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ---------- CTA ---------- */
.cta {
    padding: 120px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta-shape-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 82, 0.2) 0%, transparent 70%);
    top: -150px;
    left: -100px;
    pointer-events: none;
}

.cta-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 82, 0.12) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--charcoal-light);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-contact p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        padding: 100px 32px 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 1000;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .main-nav a {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .main-nav .btn-primary {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-image {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-accent {
        width: 80px;
        height: 80px;
        top: -12px;
        right: -12px;
    }
    
    .hero-card {
        left: 0;
        bottom: -16px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-img-accent {
        width: 160px;
        bottom: -20px;
        right: -16px;
    }
    
    .about-shape {
        width: 100px;
        height: 100px;
        top: -20px;
        left: -20px;
    }
    
    .rooms {
        padding: 80px 0;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .location {
        padding: 80px 0;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 15px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 35, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
