/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb span {
    color: var(--text-light);
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #ff6b35;
    --orange: #ff6b35;
    --navy-blue: #1a365d;
    --text-dark: #2d2d2d;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Top Banner */
.top-banner {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.logo .tagline {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav .fa-chevron-down {
    font-size: 10px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 220px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 15px;
    border-right: 2px solid var(--border-color);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--navy-blue);
    font-size: 22px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.phone-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.login-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
}

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

.cart-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    position: relative;
    font-size: 18px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-btn:hover {
    background: #e55a2a;
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--text-dark);
    color: var(--white);
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    font-size: 24px;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 68px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    color: var(--white);
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: #e55a2a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero .btn-primary {
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
}

.btn-secondary {
    background: var(--navy-blue);
    color: var(--white);
}

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

/* Products Section */
.products-section {
    padding: 60px 0;
}

.products-section.top-sellers {
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    font-weight: 700;
}

.view-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    border-bottom: 2px solid transparent;
}

.view-more:hover {
    border-bottom-color: var(--primary-color);
}

/* Products Carousel */
.products-carousel {
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

/* Responsive product grid - show 24 products */
@media (min-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .products-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 479px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
    color: var(--text-dark);
    font-size: 18px;
}

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

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: var(--white);
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
}

.quick-view:hover {
    background: var(--primary-color);
    color: var(--white);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

.product-info {
    padding: 12px;
}

.product-info h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
    min-height: 36px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.btn-add-cart {
    width: 100%;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
    transform: translateY(-2px);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Responsive category grid - show 12 categories */
@media (min-width: 1600px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.category-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-info {
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 60px 25px 25px;
    color: var(--white);
    text-align: center;
}

.category-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.btn-shop {
    display: inline-block;
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
}

.btn-shop:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Spotlight Section */
.spotlight-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.spotlight-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 700;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.spotlight-card {
    display: flex;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.spotlight-image {
    width: 45%;
    background: var(--bg-light);
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-info {
    width: 55%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.spotlight-info .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.05);
}

.whatsapp-float i {
    font-size: 24px;
}

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

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ccc;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 10px;
}

.footer-tagline {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    max-width: 250px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

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

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

.footer-bottom p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-btn.prev {
        left: 0;
    }
    
    .carousel-btn.next {
        right: 0;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav > ul > li {
        border-bottom: 1px solid var(--border-color);
        padding: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 0 20px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .phone-btn span {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .spotlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .social-links {
        gap: 8px;
        padding-right: 10px;
        border-right: none;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .phone-btn span {
        display: none;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .phone-btn {
        padding: 10px;
    }
    
    .login-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .hero {
        min-height: 450px;
        padding: 80px 20px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero .btn-primary {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-card {
        height: 280px;
    }
    
    .spotlight-card {
        flex-direction: column;
    }
    
    .spotlight-image,
    .spotlight-info {
        width: 100%;
    }
    
    .spotlight-image {
        height: 250px;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

