/* CSS Variables - Royal Cream, Gold & Green Palette */
:root {
--gold: #C19A5B;         /* Royal Golden */
--gold-dark: #9F7C46;    /* Dark Golden for hovers */
--charcoal: #1A2F24;     /* Deep Forest Green (Used for Headings/Buttons) */
--text-main: #2A3F34;    /* Dark Olive Green for readability */
--bg-alabaster: #EBE4D5; /* Warm Beige / Darker Cream for Footer & Sections */
--white: #F9F7F2;        /* Light Creamish (Main Background & Menu) */
--border-light: #D8D0BA; /* Golden-Beige Border */

--font-serif: 'Playfair Display', serif;
--font-sans: 'Montserrat', sans-serif;
}

/* Reset & Base Styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* MOBILE SCROLL FIX: Strictly prevent horizontal scrolling globally */
html, body {
scroll-behavior: smooth;
overflow-x: hidden !important;
width: 100%;
max-width: 100vw;
}

body { font-family: var(--font-sans); background-color: var(--white); color: var(--text-main); line-height: 1.6; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); color: var(--charcoal); font-weight: 400; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

/* Ensure all images and videos scale down instead of pushing the screen wide */
img, video { max-width: 100%; height: auto; display: block; }

/* ==============================================================
0. UTILITY CLASSES (CRITICAL FOR ALIGNMENT)
============================================================== */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
overflow-x: hidden; /* Secondary scroll defense */
box-sizing: border-box;
}
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-12 { margin-top: 3rem; }

/* Typography Classes */
.section-kicker, .pre-heading, .room-category, .dining-category, .venue-category { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 1rem; display: block; word-wrap: break-word; }
.title-section { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; color: var(--charcoal); line-height: 1.2; word-wrap: break-word; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline { display: inline-block; padding: 14px 36px; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.4s ease; border: 1px solid transparent; text-align: center; border-radius: 4px; max-width: 100%; white-space: normal; word-wrap: break-word;}
.btn-primary { background-color: var(--charcoal); color: var(--white); }
.btn-primary:hover { background-color: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-secondary { background-color: var(--gold); color: var(--white); }
.btn-secondary:hover { background-color: var(--charcoal); transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background-color: var(--charcoal); color: var(--white); }

/* ==============================================================
CREAM NAVBAR & MEGA MENU
============================================================== */
.navbar {
position: fixed;
top: 0;
width: 100%;
padding: 15px 50px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000;
transition: all 0.4s ease;
background-color: var(--white);
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-brand { font-family: var(--font-serif); font-size: 1.8rem; display: flex; align-items: center; gap: 10px; flex: 0 0 200px; color: var(--charcoal); }
.nav-links { display: flex; gap: 35px; align-items: center; flex: 1; justify-content: center; height: 100%; }
.nav-links > a, .nav-item > a { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.3s ease; padding: 10px 0; color: var(--charcoal); }
.nav-links > a:hover, .nav-item:hover > a { color: var(--gold-dark); }
.nav-links .btn-primary { margin-left: 0; flex: 0 0 auto; background: var(--gold); color: var(--white); border: none; padding: 10px 24px;}
.nav-links .btn-primary:hover { background: var(--charcoal); }
.navbar::after { content: ''; flex: 0 0 200px; display: block; pointer-events: none; }

/* MEGA MENU */
.nav-item { position: static; padding: 0 15px; height: 100%; display: flex; align-items: center; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background-color: var(--white); width: 950px; max-width: 95vw; box-shadow: 0 20px 50px rgba(0,0,0,0.1); display: flex; opacity: 0; visibility: hidden; transition: all 0.4s ease; border-top: 3px solid var(--charcoal); pointer-events: none; text-align: left; }
.mega-menu::before { content: ''; position: absolute; top: -25px; left: 0; right: 0; height: 25px; background: transparent; z-index: -1; }
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mega-col-gold { background-color: var(--bg-alabaster); padding: 45px; width: 35%; position: relative; overflow: hidden; border-right: 1px solid var(--border-light); }
.mega-col-links { padding: 45px; width: 32.5%; display: flex; flex-direction: column; gap: 15px; text-align: left; }
.mega-col-links a { color: var(--text-main) !important; font-size: 0.85rem !important; padding-bottom: 4px; border-bottom: 1px solid transparent; width: fit-content; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; }
.mega-col-links a:hover { color: var(--gold-dark) !important; border-bottom-color: var(--gold); }
.menu-btn { display: none; font-size: 1.5rem; background: none; border: none; color: var(--charcoal); cursor: pointer; }

/* ==============================================================
2. UNIVERSAL GRIDS, CARDS & SECTIONS
============================================================== */
.bg-white { background-color: var(--white); }
.bg-alabaster { background-color: var(--bg-alabaster); }
.bg-charcoal { background-color: var(--charcoal); color: var(--white); }
.bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }
.bg-charcoal p { color: rgba(255,255,255,0.8); }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

/* Global Card Styling */
.rooms-grid, .experiences-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 40px; }
.room-card, .experience-card { background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: transform 0.4s ease, box-shadow 0.4s ease; text-align: left; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; }
.experience-card { background: #222; }
.room-card:hover, .experience-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.room-card img, .experience-card img { width: 100%; height: 280px; object-fit: cover; }
.room-card h3, .experience-card h3 { font-size: 1.8rem; margin: 25px 25px 15px; font-family: var(--font-serif); color: var(--charcoal); }
.experience-card h3 { color: var(--gold); }
.room-card p, .experience-card p { padding: 0 25px 25px; color: #555; font-size: 1rem; flex-grow: 1; line-height: 1.6; }
.experience-card p { color: #aaa; }
.room-card .btn-outline { margin: 0 25px 30px; width: calc(100% - 50px); }

/* Bullet Lists & Highlights */
.amenities-list, .highlights-list, .experience-features { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; border-top: 1px solid var(--border-light); padding-top: 20px; text-align: left; }
.amenities-list { flex-direction: row; flex-wrap: wrap; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; }
.amenities-list li, .highlights-list li, .experience-features li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--charcoal); font-weight: 600; font-family: var(--font-sans); }
.highlights-list li::before { content: '✦'; color: var(--gold); font-size: 1rem; }
.amenities-list li::before { content: '•'; color: var(--gold); font-size: 1.5rem; line-height: 0; }

/* ==============================================================
4. UNIVERSAL CONTACT FORMS
============================================================== */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,0.08); text-align: left; border-top: 4px solid var(--gold); border-radius: 8px; overflow: hidden; width: 100%; box-sizing: border-box; }
.contact-info { background-color: var(--charcoal); color: var(--white); padding: 60px; box-sizing: border-box; }
.contact-info h3 { color: var(--gold); margin-bottom: 25px; font-size: 2.2rem; font-family: var(--font-serif); word-wrap: break-word; }
.contact-info address { font-style: normal; line-height: 1.8; color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.contact-info p { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; word-break: break-word; overflow-wrap: break-word; }
.contact-info i { color: var(--gold); font-size: 1.5rem; flex-shrink: 0; }
.contact-info a { color: var(--white); font-weight: 500; transition: color 0.3s ease; word-break: break-word; overflow-wrap: break-word;}
.contact-info a:hover { color: var(--gold); }

.contact-form { padding: 60px; background-color: var(--white); box-sizing: border-box; width: 100%; }
.form-group { margin-bottom: 25px; text-align: left; width: 100%; }
.form-group label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #666; margin-bottom: 10px; font-weight: 600; }
.form-control { width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid var(--border-light); background: transparent; font-family: var(--font-sans); font-size: 1.05rem; color: var(--charcoal); transition: border-color 0.3s ease; outline: none; box-sizing: border-box;}
.form-control:focus { border-bottom-color: var(--gold); }
.alert-success { background-color: #f0fdf4; color: #166534; padding: 15px; border: 1px solid #bbf7d0; border-radius: 4px; margin-bottom: 20px; font-size: 0.95rem; }

/* ==============================================================
5. CREAM & GREEN GRAND FOOTER
============================================================== */
.footer-grand { background-color: var(--bg-alabaster); color: var(--charcoal); padding: 80px 5vw 30px; font-family: var(--font-sans); border-top: 4px solid var(--charcoal); overflow-x: hidden; width: 100%; box-sizing: border-box; }
.footer-grand a { color: var(--text-main); transition: color 0.3s ease; font-size: 0.9rem; font-weight: 500; }
.footer-grand a:hover { color: var(--gold-dark); }
.footer-top-grid { display: grid; grid-template-columns: 1.5fr 2fr 1fr; gap: 60px; margin-bottom: 50px; text-align: left; width: 100%; box-sizing: border-box; }
.footer-heading { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: 1px; color: var(--charcoal); margin-bottom: 25px; display: block; font-weight: 600; }

.footer-subscribe form { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--charcoal); padding-bottom: 10px; margin-bottom: 40px; max-width: 100%; width: 100%; box-sizing: border-box; }
.footer-subscribe input { background: transparent; border: none; color: var(--charcoal); width: 100%; outline: none; font-size: 0.95rem; box-sizing: border-box; flex: 1 1 auto; min-width: 150px; }
.footer-subscribe input::placeholder { color: #888; }
.footer-subscribe button { background: transparent; color: var(--charcoal); padding: 8px 20px; font-size: 0.8rem; font-weight: bold; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; border: none; flex: 0 0 auto; }
.footer-subscribe button:hover { color: var(--gold-dark); }

.footer-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; width: 100%; box-sizing: border-box; }
.footer-contact-block p { margin-bottom: 5px; font-size: 0.95rem; color: var(--text-main); word-wrap: break-word; overflow-wrap: break-word; width: 100%; }
.footer-contact-block a { word-break: break-word; overflow-wrap: break-word; display: inline-block; max-width: 100%; white-space: normal; }

.footer-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; width: 100%; box-sizing: border-box;}
.footer-links-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-links-grid li { margin-bottom: 12px; }

.footer-socials { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-socials a { font-size: 1.5rem; color: var(--charcoal); }
.footer-socials a:hover { color: var(--gold-dark); transform: scale(1.1); }
.footer-divider { height: 1px; background-color: var(--border-light); width: 100%; margin: 20px 0; }
.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; flex-wrap: wrap; gap: 20px; width: 100%; box-sizing: border-box; }
.footer-copy-text { font-size: 0.9rem; color: var(--text-main); word-break: break-word;}
.footer-legal-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }

/* ==============================================================
6. SCROLL ANIMATIONS
============================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==============================================================
7. MOBILE RESPONSIVENESS (Strict Fixes)
============================================================== */
@media (max-width: 900px) {
.navbar { padding: 15px 20px; height: 75px; }
.navbar::after { display: none; }
.menu-btn { display: block; z-index: 1001; }
.nav-links { display: none; }

.nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--white); padding: 20px; border-top: 1px solid var(--border-light); box-shadow: 0 10px 20px rgba(0,0,0,0.1); height: 100vh; align-items: flex-start; overflow-y: auto; overflow-x: hidden; box-sizing: border-box; }
.nav-links.active > a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--border-light); color: var(--charcoal); box-sizing: border-box;}

.nav-links.active .nav-item { width: 100%; border-bottom: 1px solid var(--border-light); height: auto; flex-direction: column; align-items: flex-start; box-sizing: border-box;}
.nav-links.active .nav-item > a { padding: 15px 0; width: 100%; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box;}

.nav-links.active .mega-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; flex-direction: column; display: none; background: var(--bg-alabaster); box-sizing: border-box;}
.nav-links.active .nav-item:hover .mega-menu { display: flex; }
.nav-links.active .mega-col-gold, .nav-links.active .mega-col-links { width: 100%; padding: 20px; border-left: none; border-right: none; box-sizing: border-box;}

.content-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; width: 100%; box-sizing: border-box;} 
.content-grid.reverse { direction: ltr; }

/* Strict layout control to prevent widening */
.contact-container { grid-template-columns: 1fr; width: 100%; box-sizing: border-box; }
.contact-info, .contact-form { padding: 40px 20px; width: 100%; box-sizing: border-box; }

.footer-top-grid { grid-template-columns: 1fr; gap: 40px; width: 100%; box-sizing: border-box; }
.footer-contact-grid { display: flex; flex-direction: column; gap: 20px; width: 100%; box-sizing: border-box;}

/* FIXED: Changed to grid to keep quick links side-by-side on mobile */
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; box-sizing: border-box; }

/* Force form elements to stack if they get too squeezed */
.footer-subscribe form { flex-direction: column; gap: 15px; align-items: stretch; }
.footer-subscribe input { width: 100%; }
.footer-subscribe button { width: 100%; text-align: center; }

.footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 15px; width: 100%; box-sizing: border-box;}

.title-section { font-size: 2rem; padding: 0; margin-bottom: 1.5rem; line-height: 1.3; word-wrap: break-word; }
.hero-content { padding: 0 15px; width: 100%; box-sizing: border-box; overflow: hidden;}
.container { padding: 0 15px; width: 100%; box-sizing: border-box; }

}

@media (max-width: 400px) {
    /* Stack links on extra-small screens */
    .footer-links-grid { grid-template-columns: 1fr; }
}