/* Estilos generales y variables */
:root {
    --primary-color: #e67e22; /* Naranja para un toque de cocina */
    --secondary-color: #2c3e50; /* Azul oscuro para el texto principal */
    --light-color: #f4f4f4;
    --font-stack: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    margin: 0;
    color: var(--secondary-color);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Encabezado */
.header {
    background: var(--light-color);
    color: var(--secondary-color);
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav li {
    margin-left: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* Sección principal (Hero) */
.hero-section {
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 10rem 0;
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #d35400;
}

/* Sección de Recetas */
.recipes-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--light-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-card h3 {
    margin: 15px;
}

.recipe-card a {
    text-decoration: none;
    color: var(--secondary-color);
}

.recipe-card p {
    padding: 0 15px 15px;
    margin: 0;
}

/* Pop-up de Cookies */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 62, 80, 0.95);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none; /* Por defecto estará oculto */
    z-index: 1000;
    max-width: 400px;
    text-align: center;
}

.cookie-popup p {
    margin: 0 0 15px;
    font-size: 0.9rem;
}

.cookie-popup a {
    color: #fff;
    text-decoration: underline;
}

.cookie-popup #accept-cookies {
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

/* Pie de página */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.footer-nav li {
    margin-left: 20px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

/* Пример стилей для новых секций и формы */
.recipe-full-section {
    padding: 4rem 0;
}

.recipe-full-section.light-bg {
    background: #f9f9f9;
}

.recipe-full-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.recipe-full-section h3 {
    color: var(--primary-color);
}

.recipe-full-section ul,
.recipe-full-section ol {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: left;
}

/* Новые, более красивые стили для секции контактов */
.contact-section {
    padding: 6rem 0;
    text-align: center;
    /* Градиентный фон */
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    color: #fff; /* Белый текст для контраста */
}

.contact-section .section-title {
    color: #fff; /* Заголовок тоже белый */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Тень для читабельности */
}

#contact-form-container {
    background-color: rgba(255, 255, 255, 0.9); /* Полупрозрачный белый фон для формы */
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(5px); /* Эффект размытия для фона */
}

#contact-form-container p {
    color: var(--secondary-color); /* Цвет текста внутри формы */
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

#contact-form .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.3);
}

#contact-form .cta-button {
    width: 100%;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#contact-form .cta-button:hover {
    background: #d35400; /* Более темный оттенок при наведении */
    transform: translateY(-2px);
}

/* Стили для сообщения благодарности */
#thank-you-message {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.thank-you-text {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.thank-you-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
}

/* Estilos para la nueva sección de beneficios */
.benefits-section {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--light-color);
}

.benefits-section .section-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.benefit-card .benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0;
}

.benefit-card p {
    color: #666;
    line-height: 1.8;
}