:root {
    --primary-light: #FFDEAD;
    --primary-medium: #DAA520;
    --primary-dark: #D2691E;
    --primary-darker: #8B6914;
    --accent: #A0522D;
    --accent-dark: #654321;
    --text-dark: #3E2723;
    --bg-cream: #FFF8DC;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.top-bar {
    background-color: var(--white);
    padding: 8px 0;
    text-align: right;
    border-bottom: 1px solid #E0E0E0;
    font-size: 14px;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 5px 15px;
    transition: color 0.3s;
}

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

header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    transition: color 0.3s;
}

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

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

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

.dropdown-content a:hover {
    background-color: var(--bg-cream);
}

.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-medium) 100%);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    font-style: italic;
}

.hero-btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.section-header {
    text-align: center;
    padding: 60px 20px 40px;
}

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

.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background-color: var(--bg-cream);
    padding: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
}

.product-title:hover {
    color: var(--accent);
}

.product-price {
    font-size: 20px;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-darker);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: var(--accent-dark);
}

footer {
    background-color: var(--text-dark);
    color: var(--bg-cream);
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
}

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid #E0E0E0;
    }

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

    .hero p {
        font-size: 18px;
    }

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

/* Subtle Interactive Elements */
@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(30px, -40px) rotate(72deg); }
    40% { transform: translate(-25px, -60px) rotate(144deg); }
    60% { transform: translate(-40px, -30px) rotate(216deg); }
    80% { transform: translate(20px, -50px) rotate(288deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-35px, 45px) scale(1.1); }
    50% { transform: translate(40px, 30px) scale(0.9); }
    75% { transform: translate(-20px, -35px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(45px, 35px) rotate(120deg); }
    66% { transform: translate(-30px, 50px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(35px, -45px) scale(1.15); }
    60% { transform: translate(-40px, 25px) scale(0.85); }
    100% { transform: translate(0, 0) scale(1); }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    filter: blur(2px);
    will-change: transform;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

.shape-1 {
    width: 140px;
    height: 140px;
    top: 15%;
    right: 10%;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation: float2 18s ease-in-out infinite;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 8%;
    animation: float3 20s ease-in-out infinite;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 12%;
    animation: float4 16s ease-in-out infinite;
}

.shape-5 {
    width: 90px;
    height: 90px;
    bottom: 35%;
    right: 20%;
    animation: float 22s ease-in-out infinite 3s;
}

.shape-6 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 15%;
    animation: float2 19s ease-in-out infinite 2s;
}

.shapes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-medium) 100%);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
}

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

nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

/* Cart icon styles */
.cart-link {
    position: relative;
    font-size: 20px;
}

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