/*
    Global Styles & Reset
    ---------------------------------------------------
    This section sets up basic typography, colors, and a simple reset.
*/
:root {
    --primary-color: #4CAF50; /* A fresh green for the brand */
    --secondary-color: #81C784; /* Lighter green */
    --accent-color: #FFC107; /* A bright yellow for highlights */
    --dark-color: #212121; /* Dark grey for text */
    --light-color: #f4f4f4; /* Light grey for backgrounds */
    --white-color: #ffffff;
    --text-color: #333333;
    --font-family-primary: 'Roboto', sans-serif;
    --font-family-secondary: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-family-secondary);
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--dark-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; }

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--white-color);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-light {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-light:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

.common-section {
    padding: 80px 0;
}

.common-section.bg-light {
    background-color: var(--light-color);
}

.common-section.bg-dark {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.section-title {
    font-family: var(--font-family-secondary);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
}

.bg-dark .section-title {
    color: var(--white-color);
}

/*
    Header & Navigation
    ---------------------------------------------------
*/
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-family-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.main-nav .nav-links {
    display: flex;
    gap: 30px;
}

.main-nav .nav-links a {
    font-weight: 500;
    position: relative;
    color: var(--dark-color);
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background: var(--dark-color);
    transition: transform 0.3s ease;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: var(--white-color);
    padding-top: 80px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    z-index: 999;
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.mobile-sidebar nav a {
    display: block;
    padding: 10px;
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 500;
    border-bottom: 1px solid #eee;
}


/*
    Hero Slider
    ---------------------------------------------------
*/
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--white-color);
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white-color);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}


/*
    About Section
    ---------------------------------------------------
*/
.about-section .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-section .about-image {
    flex: 1;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-section .about-image:hover {
    transform: scale(1.03);
}

.about-section .about-text {
    flex: 1;
}


/*
    Brands & Products
    ---------------------------------------------------
*/
.brand-grid, .product-grid, .values-grid, .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.brand-card, .product-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.brand-card:hover, .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.brand-card img, .product-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.brand-card h3 {
    font-family: var(--font-family-primary);
    font-size: 1.4rem;
    padding: 20px;
    color: var(--primary-color);
    margin: 0;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-family: var(--font-family-primary);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/*
    Trust Section
    ---------------------------------------------------
*/
.trust-section {
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    position: relative;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.trust-section .container {
    position: relative;
    z-index: 2;
}

.trust-overlay {
    padding: 60px 0;
}

.trust-overlay h2 {
    color: var(--white-color);
    font-size: 3.5rem;
}

.trust-overlay p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}


/*
    Eco-friendly Section
    ---------------------------------------------------
*/
.eco-friendly-section .eco-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.eco-friendly-section .eco-text {
    flex: 1;
}

.eco-friendly-section .eco-image {
    flex: 1;
}

.eco-friendly-section ul {
    margin-top: 20px;
}

.eco-friendly-section li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.eco-friendly-section li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/*
    Other Sections
    ---------------------------------------------------
*/
.goodness-section {
    text-align: center;
}

.goodness-content p {
    max-width: 800px;
    margin: 0 auto 30px;
}


/*
    Page Header
    ---------------------------------------------------
*/
.page-header {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    color: var(--white-color);
}

.page-header p {
    font-size: 1.2rem;
}


/*
    About Page Sections
    ---------------------------------------------------
*/
.about-content-section .content-text {
    max-width: 800px;
    margin: 0 auto;
}

.values-grid .value-item {
    text-align: center;
}

.values-grid .value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.values-grid .value-item:hover i {
    transform: translateY(-10px);
}

.trust-quality-section h2 {
    font-size: 3rem;
    color: var(--white-color);
}

.trust-quality-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}


/*
    Product Detail Page
    ---------------------------------------------------
*/
.product-detail-section .product-detail-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}

.product-detail-image {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-container,
.product-info-container {
    flex: 1;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: #666;
}

.product-info-container h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.product-tagline {
    font-style: italic;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 20px;
}

.product-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.product-features h3 {
    font-family: var(--font-family-primary);
    font-size: 1.4rem;
}

.product-features ul {
    margin-top: 15px;
}

.product-features li {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #555;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}


/*
    Contact Page
    ---------------------------------------------------
*/
.contact-grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: flex-start;
}

.contact-info {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-info .info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.contact-form .error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}

.contact-form .form-status {
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    display: none;
}

.contact-form .form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form .form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-section {
    padding: 0 0 80px 0;
}

.map-container {
    height: 450px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}


/*
    Footer
    ---------------------------------------------------
*/
.main-footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about h3, .footer-links h3, .footer-contact h3, .footer-social h3 {
    color: var(--white-color);
    font-family: var(--font-family-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.9rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact p {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-social a {
    display: inline-block;
    color: var(--white-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}


/*
    Responsive Design
    ---------------------------------------------------
*/
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .about-section .about-content,
    .eco-friendly-section .eco-content,
    .product-detail-section .product-detail-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .about-section .about-image {
        margin-bottom: 30px;
    }

    .eco-friendly-section .eco-image {
        order: -1;
        margin-bottom: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .main-header .container {
        padding-right: 0;
    }
    
    .about-section .about-content {
        gap: 30px;
    }
    
    .hero-slider .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .trust-overlay h2, .page-header h1 {
        font-size: 2.5rem;
    }

    .products-list-section .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .common-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .hero-slider .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }

    .trust-overlay h2, .page-header h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about, .footer-links, .footer-contact, .footer-social {
        text-align: center;
    }
    
    .footer-social {
        margin-top: 20px;
    }
}