/* ========================================
   BROOKES HOTEL — Brand Styles
   Burgundy + Blush Editorial Palette
   ======================================== */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-deeper: #3D141C;
    --blush: #F5E6E0;
    --blush-light: #FBF5F3;
    --blush-mid: #F0D5CC;
    --cream: #FDF8F6;
    --white: #FFFFFF;
    --text-dark: #1A0A0D;
    --text-mid: #4A2530;
    --text-light: #7A5060;
    --text-muted: #9A7580;
    --gold: #C49A6C;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

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

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--burgundy);
    letter-spacing: -0.01em;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--burgundy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width 0.3s var(--ease-out);
}

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

.nav-cta {
    background: var(--burgundy) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

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

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--burgundy);
}

.mobile-menu-cta {
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--burgundy);
    padding: 14px 32px;
    border: 2px solid var(--burgundy);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.mobile-menu-cta:hover {
    background: var(--burgundy);
    color: var(--white);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--cream);
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-headline br {
    display: none;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 40px;
    max-width: 440px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 16px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(123, 45, 59, 0.12);
}

/* --- Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.divider-mark {
    width: 40px;
    height: 1px;
    background: var(--burgundy);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-mark::before {
    content: '◆';
    font-size: 0.5rem;
    color: var(--burgundy);
    position: absolute;
}

.divider-mark::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--burgundy);
}

/* --- Section Common --- */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-mid);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- Rooms --- */
.rooms {
    background: var(--white);
}

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

.room-card {
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(123, 45, 59, 0.1);
}

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

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.room-card-body {
    padding: 28px;
}

.room-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.room-card-desc {
    font-size: 0.925rem;
    line-height: 1.7;
    color: var(--text-mid);
}

/* --- Amenities --- */
.amenities {
    background: var(--cream);
}

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

.amenities-image {
    border-radius: 12px;
    overflow: hidden;
}

.amenities-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.amenities-content .section-eyebrow {
    text-align: left;
}

.amenities-content .section-headline {
    text-align: left;
    margin-bottom: 20px;
}

.amenities-intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 40px;
}

.amenities-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.amenity-icon {
    width: 40px;
    height: 40px;
    background: var(--blush);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

/* --- Location --- */
.location {
    background: var(--white);
}

.location-intro {
    max-width: 560px;
    margin: 0 auto 64px;
}

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

.location-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

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

.location-card {
    padding: 32px;
    background: var(--cream);
    border-radius: 12px;
    border-left: 3px solid var(--burgundy);
}

.location-card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.location-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-mid);
}

.location-phone {
    color: var(--burgundy);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.location-phone:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

/* --- Testimonial --- */
.testimonial {
    background: var(--burgundy);
    padding: 100px 0;
}

.testimonial-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 1;
    color: var(--blush);
    display: block;
    margin-bottom: -20px;
    opacity: 0.6;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: var(--blush-light);
    margin-bottom: 28px;
}

.testimonial-source {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blush-mid);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --- Contact --- */
.contact {
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info .section-headline {
    text-align: left;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-detail-value {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.contact-detail-value a {
    color: var(--burgundy);
    transition: color 0.3s ease;
}

.contact-detail-value a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(123, 45, 59, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--blush-mid);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--blush-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

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

.form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-success-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: var(--burgundy-deeper);
    color: var(--blush);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 230, 224, 0.12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--blush-light);
    margin-bottom: 14px;
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--blush);
    color: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--blush-mid);
    line-height: 1.6;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--blush);
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-phone {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blush-light);
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: var(--white);
}

.footer-address {
    font-size: 0.875rem;
    color: var(--blush-mid);
    line-height: 1.6;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }
    
    .hero-image img {
        height: 600px;
    }
    
    .amenities-layout {
        gap: 48px;
    }
    
    .contact-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-image img {
        height: 400px;
        border-radius: 10px;
    }
    
    .hero-desc {
        margin-bottom: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .amenities-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .amenities-image img {
        height: 300px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.8rem;
    }
    
    .hero-headline br {
        display: block;
    }
    
    .section-headline {
        font-size: 2rem;
    }
    
    .contact-form-wrap {
        padding: 24px;
    }
}
