/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables CSS para colores */
:root {
    --blue-primary: #1565C0;
    --blue-secondary: #0D47A1;
    --orange-accent: #FF8F00;
    --orange-light: #FFB74D;
    --gray-bg: #F5F7FA;
    --dark-gray: #37474F;
    --white: #ffffff;
    --light-blue: #E3F2FD;
    --shadow: rgba(21, 101, 192, 0.1);
    --error-color: #E53E3E;
    --success-color: #38A169;
}

/* Tipografía base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--gray-bg);
}

/* Contenedores */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
}

/* Alertas y mensajes de error */
.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-error {
    background: rgba(229, 62, 62, 0.1);
    color: var(--error-color);
    border: 2px solid rgba(229, 62, 62, 0.3);
}

.alert-success {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success-color);
    border: 2px solid rgba(56, 161, 105, 0.3);
}

.alert h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.alert ul {
    margin-left: 20px;
}

.alert li {
    margin: 5px 0;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: white;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 4px 20px var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--orange-accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue), var(--gray-bg));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/z9MkXj.jpg') center/cover;
    opacity: 0.05;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones CTA */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow);
    background: linear-gradient(135deg, var(--blue-secondary), var(--blue-primary));
}

/* Secciones generales */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--blue-primary);
    margin-bottom: 50px;
    font-weight: 600;
}

/* Sobre nosotros */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Recetas */
.recipes {
    background: var(--gray-bg);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-10px);
}

.recipe-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.recipe-content {
    padding: 30px;
}

.recipe-title {
    font-size: 1.5rem;
    color: var(--blue-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.recipe-description {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Servicios y Precios */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, var(--orange-accent), var(--orange-light));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-price {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--light-blue);
    font-weight: bold;
}

/* Ventajas */
.advantages {
    background: var(--gray-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--blue-primary);
    margin-bottom: 20px;
}

.advantage-title {
    font-size: 1.3rem;
    color: var(--blue-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Testimonios */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    border-left: 5px solid var(--blue-primary);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--blue-primary);
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Formulario de pedido */
.order-form {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: white;
}

.order-form .section-title {
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    color: var(--dark-gray);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--orange-accent);
    text-decoration: underline;
}

/* Política de seguridad */
.security-policy {
    background: var(--gray-bg);
    padding: 40px 0;
}

.policy-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.policy-title {
    color: var(--blue-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--blue-primary);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px var(--shadow);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-button {
    background: var(--orange-accent);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--orange-accent);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--orange-accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-container {
        margin: 0 15px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
} 