/* Base Styles and Reset */
:root {
    /* NEW COLORS: Fresh and vibrant greens */
    --color-primary-dark: hsl(144, 52%, 45%); /* Deeper, rich green */
    --color-primary-medium: #3CB86A; /* Vibrant green for accents/buttons */
    --color-primary-light: #e6ffe6; /* Very light green for subtle backgrounds */
    --color-text-dark: #333;
    --color-text-light: #555;
    --color-white: #ffffff;
    --color-accent: #FFC107; /* A subtle golden yellow or bright green for highlights if needed */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    /* Dark green shadow-like background gradient */
    background: radial-gradient(circle at top left, #8bc34a20, transparent 40%),
                radial-gradient(circle at bottom right, #4caf5020, transparent 40%),
                linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-white) 100%);
    background-size: cover;
    background-attachment: fixed; /* Keep gradient fixed when scrolling */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Interactive Elements --- */
[data-interactive="true"] {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

[data-interactive="true"]:active {
    transform: scale(0.98);
}

.btn:not(.btn-cta):hover,
.feature-card:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* General Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary-medium); /* Vibrant green */
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: #349c5e; /* Slightly darker vibrant green on hover */
}

.btn-hero {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
}

.btn-dark {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}
.btn-dark:hover {
    background-color: #23613b; /* Darker primary green on hover */
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
}
.btn-light:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* --- Header/Navigation --- */
.header {
    background-color: var(--color-white);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo img { /* For the specific Goatly logo image */
    width: 30px; /* Exact size */
    height: 30px; /* Exact size */
    border-radius: 50%; /* If you want it rounded */
    object-fit: contain; /* Ensure full logo is visible */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary-dark); /* Dark green on hover */
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-primary-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    min-height: calc(100vh - 80px); /* Fill most of the viewport height (subtract header height) */
    display: flex; /* Ensure content is centered vertically if needed */
    align-items: center; /* Center content vertically */
    padding: 50px 0; /* Add some padding */
    background-color: transparent; /* Background handled by body */
    position: relative;
    z-index: 1; /* Ensure it's above body background */
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.hero-text {
    flex: 1;
    min-width: 300px; /* Ensure text doesn't get too squished */
}

.super-heading {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary-medium); /* Vibrant green for super heading */
    margin-bottom: 5px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--color-primary-dark);
}

.tagline, .tagline-sub {
    color: var(--color-text-light);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px; /* Space for the shadow effect */
    z-index: 2; /* Bring image above any potential overlay */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    /* Subtle inner border to mimic a plate edge */
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.5) inset, /* White inner border */
                0 15px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    /* BOUNCING 3D ANIMATION */
    animation: floating 3s ease-in-out infinite;
    transform-origin: center center; /* Ensure it scales from center */
}

/* Keyframes for the bouncing effect */
@keyframes floating {
    0% { transform: translateY(0px) rotateZ(0deg); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }
    50% { transform: translateY(-10px) rotateZ(1deg); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2); }
    100% { transform: translateY(0px) rotateZ(0deg); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }
}


.social-links a {
    color: var(--color-primary-dark);
    font-size: 22px;
    margin-right: 20px;
}

.social-links a:hover {
    color: var(--color-primary-medium);
}

/* --- Shared Heading Style --- */
.features-section h2,
.feedback-section h2,
.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-primary-dark);
    text-align: center;
}


/* --- Features Section (Fresh Facts) --- */
.features-section {
    padding: 60px 0 80px 0;
    text-align: center;
    background-color: var(--color-primary-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-card i { /* Styling for all Font Awesome icons within a feature-card */
    font-size: 38px;
    color: var(--color-primary-medium); /* Accent color for feature icons */
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--color-primary-dark);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-light);
}


/* --- Feedback Section (Best Seller) --- */
.feedback-section {
    padding: 80px 0;
    text-align: center;
}

.feedback-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.feedback-card {
    flex: 1;
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.feedback-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feedback-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feedback-card h3 {
    color: var(--color-primary-dark);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feedback-card p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* --- Call to Action (CTA) Section (Store) --- */
.cta-section {
    background: radial-gradient(circle at top left, #8bc34a20, transparent 40%),
                radial-gradient(circle at bottom right, #4caf5020, transparent 40%),
                linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-white) 100%);
    color: var(--color-white);
    padding: 80px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-text {
    flex: 1;
    max-width: 50%;
}

.cta-text h2 {
    color: hsl(144, 52%, 45%);
    font-size: 40px;
    line-height: 1.2;
}

.cta-text p, .cta-sub {
    color: hsl(144, 52%, 45%);
}

.btn-cta {
    background-color: var(--color-primary-medium); /* Use vibrant green for CTA button */
    color: var(--color-white);
    border: none;
    font-weight: 700;
    padding: 15px 35px;
}

.btn-cta:hover {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
    background-color: hsl(144, 52%, 45%); /* var(--color-primary-dark) with 70% opacity */

    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid hsl(144, 52%, 45%); /* Darker border for contrast */
}

/* --- Hiding lower sections --- */
.hidden-section {
    display: none;
    /* When a link is clicked, JavaScript will remove this class */
    /* Add smooth transition when section becomes visible */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hidden-section.visible {
    display: block; /* Or flex, grid depending on layout */
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto; /* Allow hero to shrink on smaller screens */
        padding: 80px 0;
    }
    .hero-text h1 {
        font-size: 44px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .feedback-card {
        max-width: 48%;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text, .cta-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu, .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
    
    .header .container {
        justify-content: space-between;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-image {
        margin-bottom: 30px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-actions {
        justify-content: center;
    }

    /* Mobile Menu Dropdown Styles */
    .nav-menu {
        position: absolute;
        top: 70px; /* Adjust based on your actual header height */
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* Ensure it's on top */
        display: none;
    }
    
    .nav-menu.is-open {
        display: flex;
    }
    
    .nav-link {
        padding: 10px 0;
        display: block;
    }
    /* Hide header actions completely when menu is open on mobile */
    .header-actions {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .btn-hero {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .feedback-card {
        max-width: 100%;
    }
}