/* Hero Section */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== HEADER STYLES ====== */
.header {
    background-color: #232f3e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.logo i {
    color: #ff9900;
    font-size: 28px;
}

.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.search-box input::placeholder {
    color: #999;
}

.search-box button {
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    background-color: #e68900;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-container {
    position: relative;
}

.cart-icon {
    font-size: 22px;
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cart-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff9900;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ====== NAVBAR STYLES ====== */
.navbar {
    background-color: #37475a;
    padding: 0 5%;
}

.navbar ul {
    display: flex;
    flex-wrap: wrap;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.navbar a:hover {
    background-color: #485769;
}

.navbar a.active {
    background-color: #ff9900;
    color: white;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 100;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #ff9900;
}

.dropdown-content a i {
    width: 20px;
    color: #666;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    background: linear-gradient(135deg, #232f3e 0%, #37475a 100%);
    color: white;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tagline {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Categories Section */
.categories-section {
    padding: 80px 5%;
    background-color: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #ff9900;
}

.category-icon {
    font-size: 40px;
    color: #ff9900;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #232f3e;
}

.category-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-count {
    display: inline-block;
    background-color: #232f3e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Featured Products */
.featured-products {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: #ff9900;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 10px;
    color: #232f3e;
    line-height: 1.4;
}

.product-price {
    font-size: 22px;
    color: #232f3e;
    font-weight: bold;
    margin: 10px 0;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #232f3e;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: #ff9900;
}

/* Why Us Section */
.why-us {
    padding: 80px 5%;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 40px;
    color: #ff9900;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #232f3e;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}