
:root {
    --primary-color: #1a237e;
    --secondary-color: #3949ab;
    --accent-color: #ff5722;
    --light-color: #f5f5f5;
    --dark-color: #212121;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Header Styles */
.top-bar {
    background-color: var(--dark-color);
    color: white;
    font-size: 0.9rem;
    padding: 5px 0;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    padding-right: 40px;
    border-radius: 20px;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--dark-color);
}

.cart-icon, .user-icon {
    position: relative;
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-left: 15px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 8px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
    margin-left: 0;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.dropdown-submenu::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hero Section */
.hero-section .carousel-caption {
    /* background: rgba(0,0,0,0.4); */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.hero-section .hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

.hero-section .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #eee;
}

@media (max-width: 768px) {
    .hero-section .hero-title {
        font-size: 2rem;
    }
    .hero-section .hero-subtitle {
        font-size: 1rem;
    }
}


.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
}

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

.btn-outline-light {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    margin-left: 15px;
}

/* Categories Section */
.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--dark-color);
}

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

.category-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-img {
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
}

.category-title {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Featured Products */
.product-card {
    border: none;
    border-radius: 0;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-img {
    height: 250px;
    object-fit: cover;
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.product-body {
    padding: 15px;
}

.product-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-left: 5px;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* About Content */
.about-section {
    padding: 60px 0;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--dark-color);
}

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

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Mission Section */
.mission-section {
    background-color: var(--light-color);
    padding: 80px 0;
    margin: 60px 0;
}

.mission-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1523381294911-8d3cead13475?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ddd;
}

/* Contact Content */
.contact-section {
    padding: 60px 0;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--dark-color);
}

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

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-text {
    color: #666;
}

.contact-text a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

textarea.form-control {
    height: auto;
    min-height: 150px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Map Section */
.map-section {
    margin: 60px 0;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ddd;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px !important;
    overflow: hidden;
}

/* Banner Section */
.banner {
    background-color: var(--light-color);
    padding: 60px 0;
    margin: 50px 0;
}

.banner-content {
    max-width: 600px;
}

.banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #bbb;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 15px 0;
    }
    
    .nav-link {
        margin: 5px 0;
    }
    
    .dropdown-menu {
        margin-top: 0;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
    }
    
    .dropdown-submenu .dropdown-menu {
        position: static;
        margin-left: 15px;
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        text-align: center;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
    }
    
    .btn-outline-light {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .category-img {
        height: 200px;
    }
    
    .product-img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
}
