/* ==============================================
   RESET & VARIABLES GLOBALES
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de Colores Culinarios */
    --terracotta: #d4573b;
    --saffron: #f4b41a;
    --olive: #6b7f2a;
    --cream: #faf6f1;
    --warm-brown: #8b4513;
    --dark-brown: #3e2723;
    --light-green: #a4c639;
    --burnt-orange: #e67e22;
    
    /* Colores Funcionales */
    --primary: #d4573b;
    --secondary: #f4b41a;
    --accent: #6b7f2a;
    --bg-light: #faf6f1;
    --bg-dark: #3e2723;
    --text-primary: #2c1810;
    --text-secondary: #5d4e37;
    --text-light: #ffffff;
    
    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Espaciado */
    --container-width: 1200px;
    --section-padding: 80px 20px;
    
    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==============================================
   NAVEGACIÓN
   ============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 32px;
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.85) 0%, rgba(107, 127, 42, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
}

.hero-title .subtitle {
    display: block;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-title .main-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(212, 87, 59, 0.4);
}

.btn-primary:hover {
    background: #c24830;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 87, 59, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ==============================================
   SECCIÓN SOBRE NOSOTROS
   ============================================== */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.image-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 15px;
    z-index: -1;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ==============================================
   SECCIÓN RECETAS
   ============================================== */
.recipes-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-light) 0%, #f5ede4 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.recipes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.recipe-card.featured {
    border: 3px solid var(--secondary);
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: white;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.recipe-image {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.05);
}

.recipe-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.difficulty,
.time {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.difficulty.easy {
    color: #27ae60;
}

.difficulty.medium {
    color: #f39c12;
}

.recipe-content {
    padding: 40px;
}

.recipe-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.recipe-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.recipe-info {
    display: flex;
    gap: 30px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.info-icon {
    font-size: 20px;
}

.ingredients-section,
.instructions-section,
.tips-section,
.pairing-section {
    margin-bottom: 35px;
}

.ingredients-section h4,
.instructions-section h4,
.tips-section h4,
.pairing-section h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.ingredients-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #e0d5cc;
    font-size: 15px;
}

.ingredients-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary);
    font-size: 20px;
}

.instructions-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.instructions-list li {
    counter-increment: step-counter;
    position: relative;
    padding: 20px 0 20px 60px;
    margin-bottom: 15px;
    border-left: 3px solid var(--secondary);
    padding-left: 30px;
    margin-left: 30px;
}

.instructions-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -20px;
    top: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.instructions-list li strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 10px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
}

.nutrition-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-top: 35px;
}

.nutrition-info h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.nutrition-item {
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.nutrition-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.nutrition-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.pairing-section p {
    font-size: 17px;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 20px;
    border-left: 4px solid var(--secondary);
}

/* ==============================================
   SECCIÓN CTA
   ============================================== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary) 0%, var(--burnt-orange) 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.7;
}

.cta-note {
    margin-top: 25px;
    font-size: 14px;
    