/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Merriweather:wght@700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary-green: #1a472a;
    --light-green: #2d6a40;
    --accent: #8b9d77;
    --text-dark: #333333;
    --bg-light: #f9f9f6;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Navigation */
header {
    background: #ffffff;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container img {
    max-height: 80px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent); }

/* Hero Section */
.hero {
    height: 70vh;
    position: relative;
    display: flex; /* Ensures content centers inside */
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden; /* Stops content from spilling out */
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1; /* Pushes text ABOVE the video */
    background: rgba(0, 0, 0, 0.4); 
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%; /* Keeps text from touching edges on mobile */
}

.hero h1 {
    color: #ffffff !important;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Main Content Containers */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.content-block {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Image Carousel */
.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 20px;
    margin-top: 2rem;
}

.carousel-container::-webkit-scrollbar { height: 10px; }
.carousel-container::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 5px; }
.carousel-container::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }

.carousel-img {
    scroll-snap-align: center;
    flex: 0 0 auto;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #eaeaea; /* Placeholder while loading */
}

/* Buttons & Links */
.btn {
    display: inline-block;
    background: var(--primary-green);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn:hover { background: var(--light-green); color: #fff;}

/* Footer */
footer {
    background: var(--primary-green);
    color: #ffffff;
    padding: 3rem 5%;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-content h3 { color: #ffffff; }

.social-links {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    margin-top: 10px;
}

.social-links a {
    color: #ffffff;
    transition: transform 0.3s;
}

.social-links a:hover { transform: scale(1.1); }

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.floating-whatsapp:hover { transform: scale(1.1); color: white;}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    .hero h1 { font-size: 1.8rem; }
    .carousel-img { height: 250px; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
