:root {
    --primary: #f8b858;
    --secondary: #8b4513;
    --background: #fffaf0;
    --text: #2c1810;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

.loader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.bread-loader {
    width: 100px;
    height: 60px;
    background: var(--primary);
    border-radius: 30px;
    animation: bake 2s infinite;
}

.header {
    position: fixed;
    width: 100%;
    z-index: 100;
    background: rgba(255, 250, 240, 0.9);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    animation: logoWave 3s ease-in-out infinite;
}

.menu-item {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text);
    position: relative;
    transition: color 0.3s;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.menu-item:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(248, 184, 88, 0.2), transparent);
    animation: pulse 4s infinite;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.title {
    font-size: 5rem;
    color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideIn 1s ease-out;
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.bread {
    position: absolute;
    width: 60px;
    height: 40px;
    background: var(--primary);
    border-radius: 20px;
    opacity: 0.3;
}

.products {
    padding: 5rem 10%;
    background: linear-gradient(to bottom, var(--background), #fff);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.product-image {
    width: 100%;
    height: 200px;
    background: var(--primary);
    border-radius: 1px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about {
    position: relative;
    padding: 5rem 10%;
    overflow: hidden;
}

.contact {
    padding: 5rem 10%;
    background: var(--secondary);
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

footer {
    padding: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        padding: 1rem;
    }

    .menu {
        margin-top: 1rem;
    }

    .menu-item {
        margin: 0 1rem;
        font-size: 0.9rem;
    }

    .title {
        font-size: 3rem;
    }
}

@keyframes bake {
    0%, 100% { transform: scale(1); background: var(--primary); }
    50% { transform: scale(1.2); background: #cd853f; }
}

@keyframes logoWave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(10deg); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
