/* 
    WOODSTONE LODGES - PRESTIGE MASTER STYLESHEET
    Aesthetic: High-End Boutique, Professional, Warm & Inviting
    Version: 11.3 (Consolidated & Refined)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --lush-green: #2d5a27;
    --lush-dark: #1e3a1a;
    --stone-dark: #2C3327;
    --stone-muted: #5B6350;
    --gold: #C0A080;
    --gold-light: #D4BD9E;
    --white: #ffffff;
    --off-white: #fdfaf6;
    --accent: #e44d26;
    --radius-lg: 40px;
    --radius-md: 24px;
    --shadow-sm: 0 10px 30px rgba(0,0,0,0.03);
    --shadow-md: 0 20px 50px rgba(0,0,0,0.06);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.1);
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ---------- 1. BASE STYLES ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', sans-serif; 
    color: var(--stone-dark); 
    line-height: 1.8; 
    overflow-x: hidden; 
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.1; }
p { color: var(--stone-muted); font-size: 1.1rem; }
a { text-decoration: none; transition: var(--transition); color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
section { padding: 140px 0; position: relative; }

/* ---------- 2. ANIMATIONS ---------- */
.reveal-up { transform: translateY(60px); opacity: 0; transition: var(--transition); }
.revealed { transform: translate(0, 0) !important; opacity: 1 !important; }

/* ---------- 3. NAVIGATION (THINNER) ---------- */
.navbar { 
    position: fixed; top: 0; left: 0; right: 0; height: 80px; 
    background: transparent; z-index: 1000; transition: var(--transition); 
    display: flex; align-items: center; 
}
.navbar.scrolled { 
    height: 65px; background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(20px); box-shadow: var(--shadow-sm); 
}
.nav-container { 
    width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 4%; 
    display: flex; justify-content: space-between; align-items: center; 
}
.logo-img { height: 50px; transition: 0.5s ease; }
.navbar.scrolled .logo-img { height: 40px; }

.nav-menu { display: flex; gap: 40px; align-items: center; }
.nav-link { 
    color: white; font-weight: 600; font-size: 0.85rem; 
    text-transform: uppercase; letter-spacing: 2px; position: relative;
}
.navbar.scrolled .nav-link { color: var(--stone-dark); }
.nav-link::after {
    content: ''; position: absolute; bottom: -8px; left: 50%; width: 0; height: 2px;
    background: var(--gold); transition: 0.4s; transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }

.nav-cta { 
    background: var(--lush-green); color: white !important; padding: 10px 25px; 
    border-radius: 100px; font-weight: 700; box-shadow: 0 10px 25px rgba(45, 90, 39, 0.2);
}

/* ---------- 4. BUTTON SYSTEM ---------- */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 40px; border-radius: 100px; font-weight: 700; 
    transition: var(--transition); border: none; cursor: pointer; 
    text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; 
}
.btn-primary { background: var(--lush-green); color: white !important; box-shadow: 0 10px 25px rgba(45, 90, 39, 0.2); }
.btn:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ---------- 5. HERO (BOTTOM CONTENT + FLOATING) ---------- */
.hero { height: 100vh; display: flex; align-items: flex-end; justify-content: center; position: relative; overflow: hidden; padding-bottom: 80px; }
.hero-slider { position: absolute; inset: 0; z-index: -1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 30s linear infinite alternate; }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.hero-content { z-index: 10; text-align: center; }

.btn-hero-main {
    padding: 20px 45px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--lush-green);
    color: white !important;
    border-radius: 100px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    animation: floatBtn 3s ease-in-out infinite;
}

@keyframes floatBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- 6. CORE CONTENT ---------- */
.section-header { text-align: center; margin-bottom: 100px; }
.section-label { color: var(--lush-green); text-transform: uppercase; letter-spacing: 5px; font-weight: 800; font-size: 0.9rem; margin-bottom: 20px; display: block; }
.section-title { font-size: clamp(2.8rem, 6vw, 4rem); margin-bottom: 25px; color: var(--stone-dark); }
.title-line { width: 100px; height: 4px; background: var(--gold); margin: 0 auto 40px; border-radius: 10px; }

.rooms-grid, .safari-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.room-card, .safari-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid rgba(0,0,0,0.02); display: flex; flex-direction: column; }
.room-card:hover, .safari-card:hover { transform: translateY(-15px); box-shadow: var(--shadow-lg); }
.room-image, .safari-image { height: 380px; overflow: hidden; }
.room-image img, .safari-image img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s; }
.room-info, .safari-info { padding: 45px; text-align: center; flex-grow: 1; }
.room-seasonal-prices { background: var(--off-white); padding: 30px; border-radius: var(--radius-md); margin-bottom: 35px; border: 1px solid #f0e6d8; }
.season-row { display: flex; justify-content: space-between; font-size: 1.1rem; color: #a0a0a0; padding: 8px 0; }
.season-row.active { color: var(--lush-green); font-weight: 800; }

.amenities-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
}
.amenity-card { 
    background: white; 
    padding: 30px 20px; 
    border-radius: var(--radius-md); 
    text-align: center; 
    box-shadow: var(--shadow-sm); 
    border: 1px solid rgba(0,0,0,0.03); 
    transition: var(--transition); 
}
.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}
.amenity-icon { 
    font-size: 2.2rem; 
    margin-bottom: 15px; 
    display: block; 
}
.amenity-card h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--stone-dark);
}

/* ---------- 7. ATTRACTIONS SLIDER ---------- */
.attractions-wrapper { position: relative; margin-top: 80px; padding: 0 20px; }
.attractions-scroller { display: flex; gap: 40px; overflow-x: auto; scroll-behavior: smooth; padding: 20px 10px 80px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.attractions-scroller::-webkit-scrollbar { display: none; }
.attraction-card { flex: 0 0 calc((100% - 80px) / 3); background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); scroll-snap-align: start; }
.attraction-card img { height: 320px; width: 100%; object-fit: cover; }
.scroll-btn { position: absolute; top: 45%; width: 60px; height: 60px; border-radius: 50%; background: white; color: var(--lush-green); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 10; cursor: pointer; border: none; }
.scroll-btn.prev { left: -30px; }
.scroll-btn.next { right: -30px; }

/* ---------- 8. SOCIAL PROOF & GALLERY ---------- */
.social-proof-section { background: var(--off-white); padding: 140px 0; }
.reviews-slider { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 100px; }
.review-card { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid #f0e6d8; text-align: center; }
.ta-stars { color: #00af87; letter-spacing: 5px; font-size: 1.2rem; margin-bottom: 20px; display: block; }
.review-text { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; margin-bottom: 25px; }

/* Filterable Masonry Gallery */
.gallery-filter-bar { display: flex; justify-content: center; gap: 15px; margin: 50px 0; flex-wrap: wrap; }
.filter-btn { background: white; border: 1px solid #f0e6d8; padding: 12px 30px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; color: var(--stone-dark); font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; }
.filter-btn.active, .filter-btn:hover { background: var(--lush-green); color: white; border-color: var(--lush-green); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(45, 90, 39, 0.2); }
.gallery-grid-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; margin-top: 50px; }
.gallery-item { height: 400px; border-radius: var(--radius-md); overflow: hidden; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item.hidden { display: none; }

/* ---------- 9. DYNAMIC UI & SPECIAL SECTIONS ---------- */
.video-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000;
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: 0.4s;
}
.video-modal.active { opacity: 1; }
.video-container { width: 90%; max-width: 1200px; position: relative; }
.video-container video { width: 100%; border-radius: 20px; box-shadow: 0 50px 100px rgba(0,0,0,0.5); }
.video-close { position: absolute; top: -60px; right: 0; font-size: 3rem; color: white; background: none; border: none; cursor: pointer; }

/* Packing List Modal */
.packing-modal-card { max-width: 800px; max-height: 90vh; overflow-y: auto; }
.packing-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; text-align: left; }
.packing-category h4 { color: var(--lush-green); margin-bottom: 15px; border-bottom: 2px solid var(--off-white); padding-bottom: 8px; }
.packing-category ul { padding-left: 20px; list-style: disc; }
.packing-category li { margin-bottom: 8px; color: var(--stone-muted); }

.modal-overlay { position: fixed; inset: 0; background: rgba(26, 29, 23, 0.95); backdrop-filter: blur(15px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 30px; }
.modal-card { background: white; width: 100%; max-width: 700px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-header-box { background: var(--off-white); padding: 40px; text-align: center; border-bottom: 1px solid #f0e6d8; }
.modal-body { padding: 40px; }
.modal-close { position: absolute; top: 20px; right: 20px; font-size: 2rem; cursor: pointer; color: #999; border: none; background: none; }

.contact-method-toggle { display: flex; background: #f0f0f0; padding: 6px; border-radius: 100px; margin-bottom: 30px; }
.method-btn, .choice-btn { flex: 1; padding: 12px; border-radius: 100px; border: none; background: transparent; font-weight: 700; cursor: pointer; transition: 0.3s; color: #777; }
.method-btn.active, .choice-btn.active { background: white; color: var(--lush-green); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 800; color: var(--stone-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #eee; background: #fafafa; border-radius: 12px; font-family: inherit; }

/* ---------- 10. FOOTER (COMPACT & MODERN) ---------- */
.footer { 
    background: #f8f9fa; 
    color: var(--stone-dark); 
    padding: 40px 0 25px; 
    font-size: 0.85rem;
    border-top: 1px solid #eee;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.footer-address {
    color: var(--stone-muted);
    font-style: normal;
    font-weight: 500;
}
.footer-social-icons {
    display: flex;
    gap: 15px;
}
.footer-social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--stone-dark);
}
.footer-social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
}
/* Brand Colors on Hover */
.footer-social-icons a.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); color: white; }
.footer-social-icons a.ta:hover { background: #00af87; color: white; }
.footer-social-icons a.wa:hover { background: #25d366; color: white; }

.footer-social-icons svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}
.footer-bottom {
    text-align: center;
    color: var(--stone-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
}

/* ---------- 11. REMOVED FLOATERS ---------- */
.social-float, .back-to-top.visible { display: none !important; }

/* ---------- 11. RESPONSIVE REFINEMENTS ---------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.navbar.scrolled .menu-toggle span { background: var(--stone-dark); }

@media (max-width: 850px) {
    section { padding: 80px 0; }
    .container { padding: 0 25px; }
    
    .menu-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        margin: 0;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-link { color: var(--stone-dark) !important; font-size: 1.2rem; }
    
    .section-title { font-size: 2.2rem; line-height: 1.2; }
    .section-label { letter-spacing: 3px; font-size: 0.8rem; }
    
    .rooms-grid, .safari-grid, .reviews-slider, .amenities-grid, .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    
    .btn { 
        width: 100%; 
        padding: 18px 25px; 
        font-size: 0.95rem; 
        border-radius: 15px; /* Slightly more modern than full round on mobile */
    }
    
    .gallery-grid-masonry {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .gallery-item {
        height: 300px;
    }
    
    .footer-top { flex-direction: column; gap: 20px; text-align: center; }
    .footer-address { font-size: 0.85rem; }
    
    /* Better touch targets for filters */
    .gallery-filter-bar {
        gap: 8px;
        padding: 0 10px;
    }
    .filter-btn {
        flex: 1 1 calc(50% - 10px);
        padding: 12px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .amenities-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .filter-btn { padding: 8px 18px; font-size: 0.75rem; }
}
