/* style.css (Homepage Styles) */

/* --- HERO SLIDER --- */
#hero {
    height: 95vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.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: scale(1.1);
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 8s linear;
}
#hero::after { /* Gradient Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(40, 29, 20, 0.7) 0%, rgba(40, 29, 20, 0.3) 100%);
}
.hero-content { z-index: 10; }
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* --- OUR STORY SECTION --- */
#our-story { background: var(--light-bg); }
.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.story-content h2 { text-align: left; }
.story-content p { margin-bottom: 1rem; }

/* --- FEATURED PRODUCTS SECTION --- */
#products { background: var(--beige); }
.visit-shop-container {
    text-align: center;
    margin-top: 4rem;
}

/* --- GALLERY SECTION --- */
#gallery { background-color: var(--light-bg); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition-fast);
}
.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
/* Making the grid more interesting */
.gallery-item:nth-child(1) { grid-column: 1 / 3; }
.gallery-item:nth-child(6) { grid-column: 2 / 4; }


/* --- CONTACT SECTION (HOMEPAGE) --- */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
#contact-form input, #contact-form textarea {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}
#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--copper);
}

/* Hero Trust Line */
.hero-trust-line {
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Shared Subtitle Style */
.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -2.5rem auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Why Choose Us Section */
#why-choose-us {
    background-color: var(--light-bg);
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.why-choose-item {
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}
.why-choose-item i {
    font-size: 2.5rem;
    color: var(--copper);
    margin-bottom: 1.5rem;
}
.why-choose-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-copper);
}

/* Health Benefits Section */
#health-benefits {
    background-color: #fff;
}
.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.benefits-content .section-title {
    text-align: left;
}
.benefits-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}
.benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--copper);
    font-weight: bold;
    font-size: 1.2rem;
}
.benefits-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin-top: 4rem;
}
.gallery-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--beige);
}
.testimonial-grid {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    overflow-x: auto;
}
.testimonial-card {
    background-color: #fff;
    padding: 2.5rem;
    min-width: 500px;
    border-radius: 12px;
    border-left: 5px solid var(--copper);
    box-shadow: var(--shadow);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}
.testimonial-card cite {
    font-weight: 500;
    color: var(--dark-text);
}


/* --- HOMEPAGE RESPONSIVE --- */
@media(max-width: 992px) {
    .story-container { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(n) { grid-column: auto; } /* Reset grid spans */
    .benefits-container {
        grid-template-columns: 1fr;
    }
    .benefits-image {
        grid-row: 1; /* Move image to top on mobile */
    }
    .benefits-content .section-title {
        text-align: center;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
@media(max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section-subtitle {
        margin: -1.5rem auto 2rem;
        font-size: 1rem;
    }
}