/* ==========================================================================
   Design System & Global Variables (Mobile-First)
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-dark: #1E2816;      /* Deep luxurious olive/forest green */
    --primary: #4A5D37;           /* Elegant forest green */
    --primary-light: #586C44;     /* Medium moss green (from old website) */
    --sage-green: #8A9E75;        /* Sage green accent */
    --light-bg: #FAF9F6;          /* Luxurious warm off-white/cream */
    --white: #FFFFFF;
    
    --gold: #D4AF37;              /* Premium metallic gold */
    --gold-light: #F3E5AB;        /* Champagne gold */
    --gold-bright: #F5D061;       /* Bright gold for hover states */
    
    --text-dark: #1A2214;         /* Rich charcoal-green for high contrast */
    --text-muted: #55624C;        /* Soft olive-gray for secondary text */
    --text-light: #FAF9F6;        /* Off-white text */
    
    /* Layout & Styling Values */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-circle: 50%;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px rgba(30, 40, 22, 0.12);
    --shadow-large: 0 30px 60px rgba(0, 0, 0, 0.25);
    
    /* Header Heights */
    --header-height: 70px;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--primary-dark); /* Unified background to match the brand color */
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
}

p {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

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

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

/* Reusable Components */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%; /* Full width on mobile for better tap target */
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover, .btn-primary:active {
    background-color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Pulsing effect for main CTA */
.btn-pulse {
    position: relative;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    border: 2px solid var(--gold);
    animation: btn-pulse-anim 2s infinite;
    opacity: 0;
}

@keyframes btn-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Highlight Text Gradient */
.highlight-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: transparent;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 52px;
    width: auto;
}

/* Compact header button on mobile */
.header-actions .nav-cta {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    width: auto;
}

/* ==========================================================================
   Hero Section (Mobile-First Layout)
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.hero-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.subtitle-badge {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    background-color: var(--gold-light);
    padding: 4px 16px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.subtitle-highlight {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: normal;
    color: var(--white);
    font-weight: 600;
}

.subtitle-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-top: 4px;
}

.subtitle-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 320px;
    line-height: 1.4;
}

.hero-actions {
    width: 100%;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--gold);
    font-size: 1rem;
}

.trust-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Media & Custom YouTube Player */
.hero-media {
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    aspect-ratio: 9 / 16; /* Designed around the vertical poster */
    max-width: 340px;     /* Extremely neat mobile sizing */
    border: 3px solid rgba(255, 255, 255, 0.1);
    background-color: #0E130A;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Custom poster styling */
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 34, 20, 0.45);
    transition: var(--transition-smooth);
}

/* Premium Custom Play Button */
.play-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 12;
    transition: var(--transition-smooth);
}

.play-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: var(--border-radius-circle);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

/* Play button glow pulse ring */
.play-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: var(--border-radius-circle);
    border: 1px solid var(--gold-light);
    animation: play-pulse-anim 2s infinite;
}

@keyframes play-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.play-button-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* active/touch feedback */
.video-poster:active .play-icon-wrapper {
    transform: scale(0.95);
    background-color: var(--gold);
    color: var(--primary-dark);
}

/* iframe styling */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 5;
}

/* Fade out animation for poster */
.video-poster.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0E130A;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin: 0 auto 16px auto;
}

.footer-brand p {
    font-size: 0.85rem;
    max-width: 280px;
    margin: 0 auto;
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 0.75rem;
}

/* ==========================================================================
   BIG Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    height: 56px;
    padding: 0 20px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.whatsapp-float-text i {
    font-size: 0.8rem;
    transition: transform var(--transition-smooth);
}

.whatsapp-float i.fab.fa-whatsapp {
    font-size: 1.6rem;
}

/* Pulse animation ring for the float button */
.whatsapp-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: var(--border-radius-circle);
    border: 2px solid #25D366;
    animation: whatsapp-pulse-anim 2.5s infinite;
    pointer-events: none;
    opacity: 0;
}

@keyframes whatsapp-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ==========================================================================
   Desktop styles using Media Queries (Desktop Adaptation)
   ========================================================================== */
@media (min-width: 1024px) {
    /* Body & Layout adjustments */
    body {
        font-size: 16px;
    }

    .container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .btn {
        width: auto; /* Return to content-width on large screens */
        padding: 16px 36px;
    }

    /* Header modifications */
    .header {
        height: 80px;
    }

    .logo-img {
        height: 66px;
    }

    .header-actions .nav-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Hero layout: Side-by-side Grid */
    .hero {
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 100px;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 20px 60px;
        align-items: center;
    }

    .hero-info {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-media {
        grid-column: 2;
        grid-row: 1 / span 2;
        display: flex;
        justify-content: center;
    }

    .hero-actions {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 3.6rem;
        line-height: 1.1;
        margin-bottom: 24px;
    }

    .hero-subtitle-box {
        align-items: flex-start;
        border-left: 3px solid var(--gold);
        padding-left: 20px;
        margin-bottom: 32px;
    }

    .subtitle-badge {
        font-size: 1.05rem;
        padding: 6px 20px;
    }

    .subtitle-highlight {
        font-size: 1.6rem;
    }

    .subtitle-question {
        font-size: 1.25rem;
    }

    .subtitle-tagline {
        font-size: 1rem;
        max-width: 500px;
        line-height: 1.5;
    }

    .trust-item span {
        font-size: 0.9rem;
    }

    /* Video player scale for desktops */
    .video-wrapper {
        max-width: 380px;
        border-radius: var(--border-radius-lg);
        border-width: 4px;
    }

    .play-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }

    .play-button-text {
        font-size: 0.9rem;
    }

    /* Hover animations for mouse pointer devices */
    .btn:hover {
        transform: translateY(-3px);
    }

    .video-poster:hover .video-poster-overlay {
        background-color: rgba(26, 34, 20, 0.3);
    }

    .video-poster:hover .play-icon-wrapper {
        transform: scale(1.1);
        background-color: var(--gold);
        color: var(--primary-dark);
        box-shadow: 0 0 45px rgba(212, 175, 55, 0.55);
    }

    .video-poster:hover .play-button-text {
        color: var(--gold-light);
    }

    /* Footer modification */
    .footer {
        padding: 50px 0;
        text-align: left;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footer-logo {
        height: 60px;
        margin: 0 0 16px 0;
    }

    .footer-brand p {
        margin: 0;
        max-width: 360px;
    }

    .footer-contact {
        text-align: right;
    }

    /* Float WhatsApp elements on Desktop hover */
    .whatsapp-float {
        bottom: 40px;
        right: 40px;
        height: 60px;
        padding: 0 24px;
    }

    .whatsapp-float-text {
        font-size: 0.95rem;
    }

    .whatsapp-float i.fab.fa-whatsapp {
        font-size: 1.8rem;
    }

    .whatsapp-float:hover {
        transform: scale(1.05) translateY(-4px);
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
        background-color: #20BA5A;
    }

    .whatsapp-float:hover .whatsapp-float-text i {
        transform: translateX(5px);
    }
}
