/* Global Styles */
:root {
    --primary-color: rgb(26, 31, 8);
    --secondary-color: rgb(26, 31, 8);
    --accent-color: #4fc3f7;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

/* Header Styles */
header {
    background-color: rgb(247, 250, 247);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    overflow-x: hidden;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.logo {
    height: 80px;
    width: auto;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container h1 {
    font-size: 1.8rem;
    margin: 0;
    text-align: center;
    color: var(--primary-color);
}

.logo-container h2 {
    display: block;
}

.logo-container p {
    font-size: 1rem;
    text-align: center;
    color: var(--primary-color);
    margin: 5px 0 0 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}



nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Banner Slideshow */
.banner-slideshow {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

@media (min-width: 768px) {
    .banner-slideshow {
        height: 700px;
    }
    
    .banner-slideshow img {
        object-fit: cover;
    }
}
.banner-slideshow img.active {
    opacity: 1;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Category Cards */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.category-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.category-card h3 {
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
}

/* Product Cards */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 120%;
    height: 580px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-card p {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.add-to-cart:hover {
    background: var(--secondary-color);
}

/* About Page */
.about-page {
    padding: 2rem 5%;
}

.about-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team {
    margin-bottom: 3rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1.5rem;
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

/* Cart Page */
.cart-page {
    padding: 2rem 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.cart-items {
    flex: 2;
    min-width: 300px;
    width: 100%;
}

.cart-item {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    align-items: center;
    gap: 1rem;
}

.cart-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 4px;
}

.cart-item-details {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .cart-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .cart-item img {
        width: 380px;
        height: 380px;
    }

    .cart-item-details {
        text-align: left;
    }
}
.cart-summary {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.cart-item {
    display: flex;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    align-items: center;
    gap: 1rem;
}

.cart-item img {
    width: 380px;
    height: 780px;
    object-fit: contain;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
}

.cart-item-remove {
    color: var(--danger-color);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.2rem;
}

.summary-details {
    margin: 1.5rem 0;
}

.summary-details p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.total {
    font-size: 1.2rem;
    font-weight: bold;
    border-top: 1px solid #eee;
    padding-top: 0.8rem;
    margin-top: 0.8rem;
}

#checkout-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
}

.empty-cart-message {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Search Bar */
.search-container {
    display: flex;
    margin: 1.5rem 0;
}

#search-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

#search-btn {
    padding: 0 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 5% 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: var(--accent-color);
}

.footer-section a {
    display: block;
    color: #ddd;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(200%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .logo {
        height: 30px;
    }

    nav ul {
        margin-top: 0;
        gap: 0.8rem;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .logo-container h1 {
        font-size: 1.5rem;
        font-weight: 900;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 1rem;
    }

    .category-cards, .products {
        grid-template-columns: 1fr;
    }

    .cart-page {
        padding: 1rem;
    }

    .logo {
        height: 60px;
        width: auto;
    }

    .logo-container {
        justify-content: flex-start; /* 👈 aligns logo to the left */
        flex: initial; /* 👈 prevents stretching */
    }
    
    .logo-container h2 {
        display: block;
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        margin: 0;
        color: var(--secondary-color);
    }

    .text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        gap: 4px;
    }


}

.about-section {
    padding: 2rem;
    background: #f8f9fa;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.about-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.md-profile {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.profile-image {
    position: relative;
}

.md-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-content {
    padding: 1rem;
}

.profile-content h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.profile-content h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.profile-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.business-achievements {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.business-achievements h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.business-achievements ul {
    list-style: none;
    padding: 0;
}

.business-achievements li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.business-achievements li:before {
    content: '✓';
    color: #007bff;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Product About Button */
.about-product {
    background-color: rgb(26, 31, 8);
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: background-color 0.3s;
}

.about-product:hover {
    background-color: #45a049;
}

/* Specifications Modal */
.specs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.specs-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-specs {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-specs:hover {
    color: #000;
}
/* Product Detail Page */
.product-detail {
    padding: 80px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-images {
    display: flex;
    flex-direction: column;
}

.main-image {
    height: 400px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}
.thumbnail {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid #007bff;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary-color);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-specs ul {
    list-style-position: inside;
    margin-bottom: 20px;
}

.product-specs li {
    margin-bottom: 8px;
}

.contact-info {
    margin-top: 20px;
    color: var(--gray-color);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.product-description {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-description h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.product-description p {
    margin-bottom: 15px;
}

.product-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        padding: 80px 20px 20px;
        transition: 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-menu ul li {
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    .product-detail {
        padding: 40px 15px;
    }

    .product-detail-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .product-images {
        width: 100%;
        order: 1;
    }

    .product-info {
        width: 100%;
        order: 2;
        padding: 20px 15px 0 15px;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail-images {
        justify-content: center;
        margin-top: 10px;
    }
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fastsellers h2 {
    text-align: center;
    width: 100%;
    margin: 2rem 0 1rem 0;
}

.categories h2 {
    text-align: center;
    width: 100%;
    margin: 2rem 0 1rem 0;
}

