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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

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

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
}

.top-bar-links,
.top-bar-right {
    display: flex;
    gap: 24px;
}

.top-link {
    color: #666;
    font-weight: 400;
}

.top-link:hover {
    color: #000;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.hamburger {
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
}

.nav-icon {
    padding: 8px;
    position: relative;
}

.nav-icon:hover {
    background: #f5f5f5;
    border-radius: 50%;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 16px;
    text-align: center;
}

/* Main Menu */
.main-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.menu-links {
    list-style: none;
}

.menu-links li {
    margin-bottom: 8px;
}

.menu-links a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.menu-links a:hover {
    color: #000;
}

/* Search Bar */
.search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-bar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-content {
    display: flex;
    align-items: center;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 0;
    background: transparent;
}

.search-submit {
    padding: 8px;
}

.search-submit:hover {
    background: #f5f5f5;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    margin-top: 120px;
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-text {
    text-align: center;
    color: #fff;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-button {
    background: #fff;
    color: #000;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #000;
    color: #fff;
}

/* Categories Section */
.categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.category-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

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

.category-content {
    text-align: center;
    color: #fff;
}

.category-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.category-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.category-button {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.category-button:hover {
    background: #fff;
    color: #000;
}

/* Featured Products */
.featured {
    padding: 80px 0;
    background: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.product-quick-view {
    background: #fff;
    color: #000;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.product-quick-view:hover {
    background: #000;
    color: #fff;
}

.product-info {
    padding: 24px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: #000;
    color: #fff;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.newsletter-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #333;
}

.newsletter-input {
    flex: 1;
    padding: 16px;
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-button {
    background: #fff;
    color: #000;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #f0f0f0;
}

/* Footer */
.footer {
    background: #f9f9f9;
    padding: 80px 0 20px;
}

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

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

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

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

.footer-links a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #000;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.social-link {
    padding: 8px;
    background: #fff;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #000;
    color: #fff;
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.footer-bottom-right {
    display: flex;
    gap: 24px;
}

.footer-bottom-link {
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero {
        margin-top: 80px;
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 400px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .product-image {
        height: 300px;
    }

    .section-title {
        font-size: 28px;
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }

    .newsletter-input {
        border-bottom: 1px solid #333;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .menu-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .newsletter-title {
        font-size: 24px;
    }

    .categories-grid,
    .products-grid {
        gap: 16px;
    }

    .category-card {
        height: 300px;
    }

    .product-image {
        height: 250px;
    }
}