/* General Styles - Mobile First Approach */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f6b90d; /* Yellow from packaging */
    --secondary-color: #338235; /* Green from packaging */
    --background-color: #f4f4ee; /* Light background from packaging */
    --text-color: #333;
    --white: #fff;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;
    --container-padding: 20px;
    --border-radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xl);
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

/* Header & Navigation - Mobile First */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 70px;
}

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

.logo img {
    height: 50px;
}

/* Mobile Navigation */
.desktop-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 2;
    width: 30px;
    height: 24px;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--secondary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--white);
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#menu-toggle:checked ~ .mobile-nav {
    height: auto;
    padding: var(--spacing-md) 0;
}

.mobile-nav ul {
    padding: 0;
}

.mobile-nav ul li {
    padding: var(--spacing-sm) var(--container-padding);
}

.mobile-nav ul li a {
    display: block;
    color: var(--text-color);
    font-weight: 500;
}

/* Hero Section - Mobile First */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 50px;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-content {
    max-width: 100%;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1rem;
    margin: 0 auto var(--spacing-xl);
    max-width: 90%;
}

/* Products Section - Mobile First */
.products {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.product-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.product-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
}

.product-card p {
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
}

.feature {
    background-color: var(--background-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: var(--spacing-sm);
}

/* Organic Section - Mobile First */
.organic {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color);
}

.organic-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.organic-image {
    height: 250px;
    background-image: url('organic.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
}

.organic-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.organic-text p {
    margin-bottom: var(--spacing-md);
}

.organic-text ul li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 25px;
}

.organic-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Hygiene Section - Mobile First */
.hygiene {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.hygiene-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hygiene-image {
    height: 250px;
    background-image: url('hygiene.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    order: -1; /* Show image first on mobile */
}

.hygiene-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.hygiene-text p {
    margin-bottom: var(--spacing-md);
}

.hygiene-text ul li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 25px;
}

.hygiene-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section - Mobile First */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.contact-item {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

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

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer - Mobile First */
footer {
    background-color: #333;
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 50px;
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media Queries for Tablet */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 80%;
    }
    
    /* Products grid - 2 columns for tablet */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact info - 3 columns for tablet */
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer - 2 columns for tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Adjust organic and hygiene sections for tablet */
    .organic-content,
    .hygiene-content {
        flex-direction: row;
        align-items: center;
    }
    
    .organic-image,
    .hygiene-image {
        flex: 1;
        height: 300px;
    }
    
    .organic-text,
    .hygiene-text {
        flex: 1;
    }
    
    .hygiene-image {
        order: 0; /* Reset the order */
    }
}

/* Media Queries for Desktop */
@media (min-width: 1024px) {
    body {
        font-size: 18px;
    }
    
    /* Show desktop navigation */
    .desktop-nav {
        display: block;
    }
    
    .desktop-nav ul {
        display: flex;
    }
    
    .desktop-nav ul li {
        margin-left: var(--spacing-lg);
    }
    
    .desktop-nav ul li a {
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .desktop-nav ul li a:hover {
        color: var(--primary-color);
    }
    
    /* Hide mobile hamburger menu */
    .hamburger-menu {
        display: none;
    }
    
    /* Hero section */
    .hero {
        padding: 150px 0 100px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        max-width: 60%;
        margin-bottom: var(--spacing-xl);
    }
    
    /* Products section - 3 columns for desktop */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-image {
        height: 220px;
    }
    
    /* Footer - 3 columns for desktop */
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Contact section */
    .contact-content {
        flex-direction: row;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .contact-form {
        flex: 1;
    }
}

/* For large desktop screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .organic-image,
    .hygiene-image {
        height: 400px;
    }
}

/* Ensure images are responsive */
@media (min-width: 768px) and (max-width: 1023px) {
    .product-image {
        height: 180px;
    }
}

/* Target larger mobile devices */
@media (min-width: 480px) and (max-width: 767px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 160px;
    }
}

/* Print styles */
@media print {
    header, footer, .hero, .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
    
    .product-card, .contact-item {
        break-inside: avoid;
    }
}
