/* Luddite-Aesthetic CSS - Anti-tech manifesto con elementos manuscritos */
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de color - Estética analógica */
:root {
    --recipe-primary: #8B4513; /* Marrón tierra */
    --recipe-secondary: #2F4F4F; /* Gris pizarra oscuro */
    --recipe-accent: #CD853F; /* Beige tostado */
    --recipe-text: #2C1810; /* Marrón oscuro */
    --recipe-bg: #F5F5DC; /* Beige claro */
    --recipe-paper: #FFFEF7; /* Papel vintage */
    --recipe-ink: #1C1C1C; /* Tinta negra */
    --recipe-warm: #DEB887; /* Beige cálido */
    --recipe-shadow: rgba(139, 69, 19, 0.3);
    
    /* Temperaturas culinarias */
    --temp-cold: #A0A0A0;
    --temp-warm: #B8860B;
    --temp-hot: #D2691E;
    --temp-blazing: #FF6347;
    --temp-molten: #DC143C;
}

/* Tipografías */
body {
    font-family: 'Special Elite', monospace;
    line-height: 1.6;
    color: var(--recipe-text);
    background-color: var(--recipe-bg);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(205, 133, 63, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(222, 184, 135, 0.05) 50%, transparent 60%);
    background-attachment: fixed;
    font-size: 16px;
    overflow-x: hidden;
}

/* Contenedores */
.ingredient-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botones estilo manuscrito */
.recipe-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--recipe-primary);
    color: var(--recipe-paper);
    text-decoration: none;
    border: 2px solid var(--recipe-secondary);
    border-radius: 0;
    font-family: 'Satisfy', cursive;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(-0.5deg);
    box-shadow: 3px 3px 0 var(--recipe-secondary);
}

.recipe-btn:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 5px 5px 0 var(--recipe-secondary);
    background: var(--recipe-secondary);
}

/* Modificadores de temperatura */
.recipe-btn.°°°°blazing {
    background: var(--temp-blazing);
    box-shadow: 3px 3px 0 var(--recipe-secondary);
}

.recipe-btn.°°°°°molten {
    background: var(--temp-molten);
    box-shadow: 3px 3px 0 var(--recipe-secondary);
    animation: paperFlutter 3s ease-in-out infinite;
}

@keyframes paperFlutter {
    0%, 100% { transform: rotate(-0.5deg); }
    25% { transform: rotate(0.5deg); }
    75% { transform: rotate(-0.3deg); }
}

/* Navegación */
.recipe-nav {
    background: var(--recipe-paper);
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--recipe-shadow);
    border-bottom: 3px solid var(--recipe-primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.recipe-nav .ingredient-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flavor-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blend-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--recipe-primary);
}

.texture-title {
    font-family: 'Satisfy', cursive;
    font-size: 24px;
    color: var(--recipe-primary);
    transform: rotate(-1deg);
}

.flavor-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.blend-link {
    color: var(--recipe-text);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.blend-link:hover {
    color: var(--recipe-primary);
    transform: scale(1.1);
}

.blend-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--recipe-primary);
    transition: width 0.3s ease;
}

.blend-link:hover::after {
    width: 100%;
}

/* Menú móvil */
.recipe-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.ingredient-line {
    width: 25px;
    height: 3px;
    background: var(--recipe-primary);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Hero Section */
.recipe-hero {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--recipe-paper) 0%, var(--recipe-warm) 100%);
    position: relative;
    overflow: hidden;
}

.recipe-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(139,69,19,0.1)"/></svg>') repeat;
    animation: paperDrift 20s linear infinite;
    z-index: 1;
}

@keyframes paperDrift {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(0) translateY(0); }
}

.recipe-hero .ingredient-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.flavor-content h1 {
    font-family: 'Satisfy', cursive;
    font-size: 48px;
    color: var(--recipe-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    transform: rotate(-1deg);
}

.blend-subtitle {
    font-size: 20px;
    color: var(--recipe-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

.blend-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 10px 10px 0 var(--recipe-shadow);
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.blend-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Services Section */
.recipe-services {
    padding: 80px 0;
    background: var(--recipe-paper);
    position: relative;
}

.texture-heading {
    font-family: 'Satisfy', cursive;
    font-size: 42px;
    color: var(--recipe-primary);
    text-align: center;
    margin-bottom: 50px;
    transform: rotate(-0.5deg);
}

.flavor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.blend-card {
    background: var(--recipe-warm);
    padding: 30px;
    border: 3px solid var(--recipe-primary);
    box-shadow: 8px 8px 0 var(--recipe-shadow);
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
    position: relative;
}

.blend-card:nth-child(even) {
    transform: rotate(-0.5deg);
}

.blend-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 12px 12px 0 var(--recipe-shadow);
}

.texture-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid var(--recipe-primary);
}

.recipe-title {
    font-family: 'Satisfy', cursive;
    font-size: 24px;
    color: var(--recipe-secondary);
    margin-bottom: 15px;
}

.ingredient-text {
    line-height: 1.7;
    color: var(--recipe-text);
    font-size: 15px;
}

/* Advantages Section */
.recipe-advantages {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--recipe-bg) 0%, var(--recipe-warm) 100%);
}

.flavor-content-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.recipe-advantage {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--recipe-paper);
    border-left: 5px solid var(--recipe-primary);
    box-shadow: 5px 5px 0 var(--recipe-shadow);
    transform: rotate(-0.3deg);
}

.recipe-advantage:nth-child(even) {
    transform: rotate(0.3deg);
}

.texture-small-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--recipe-primary);
    flex-shrink: 0;
}

.flavor-subtitle {
    font-family: 'Satisfy', cursive;
    font-size: 22px;
    color: var(--recipe-primary);
    margin-bottom: 10px;
}

.blend-description {
    line-height: 1.6;
    color: var(--recipe-text);
}

.texture-large-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 4px solid var(--recipe-primary);
    box-shadow: 10px 10px 0 var(--recipe-shadow);
    transform: rotate(2deg);
}

/* Process Section */
.recipe-process {
    padding: 80px 0;
    background: var(--recipe-paper);
}

.flavor-timeline {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.blend-step {
    display: grid;
    grid-template-columns: 80px 80px 1fr;
    gap: 30px;
    align-items: start;
    padding: 30px;
    background: var(--recipe-warm);
    border: 3px solid var(--recipe-primary);
    box-shadow: 6px 6px 0 var(--recipe-shadow);
    transform: rotate(0.3deg);
    position: relative;
}

.blend-step:nth-child(even) {
    transform: rotate(-0.3deg);
    margin-left: 50px;
}

.texture-step-number {
    width: 60px;
    height: 60px;
    background: var(--recipe-primary);
    color: var(--recipe-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Satisfy', cursive;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid var(--recipe-secondary);
}

.texture-step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--recipe-primary);
}

.recipe-step-title {
    font-family: 'Satisfy', cursive;
    font-size: 20px;
    color: var(--recipe-primary);
    margin-bottom: 15px;
}

.ingredient-step-text {
    line-height: 1.7;
    color: var(--recipe-text);
}

/* Contact Section */
.recipe-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--recipe-bg) 0%, var(--recipe-paper) 100%);
}

.flavor-contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.ingredient-contact-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--recipe-text);
}

.recipe-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.flavor-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--recipe-warm);
    border-left: 4px solid var(--recipe-primary);
    transform: rotate(-0.5deg);
}

.flavor-contact-item i {
    color: var(--recipe-primary);
    font-size: 20px;
    width: 25px;
}

.texture-form {
    background: var(--recipe-paper);
    padding: 40px;
    border: 3px solid var(--recipe-primary);
    box-shadow: 10px 10px 0 var(--recipe-shadow);
    transform: rotate(1deg);
}

.recipe-form-group {
    margin-bottom: 25px;
}

.flavor-label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Satisfy', cursive;
    font-size: 16px;
    color: var(--recipe-primary);
}

.ingredient-input, .ingredient-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--recipe-primary);
    background: var(--recipe-bg);
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    color: var(--recipe-text);
    border-radius: 0;
    transition: all 0.3s ease;
}

.ingredient-input:focus, .ingredient-textarea:focus {
    outline: none;
    border-color: var(--recipe-secondary);
    background: var(--recipe-paper);
    box-shadow: 0 0 10px var(--recipe-shadow);
}

/* Footer */
.recipe-footer {
    background: var(--recipe-secondary);
    color: var(--recipe-paper);
    padding: 60px 0 20px;
    position: relative;
}

.flavor-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.texture-footer-title {
    font-family: 'Satisfy', cursive;
    font-size: 28px;
    color: var(--recipe-accent);
    margin-bottom: 15px;
    transform: rotate(-1deg);
}

.recipe-footer-subtitle {
    font-family: 'Satisfy', cursive;
    font-size: 20px;
    color: var(--recipe-accent);
    margin-bottom: 15px;
}

.ingredient-footer-text {
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.flavor-footer-links {
    list-style: none;
}

.flavor-footer-links li {
    margin-bottom: 8px;
}

.ingredient-footer-link {
    color: var(--recipe-paper);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.ingredient-footer-link:hover {
    color: var(--recipe-accent);
    opacity: 1;
    transform: translateX(5px);
}

.texture-footer-bottom {
    border-top: 2px solid var(--recipe-accent);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* Cookie Notice */
.ingredient-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--recipe-primary);
    color: var(--recipe-paper);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    border-top: 4px solid var(--recipe-accent);
}

.ingredient-notice.show {
    transform: translateY(0);
}

.flavor-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flavor-container i {
    font-size: 24px;
    color: var(--recipe-accent);
}

.flavor-container p {
    flex: 1;
    min-width: 300px;
    line-height: 1.5;
}

.recipe-actions {
    display: flex;
    gap: 15px;
}

.blend-btn, .texture-btn {
    padding: 8px 16px;
    border: 2px solid var(--recipe-accent);
    background: var(--recipe-accent);
    color: var(--recipe-primary);
    cursor: pointer;
    font-family: 'Special Elite', monospace;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 0;
}

.texture-btn {
    background: transparent;
    color: var(--recipe-accent);
}

.blend-btn:hover {
    background: var(--recipe-paper);
    transform: scale(1.05);
}

.texture-btn:hover {
    background: var(--recipe-accent);
    color: var(--recipe-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipe-toggle {
        display: flex;
    }
    
    .flavor-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--recipe-paper);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: 0 5px 15px var(--recipe-shadow);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .flavor-menu.active {
        transform: translateY(0);
    }
    
    .recipe-toggle.active .ingredient-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .recipe-toggle.active .ingredient-line:nth-child(2) {
        opacity: 0;
    }
    
    .recipe-toggle.active .ingredient-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .recipe-hero .ingredient-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .flavor-content h1 {
        font-size: 36px;
    }
    
    .flavor-grid {
        grid-template-columns: 1fr;
    }
    
    .flavor-content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blend-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .texture-step-icon {
        display: none;
    }
    
    .flavor-contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .texture-form {
        transform: rotate(0deg);
    }
    
    .flavor-container {
        flex-direction: column;
        text-align: center;
    }
    
    .recipe-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ingredient-container {
        padding: 0 15px;
    }
    
    .recipe-hero {
        padding: 40px 0;
    }
    
    .flavor-content h1 {
        font-size: 28px;
    }
    
    .blend-subtitle {
        font-size: 16px;
    }
    
    .texture-heading {
        font-size: 32px;
    }
    
    .recipe-services, .recipe-advantages, .recipe-process, .recipe-contact {
        padding: 40px 0;
    }
    
    .blend-card, .recipe-advantage, .blend-step {
        transform: rotate(0deg);
        margin-left: 0;
    }
    
    .texture-form {
        padding: 20px;
    }
}

/* Animaciones adicionales estilo manuscrito */
@keyframes handDrawing {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

.recipe-hero::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,80 Q50,20 80,80" stroke="rgba(139,69,19,0.3)" stroke-width="3" fill="none" stroke-dasharray="10,5"/></svg>') no-repeat center;
    background-size: contain;
    animation: handDrawing 3s ease-in-out infinite alternate;
}

/* Efectos de hover adicionales */
.texture-icon:hover, .texture-small-icon:hover, .texture-step-icon:hover {
    animation: paperFlutter 1s ease-in-out;
}

.blend-card::before, .recipe-advantage::before, .blend-step::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(139, 69, 19, 0.1), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blend-card:hover::before, .recipe-advantage:hover::before, .blend-step:hover::before {
    opacity: 1;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Efecto de carga de página */
body {
    animation: pageLoad 1s ease-out;
}

@keyframes pageLoad {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
} 