/* Variables de colores relacionados con alfajores */
:root {
    --color-primary: #8B4513; /* Marrón chocolate */
    --color-secondary: #DAA520; /* Dorado */
    --color-accent: #F5DEB3; /* Crema */
    --color-light: #FFF8DC; /* Crema muy clara */
    --color-dark: #654321; /* Marrón oscuro */
    --color-text: #2C1810; /* Marrón texto */
    --color-white: #FFFFFF;
    --color-gray: #F5F5F5;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y navegación */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-secondary);
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 2rem 2rem;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-accent) 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.cta-button:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alfajor-decoration {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.3);
}

.alfajor-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: inset 0 10px 20px rgba(139, 69, 19, 0.2);
}

/* Sección de productos */
.products {
    padding: 5rem 0;
    background-color: var(--color-gray);
}

.products h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
}

.product-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-primary));
    position: relative;
}

.product-image.classic {
    background: linear-gradient(45deg, #DAA520, #8B4513);
}

.product-image.chocolate {
    background: linear-gradient(45deg, #654321, #8B4513);
}

.product-image.white {
    background: linear-gradient(45deg, #F5DEB3, #DAA520);
}

.product-image.special {
    background: linear-gradient(45deg, #CD853F, #8B4513);
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-card p {
    color: var(--color-text);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

/* Sección de pedidos */
.orders {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.orders h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.orders p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.form-container iframe {
    border-radius: 10px;
    background-color: var(--color-white);
}

/* Sección de contacto */
.contact {
    padding: 5rem 0;
    background-color: var(--color-gray);
}

.contact h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--color-text);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .alfajor-decoration {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }
    
    .alfajor-decoration::before {
        width: 130px;
        height: 130px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .products h2,
    .orders h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
} 