/* ==========================================================================
   MAISHA SUITES - PREMIUM LANDING PAGE CSS
   Matches the attached mockup design precisely
   ========================================================================== */

/* 1. VARIABLE INITIALIZATION */
:root {
    --primary-emerald: #04211A;      /* Selected logo background - deep luxurious dark emerald */
    --primary-emerald-hover: #07352a;
    --primary-emerald-light: #f0f4f3;
    
    --accent-gold: #c09963;          /* Warm matte brass-gold accents */
    --accent-gold-hover: #ab8552;
    --accent-gold-light: #f7f3ed;
    
    --bg-ivory: #FAF8F5;             /* Warm soft residential background */
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    
    --text-dark: #1C2E29;            /* Emerald-tinted charcoal */
    --text-muted: #556862;           /* Soft sage grey */
    --text-light: #FFFFFF;
    
    --border-color: rgba(4, 33, 26, 0.08);
    --border-color-focus: rgba(192, 153, 99, 0.5);
    
    --shadow-soft: 0 10px 40px rgba(4, 33, 26, 0.05);
    --shadow-input: 0 2px 8px rgba(4, 33, 26, 0.02);
    
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-ivory);
    color: var(--text-dark);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacing */
.section {
    padding: 90px 0;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.text-gold { color: var(--accent-gold); }
.text-center { text-align: center; }

/* 3. BUTTONS & UI CONTROLS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-emerald);
}
.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-gold);
    color: var(--primary-emerald);
}
.btn-accent:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

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

/* WhatsApp Icon SVG rules */
.whatsapp-icon-svg {
    height: 18px;
    width: 18px;
    fill: currentColor;
}

/* 4. NAVIGATION NAVBAR */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--primary-emerald);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
    height: 90px; /* Elegant taller header */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-links-desktop {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link:hover {
    color: var(--text-light);
}
.nav-link.active {
    font-weight: 600;
    color: var(--text-light);
}

.btn-whatsapp-navbar {
    background-color: var(--accent-gold);
    color: var(--primary-emerald);
    font-weight: 600;
    border-radius: 6px;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(192, 153, 99, 0.15);
}

/* Mobile Toggler */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    color: var(--text-light);
}

/* 5. MOBILE DRAWER */
.mobile-nav-drawer {
    position: fixed;
    top: 90px;
    right: -300px;
    width: 280px;
    height: calc(100vh - 90px);
    background-color: var(--primary-emerald);
    box-shadow: -5px 0 30px rgba(4, 33, 26, 0.15);
    z-index: 99;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mobile-nav-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--text-light);
    font-weight: 600;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-overlay {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 90px);
    background-color: rgba(4, 33, 26, 0.3);
    backdrop-filter: blur(4px);
    z-index: 98;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.drawer-overlay.active {
    display: block;
    opacity: 1;
}

/* 6. HERO SECTION WITH IMAGE OVERLAY */
.hero-wrapper {
    position: relative;
    background-image: url('../assets/suite_gombe_luxury.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    height: calc(100vh - 90px);
    min-height: 560px;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(4, 33, 26, 0.72), rgba(4, 33, 26, 0.75));
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-pre-title {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-description {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-cta-btn {
    box-shadow: 0 8px 24px rgba(192, 153, 99, 0.3);
}

.hero-cta-caption {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 4px;
}

/* 7. EDITORIAL DIVIDED PILLARS */
.pillars-wrapper {
    background-color: var(--bg-white);
}

.section-pre-title {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-serif-title {
    color: var(--primary-emerald);
    line-height: 1.25;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 60px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-white);
}

.pillar-column {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-color);
}
.pillar-column:last-child {
    border-right: none;
}

.pillar-icon-box {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background-color: var(--primary-emerald-light);
    color: var(--primary-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.pillar-icon-box .material-symbols-outlined {
    font-size: 1.5rem;
}

.pillar-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-emerald);
    margin-bottom: 8px;
    line-height: 1.4;
}

.pillar-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* 8. FAQ ACCORDION SECTION */
.faq-wrapper {
    background-color: var(--bg-ivory);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion-container {
    max-width: 750px;
    margin: 60px auto 0 auto;
}

.accordion-item {
    background-color: var(--bg-white);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(4, 33, 26, 0.01);
}
.accordion-header {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-emerald);
    transition: var(--transition-fast);
}
.accordion-header:hover {
    background-color: var(--primary-emerald-light);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    border-top: 1px solid transparent;
}
.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 22px 24px;
    border-top-color: var(--border-color);
    transition: max-height 0.3s ease-in-out;
}
.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--accent-gold);
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* 9. CONTACT SECTION WITH DUAL BLOCK (Mockup Emerald Card) */
.contact-section-wrapper {
    background-color: var(--bg-white);
}

.contact-emerald-card {
    background-color: var(--primary-emerald);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(4, 33, 26, 0.15);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info-col {
    color: var(--text-light);
}

.contact-pre-title {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-serif-title {
    margin-top: 12px;
    line-height: 1.25;
}

.contact-title-divider {
    height: 2px;
    width: 60px;
    background-color: var(--accent-gold);
    margin: 24px 0;
}

.contact-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

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

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-light);
}

.contact-detail-icon {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}
.contact-detail-icon .material-symbols-outlined {
    font-size: 1.35rem;
}
.contact-svg-icon {
    height: 18px;
    width: 18px;
    fill: var(--accent-gold);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-gold);
    margin-bottom: 2px;
}

.detail-value {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* White Form Container */
.form-card-container {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-card-title {
    color: var(--primary-emerald);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 24px;
    font-weight: 600;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-control {
    border: 1px solid rgba(4, 33, 26, 0.12);
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 500;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}
.form-control::placeholder {
    color: #9ab0aa;
    font-weight: 400;
}
.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(192, 153, 99, 0.1);
}

/* Select arrow customization */
.select-wrapper {
    position: relative;
    width: 100%;
}
.select-wrapper::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--accent-gold);
    pointer-events: none;
    font-size: 1.25rem;
}
select.form-control {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.text-area-control {
    height: 110px;
    resize: none;
    margin-bottom: 24px;
}

.btn-form-submit {
    width: 100%;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(192, 153, 99, 0.2);
}

.success-banner {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 10. CHANNELS DISTRIBUTION STRIP */
.channel-distribution-wrapper {
    background-color: var(--bg-ivory);
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
}

.channel-pre-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 24px;
}

.channel-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.channel-logo-container {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.channel-partner-logo {
    width: auto;
    object-fit: contain;
    opacity: 0.82;
    transition: var(--transition-fast);
}
.channel-partner-logo.airbnb-logo {
    height: 38px;
}
.channel-partner-logo.booking-logo {
    height: 23px; /* Balances the visual weight with Airbnb */
}
.channel-logo-container:hover .channel-partner-logo {
    opacity: 1;
    transform: scale(1.04);
}

/* 11. FOOTER (Emerald) */
.footer-wrapper {
    background-color: var(--primary-emerald);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* 12. RESPONSIVE MEDIA QUERIES */

@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        border: none;
        gap: 20px;
    }
    .pillar-column {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        background-color: var(--bg-white);
        border-radius: 8px;
        box-shadow: var(--shadow-soft);
    }
    .pillar-column:last-child {
        border-bottom: none;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-emerald-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .nav-links-desktop,
    .nav-actions-desktop {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-wrapper {
        height: auto;
        padding: 80px 0;
    }
    .hero-headline {
        font-size: 2.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-card-container {
        padding: 30px 20px;
    }
    .channel-logos-row {
        flex-direction: column;
        gap: 32px;
    }
}
