/* --- CSS Reset & Variables --- */
:root {
    /* Color Palette */
    --color-primary: #1e3f2b; 
    --color-primary-light: #2c5a3e;
    --color-secondary: #D4AF37; /* Elegant subtle gold */
    --color-secondary-hover: #b5952f;
    --color-accent: #25D366; /* WhatsApp green */
    
    --color-bg: #FAF9F6; /* Off-white for softer feel */
    --color-surface: #FFFFFF;
    --color-text: #2D3748; /* Slate gray text */
    --color-text-light: #718096;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 20px 40px rgba(44, 90, 62, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

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

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

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

.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons & Animations --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-body);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: #fff;
    color: var(--color-primary);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.btn-accent {
    background-color: var(--color-secondary) !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-accent:hover {
    background-color: var(--color-secondary-hover) !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.btn-instagram:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

/* Pulse animation for CTA */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 90, 62, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(44, 90, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 90, 62, 0);
    }
}
.cta-pulse {
    animation: pulse 2s infinite;
}
.cta-pulse:hover {
    animation: none;
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.logo i {
    color: var(--color-secondary);
}

header.scrolled .logo {
    color: var(--color-primary);
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

header.scrolled .nav-links a {
    color: var(--color-primary);
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width var(--transition-smooth);
}

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

.nav-cta {
    background-color: var(--color-secondary) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
}

.nav-cta:hover {
    background-color: var(--color-secondary-hover) !important;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

header.scrolled .menu-toggle {
    color: var(--color-primary);
    text-shadow: none;
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* --- Hero Section & Slider --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden; 
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 30, 20, 0.85) 0%, rgba(15, 30, 20, 0.6) 50%, rgba(15, 30, 20, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    color: #fff;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-title .highlight {
    color: var(--color-secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* --- Features Section --- */
.features {
    background-color: var(--color-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    top: 0;
}

.feature-card:hover {
    top: -15px; 
    box-shadow: var(--shadow-hover);
    background-color: #fff;
    border-color: rgba(44, 90, 62, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(44, 90, 62, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition-smooth);
}

.feature-card:hover .icon-bounce i {
    animation: jump 0.5s ease;
}

@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.feature-card:hover .feature-icon {
    background-color: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--color-text-light);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background-color: #e2e8f0; 
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.item-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.gallery-item:hover .item-overlay span {
    transform: translateY(0);
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

/* Gallery final CTA Block */
.gallery-cta {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3);
}

.cta-inner {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition-smooth);
}

.cta-inner i.fa-instagram {
    font-size: 3rem;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.cta-inner h3 {
    color: #fff;
    font-size: 1.75rem;
}

.gallery-cta:hover .cta-inner {
    transform: scale(1.05);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

#lightboxCaption {
    margin-top: 15px;
    color: #fff;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--color-secondary);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-bg);
}

.cta-box {
    background: var(--color-primary);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* --- Footer --- */
footer {
    background-color: #112317;
    color: #fff;
    padding: 4rem 0 2rem 0;
}

footer h3 {
    color: #fff; 
    margin-bottom: 0.5rem;
}

footer h3 i {
    color: var(--color-secondary); 
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #a0aec0;
    max-width: 400px;
}

.footer-contact h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-contact p {
    color: #a0aec0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--color-secondary);
    transition: opacity var(--transition-fast);
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #718096;
    font-size: 0.875rem;
}

/* --- Floating WhatsApp Button --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 150;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-wa:hover {
    transform: scale(1.1) rotate(10deg);
    animation: none;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: #fff;
}

/* --- Animations for JS Reveal --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .floating-wa {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    
    .item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .item-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .nav-links, .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 85vh; /* Reduced from 100vh to avoid massive gap on phone */
        padding-top: 6rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-bg img {
        object-position: center auto;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .item-large, .item-wide {
        grid-column: span 1;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(15, 30, 20, 0.85) 0%, rgba(15, 30, 20, 0.7) 100%);
    }

    .close-lightbox {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}
