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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --coral: #E8624A;
    --coral-dark: #C44D38;
    --cream: #F5F0EB;
    --cream-dark: #E8E0D8;
    --white: #FFFFFF;
    --text: #1a1a1a;
    --text-light: #6B6B6B;
    --serif: 'Playfair Display', Georgia, serif;
    --mono: 'IBM Plex Mono', monospace;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius: 4px;
    --radius-lg: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--mono);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral);
    margin-bottom: var(--space-sm);
}

.section-heading {
    font-size: clamp(2.25rem, 5vw, 4rem);
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.btn-primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 98, 74, 0.3);
}

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

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

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

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: var(--space-sm) 0;
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-family: var(--serif);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--coral);
    color: var(--white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(26, 26, 26, 0.55) 50%,
        rgba(26, 26, 26, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: var(--space-xl);
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--coral);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--white);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.hero-accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--coral);
}

.hero-sub {
    font-family: var(--mono);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-family: var(--mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ========== INTRO ========== */
.intro {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.intro-text {
    padding-right: var(--space-md);
}

.intro-text .section-heading {
    margin-bottom: var(--space-md);
}

.intro-body {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-image:hover img {
    transform: scale(1.03);
}

/* ========== ROOMS ========== */
.rooms {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
}

.rooms .section-heading {
    color: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.room-card {
    background: var(--charcoal-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.room-image {
    aspect-ratio: 7/5;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.room-info {
    padding: var(--space-md);
}

.room-info h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.room-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.room-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.room-features li {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--coral);
    background: rgba(232, 98, 74, 0.1);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
    border: 1px solid rgba(232, 98, 74, 0.2);
}

.rooms-cta {
    margin-top: var(--space-lg);
    text-align: center;
}

/* ========== EXPERIENCE ========== */
.experience {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.exp-item {
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-dark);
    transition: var(--transition);
}

.exp-item:hover {
    border-color: var(--coral);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 98, 74, 0.08);
}

.exp-icon {
    margin-bottom: var(--space-sm);
}

.exp-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
}

.exp-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== LOCATION ========== */
.location {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
}

.location .section-heading {
    color: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
}

.location-info {
    padding-right: var(--space-md);
}

.location-body {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.detail-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-item strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
}

.detail-item span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.detail-item a {
    color: var(--coral);
    transition: var(--transition);
}

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

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
}

.location-map iframe {
    border-radius: var(--radius-lg);
    filter: grayscale(0.3) contrast(1.05);
}

/* ========== GALLERY ========== */
.gallery {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--cream);
}

.gallery .container:first-child {
    margin-bottom: var(--space-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-sm);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background: rgba(26, 26, 26, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    aspect-ratio: auto;
}

.gallery-tall img {
    height: 100%;
}

.gallery-item:nth-child(2) {
    grid-column: 5 / 9;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
}

.gallery-wide {
    grid-column: 1 / 13;
}

/* ========== CTA / BOOKING ========== */
.cta {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.cta-text .section-heading {
    margin-bottom: var(--space-sm);
}

.cta-body {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

.booking-form {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-dark);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--mono);
    font-size: 0.85rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--text);
    transition: var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(232, 98, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--space-sm);
}

.form-note a {
    color: var(--coral);
    font-weight: 500;
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(232, 98, 74, 0.08);
    border: 1px solid rgba(232, 98, 74, 0.2);
    border-radius: var(--radius);
    color: var(--coral-dark);
    font-size: 0.85rem;
    margin-top: var(--space-sm);
}

.form-success.show {
    display: flex;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--charcoal);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: var(--space-sm);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral);
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

/* ========== MOBILE NAV ========== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.97);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

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

.nav-overlay .nav {
    flex-direction: column;
    gap: var(--space-md);
}

.nav-overlay .nav-link {
    font-size: 1.25rem;
    color: var(--white);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-tall {
        grid-column: 1 / 7;
        grid-row: auto;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 7 / 13;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 1 / 7;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: 7 / 13;
    }
    
    .gallery-wide {
        grid-column: 1 / 13;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .intro-grid,
    .location-grid,
    .cta-inner {
        grid-template-columns: 1fr;
    }
    
    .intro-text {
        padding-right: 0;
    }
    
    .location-info {
        padding-right: 0;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-tall {
        grid-column: 1 / -1;
        aspect-ratio: 3/4;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: auto;
    }
    
    .gallery-wide {
        grid-column: 1 / -1;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .gallery-tall img {
        height: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero {
        min-height: 600px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .gallery-tall {
        aspect-ratio: 4/3;
    }
}
