* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    background-color: #1a1a1a;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(12deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fbbf24;
}

.hero, .about-hero {
    height: 80vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1452780212940-6f5c0d14d848?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 4rem;
}

.about-hero {
    height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1472417583565-62e7c7a5eb60?auto=format&fit=crop&q=80');
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fbbf24;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f59e0b;
    transform: scale(1.05);
}

.featured {
    padding: 4rem 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

.product-grid {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem;
    justify-content: center;
}

.product-card {
    flex: 1 1 300px;
    max-width: 400px;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.product-info h3 {
    font-size: 1.25rem;
}

.price {
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.add-to-cart {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background-color: #fbbf24;
    color: #1a1a1a;
    transform: rotate(3deg);
}

.shop-section {
    margin-top: 6rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-section h1 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: white;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.stat-card {
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-card:hover {
    transform: scale(1.1);
}

.stat-card h3 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #fbbf24;
}

.story {
    padding: 4rem 2rem;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
}

.story-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .product-card {
        flex: 1 1 250px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        justify-content: space-between;
    }

    .product-grid {
        gap: 1rem;
    }

    .stat-card {
        flex: 1 1 100%;
    }
}
