/* =======================================================
   1. COLOR PALETTE & VARIABLES
   ======================================================= */
:root {
    --primary-green: #127A75;  
    --hover-green: #1B9C96;    
    --earth-brown: #5D4037;    
    --pure-white: #FFFFFF;     
    --off-white: #F0F8F8;      
}

/* =======================================================
   2. GLOBAL RESETS
   ======================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    background-color: var(--pure-white);
    color: var(--earth-brown);
    line-height: 1.6;
}

/* =======================================================
   3. HEADER STYLING
   ======================================================= */
/* Inside Section 3 */
header {
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    height: 65px; 
    padding: 0 50px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none; /* Added this just to be safe, or just leave it blank! */
}

/* Inside Section 4 */
.slider-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-bottom: none; /* The green strip is gone! */
}

.logo img {
    height: 45px; /* Keeps the physical space small inside the locked header */
    transform: scale(1.8); /* Visually zooms the logo to make it MASSIVE */
    transform-origin: left center; /* Forces it to grow to the right, not up/down */
    filter: brightness(0) invert(1); /* THIS MAKES IT PURE WHITE AGAIN */
    margin-right: 40px; /* Adds space so it doesn't touch the 'About Us' link */
    cursor: pointer;
    display: block;
}

/* --- FIXED NAVBAR SPACING --- */
.navbar {
    margin-left: 40px;
    /* This creates the perfect equal gap */
    display: flex;
    align-items: center;
    gap: 40px; 
}

.navbar a {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
    /* REMOVED: margin-right (Gap handles it now) */
}

.navbar a:hover {
    color: #A0E0DC;
}

/* User Actions (Right Side) */
.user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto; 
}

/* Dropdown (Account) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: var(--pure-white);
    border: 1px solid var(--pure-white);
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    background-color: var(--earth-brown);
    border-color: var(--earth-brown);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--pure-white);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    border-top: 3px solid var(--earth-brown);
}

.dropdown-content a {
    color: var(--earth-brown);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Cart Icon */
.cart-icon {
    color: var(--pure-white);
    font-size: 22px;
    position: relative;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--earth-brown);
    color: var(--pure-white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    border: 1px solid var(--pure-white);
}

/* =======================================================
   4. SLIDER SECTION
   ======================================================= */
.slider-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-bottom: 5px solid var(--primary-green);
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

.text {
    background-color: rgba(18, 122, 117, 0.9); 
    color: var(--pure-white);
    font-size: 24px;
    font-weight: 300;
    padding: 15px 30px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    border-radius: 5px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* =======================================================
   5. TOP SELLERS & PRODUCTS
   ======================================================= */
.top-sellers {
    padding: 40px 50px;
    background-color: var(--pure-white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-header h2 {
    color: var(--primary-green);
    font-size: 28px;
    font-weight: 700;
}

.view-all-btn {
    text-decoration: none;
    color: var(--earth-brown);
    font-weight: bold;
    font-size: 14px;
    border: 1px solid var(--earth-brown);
    padding: 8px 15px;
    border-radius: 20px;
    transition: 0.3s;
}

.view-all-btn:hover {
    background-color: var(--earth-brown);
    color: var(--pure-white);
}

.product-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 18px;
    color: var(--earth-brown);
    margin: 10px 0;
    height: 44px;
    overflow: hidden;
}

.price {
    font-size: 18px;
    color: var(--primary-green);
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.add-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.add-btn:hover {
    background-color: var(--hover-green);
}

@media screen and (max-width: 768px) {
    .product-row {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* =======================================================
   5.5 SHOP BY CATEGORY SECTION
   ======================================================= */
.shop-categories {
    padding: 50px 50px;
    background-color: var(--off-white); /* Uses your soft background color to separate it from Top Sellers */
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background-color: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: block; 
}

.category-card:hover {
    transform: translateY(-8px); /* Makes the card float up smoothly when hovered */
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-green); /* A nice touch of your brand color */
}

.category-card h3 {
    color: var(--earth-brown);
    font-size: 20px;
    padding: 20px 10px;
    font-weight: 700;
    transition: color 0.3s;
}

.category-card:hover h3 {
    color: var(--primary-green); /* Text turns green when hovered */
}

/* Make it look good on mobile devices */
@media screen and (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .shop-categories {
        padding: 30px 20px;
    }
}

/* =======================================================
   5.6 TRUST BAR SECTION
   ======================================================= */
.trust-bar {
    background-color: var(--primary-green);
    padding: 40px 20px;
    margin-top: 50px;
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* This makes it a single strip! */
    max-width: 1200px;
    margin: auto;
    text-align: center;
    gap: 20px;
}

.trust-item i {
    font-size: 35px;
    color: #A0E0DC; 
    margin-bottom: 15px;
}

.trust-item h3 {
    color: var(--pure-white);
    font-size: 18px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-item p {
    color: var(--off-white);
    font-size: 14px;
    opacity: 0.9;
}

/* Mobile Responsiveness (Makes it 2 lines on smaller screens) */
@media screen and (max-width: 768px) {
    .trust-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
}
@media screen and (max-width: 480px) {
    .trust-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* =======================================================
   6. FOOTER STYLING
   ======================================================= */
.site-footer {
    background-color: var(--earth-brown);
    color: var(--pure-white);
    padding-top: 50px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px 40px 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin: 10px 20px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #A0E0DC; 
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #A0E0DC;
    padding-left: 5px;
}

.social-icons a {
    color: white;
    font-size: 18px;
    margin-right: 15px;
    transition: 0.3s;
    background-color: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 50%;
}

.social-icons a:hover {
    background-color: var(--primary-green);
}

.footer-bottom {
    background-color: #3e2b25;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #aaa;
    border-top: 1px solid rgba(255,255,255,0.1);
}


/* =======================================================
   8. STORE DROPDOWN MENU (MEGA MENU)
   ======================================================= */
/* The Container for the Store Link */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* The Box that appears when you hover */
.nav-dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    left: 0;
    top: 100%; /* Appears directly below the link */
    background-color: var(--pure-white);
    min-width: 450px; /* Wide enough for 2 columns */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-top: 4px solid var(--earth-brown);
    padding: 20px;
    border-radius: 0 0 5px 5px;
    cursor: default;
}

/* Show the menu when hovering over the container */
.nav-dropdown:hover .nav-dropdown-content {
    display: flex; /* Makes the columns sit side-by-side */
    gap: 30px;     /* Space between columns */
}

/* Style for the Columns (Pharmaceutical / Personal Care) */
.nav-column {
    flex: 1; /* Makes columns equal width */
}

.nav-column h3 {
    color: var(--primary-green);
    font-size: 16px;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Style for the links inside the menu */
.nav-column a {
    color: var(--earth-brown) !important; /* Force dark color */
    padding: 8px 0;
    text-decoration: none;
    display: block;
    font-size: 14px;
    margin: 0;
    font-weight: 400; /* Regular weight, not bold */
    text-transform: none; /* Normal capitalization */
    border: none;
}

.nav-column a:hover {
    color: var(--primary-green) !important;
    padding-left: 5px; /* Slide effect */
    background: transparent;
    border: none;
}

/* =======================================================
   6. ABOUT US PAGE
   ======================================================= */
/* Hero Banner */
.about-hero {
    background: linear-gradient(rgba(18, 122, 117, 0.8), rgba(18, 122, 117, 0.8)), url('images/about-hero.jpg') center/cover;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-hero p {
    font-size: 20px;
    font-weight: 300;
}

/* Our Story Section */
.about-story {
    padding: 80px 50px;
    background-color: var(--pure-white);
}

.story-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 60px;
}

.story-text {
    flex: 1;
}

.story-text .subtitle {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.story-text h2 {
    color: var(--earth-brown);
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.story-text p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Values Grid */
.about-values {
    padding: 80px 50px;
    background-color: var(--off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    text-align: center;
}

.value-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-green);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--earth-brown);
    font-size: 22px;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Mobile Responsiveness for About Page */
@media screen and (max-width: 992px) {
    .story-container {
        flex-direction: column;
    }
    .values-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .about-story, .about-values {
        padding: 50px 20px;
    }
    .about-hero h1 {
        font-size: 36px;
    }
}


