* {
    margin: 0;
    padding: 0;
}
/* -------------------------------------- */
/* Estilos del Header */
/* -------------------------------------- */
header {
    background-color: white;
    padding: 15px 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
}

/* ========== LOGO ========== */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo {
    height: 60px;
    width: auto;
}

/* ========== NAVEGACIÓN ========== */
nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

nav a:hover {
    color: #C7698D;
}

/* ========== DROPDOWN SERVICIOS ========== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: #C7698D;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* Dropdown menu desktop */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #F5F1E8;
    color: #C7698D;
    padding-left: 30px;
}

/* Hover solo funciona en desktop */
@media screen and (min-width: 769px) {
    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========== BOTÓN CONTACTO ========== */
.btn-contacto {
    background-color: #C7698D;
    color: white !important;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #C7698D;
    display: inline-block;
}

.btn-contacto:hover {
    background-color: white;
    color: #C7698D !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 105, 141, 0.3);
}

/* ========== BOTÓN HAMBURGUESA (oculto en escritorio) ========== */
.menu-toggle {
    display: none;
}

.menu-overlay {
    display: none;
}



/* -------------------------------------- */
/* === Sección "Mis Recetas" === */
/* -------------------------------------- */
.recetas-section {
    padding: 60px 20px 80px;
    box-sizing: border-box;
    /*margin: 0;
    padding: 0;*/
}

.recetas-container {
    max-width: 1250px;
    margin: 0 auto;
}


/* HEADER */

.recetas-header {
    margin-bottom: 40px;
}

.recetas-header h1 {
    color: #C7698D;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
}

.recetas-header p {
    color: #666;
    font-size: 16px;
    max-width: 700px;
    line-height: 1.7;
}


/* LAYOUT PRINCIPAL */

.recetas-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}


/* SIDEBAR - FILTROS */

.filtros-sidebar {
    background: white;
    border: 2px dashed #C7698D;
    border-radius: 12px;
    padding: 25px 20px;
    position: sticky;
    top: 100px;
}

.filtros-sidebar h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.filtro-grupo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filtro-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px 0;
}

.filtro-item:hover {
    padding-left: 5px;
}

/* Checkbox personalizado */
.filtro-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #C7698D;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filtro-checkbox:checked + .checkbox-custom {
    background-color: #C7698D;
}

.filtro-checkbox:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.filtro-label {
    color: #333;
    font-size: 15px;
}

.filtro-count {
    color: #999;
    font-size: 14px;
}

.filtro-separador {
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}


/* GRID DE RECETAS */

.recetas-main {
    width: 100%;
}

.recetas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Card de receta */
.receta-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.receta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.receta-imagen-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Aspect ratio 4:3 */
    overflow: hidden;
    background: #f0f0f0;
}

.receta-imagen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.receta-card:hover .receta-imagen {
    transform: scale(1.05);
}

.receta-favorito {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;/* TENER EN CUENTA QUE AQUI ESTA DESABILITADO EL CORAZON */
}

.receta-favorito:hover {
    transform: scale(1.1);
    background: #C7698D;
}

.receta-favorito:hover::before {
    color: white;
}

.receta-favorito::before {
    content: '♡';
    font-size: 20px;
    color: #C7698D;
}

.receta-info {
    padding: 20px;
}

.receta-tipo {
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.receta-titulo {
    color: #C7698D;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.receta-descripcion {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}


/* PAGINACIÓN */

.paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.paginacion-btn {
    padding: 10px 20px;
    border: 2px solid #C7698D;
    background: white;
    color: #C7698D;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.paginacion-btn:hover:not(:disabled) {
    background: #C7698D;
    color: white;
    transform: translateY(-2px);
}

.paginacion-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.paginacion-btn.active {
    background: #C7698D;
    color: white;
}

.paginacion-info {
    color: #666;
    font-size: 15px;
    padding: 0 15px;
}


/* NO RESULTADOS */

.no-resultados {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* -------------------------------------- */
/* RESPONSIVE (OPCIONAL PARA DESPUÉS --> Mis Recetas) */
/* -------------------------------------- */
@media screen and (max-width: 1024px) {
    * {
        box-sizing: border-box;
    }
    .recetas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* -------------------------------------- */
/* === Sección "Formulario Contacto" === */
/* -------------------------------------- */
.contacto {
    width: 100%;
    padding: 100px 20px;
    overflow: visible; /* NUEVO: permitir que elementos salgan del section */
    box-sizing: border-box;
}

.contacto-wrapper {
    max-width: 1325px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: visible; /* NUEVO: permitir que elementos salgan del wrapper */
}

/* Bloque Azul - NO SE MODIFICA (mantener como está) */
.contacto-formulario {
    background: #496d7f;
    padding: 50px 60px;
    border-radius: 25px 0 0 25px;
    flex: 0 0 60%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.contacto-formulario h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.form-contacto {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row-full {
    display: grid;
}

.form-contacto input {
    padding: 14px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-contacto input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.form-contacto input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.btn-cta {
    align-self: flex-start;
    padding: 12px 32px;
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-cta:hover {
    background: white;
    color: #496d7f;
    transform: translateX(5px);
}

.btn-cta .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-cta:hover .arrow {
    transform: translateX(3px);
}

/* NUEVO: Bloque Rosado a la derecha */
.contacto-info-rosado {
    position: relative;
    flex: 1;
    margin-left: -50px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: visible; /* CAMBIO: permitir que la imagen salga */
}

/* Textura de fondo rosada */
.textura-rosada {
    position: absolute;
    width: 110%; /* CAMBIO: más grande para que salgan los bordes */
    height: 110%; /* CAMBIO: más grande para que salgan los bordes */
    object-fit: contain; /* CAMBIO: de cover a contain para no recortar */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* NUEVO: centrar la imagen */
}

/* Contenido sobre la textura */
.info-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 40px 60px;
}

/* Cada item de información */
.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Iconos de correo y WhatsApp */
.info-icono {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Texto de información */
.info-texto h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.info-texto p {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
}
/* ===== AJUSTES ADICIONALES PARA LANDSCAPE EN MÓVILES ===== */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .contacto {
        padding: 50px 15px;
    }

    .contacto-info-rosado {
        min-height: 250px;
    }

    .info-content {
        gap: 25px;
        padding: 30px;
    }
}



/* -------------------------------------- */
/* === Sección "Footer" === */
/* -------------------------------------- */
.footer {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.footer-main {
    /*background-color: #F5F1E8;*/
    padding: 40px 50px;
}

.footer-container {
    max-width: 1325px;
    margin: 0 auto;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* -------------------------------------- */
/* COLUMNA IZQUIERDA - INFO */
/* -------------------------------------- */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Logo y Redes Sociales en la misma línea */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

/* Redes Sociales al lado del logo */
.footer-socials {
    display:flex;
    gap: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    /*border: 2px solid #333;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 7px;
}

.social-link:hover {
    background-color: #333;
    transform: translateY(-3px);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.social-link:hover img {
    filter: brightness(0) invert(1);
}

.footer-descripcion {
    color: #666;
    font-size: 26px;
    line-height: 1.7;
    max-width: 400px;
    font-style: italic;
}

/* -------------------------------------- */
/* COLUMNAS DE NAVEGACIÓN */
/* -------------------------------------- */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-left: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-column a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column a:hover {
    color: #C7698D;
    padding-left: 5px;
}

/* -------------------------------------- */
/* FOOTER INFERIOR - CENTRADO */
/* -------------------------------------- */
.footer-bottom {
    background-color: #B8B8B8;
    padding: 5px 50px;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.footer-terms a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-terms a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copyright {
    color: #333;
    font-size: 14px;
}




/* -------------------------------------- */
/* TABLETS (entre 768px y 1024px) */
/* -------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {

    * {
        box-sizing: border-box;
    }

    /* -------------------------------------- */
    /* Estilos del Header */
    /* -------------------------------------- */
    header {
        padding: 12px 30px;
    }

    .logo {
        height: 50px;
    }

    nav {
        gap: 25px;
    }

    nav a {
        font-size: 15px;
    }

    .btn-contacto {
        padding: 10px 22px;
        font-size: 15px;
    }






    /* -------------------------------------- */
    /* RESPONSIVE (OPCIONAL PARA DESPUÉS --> Mis Recetas) */
    /* -------------------------------------- */
    
    .recetas-content {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .filtros-sidebar {
        padding: 20px 15px;
    }
    
    .recetas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .receta-titulo {
        font-size: 18px;
    }
    
    .receta-descripcion {
        font-size: 13px;
    }


    /* -------------------------------------- */
    /* === Sección "Formulario Contacto" === */
    /* -------------------------------------- */
    .contacto {
        padding: 80px 15px;
    }

    .contacto-wrapper {
        flex-direction: column;
        align-items: center;
    }

    /* Bloque azul en tablets */
    .contacto-formulario {
        border-radius: 25px 25px 0 0;
        flex: none;
        width: 100%;
        max-width: 700px;
        padding: 45px 50px;
    }

    .contacto-formulario h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .form-contacto {
        gap: 16px;
    }

    .form-contacto input {
        padding: 13px 18px;
        font-size: 0.9rem;
    }

    .btn-cta {
        padding: 11px 28px;
        font-size: 0.95rem;
    }

    /* Bloque rosado en tablets */
    .contacto-info-rosado {
        margin-left: 0;
        margin-top: -40px;
        width: 100%;
        max-width: 700px;
        min-height: 350px;
    }

    .textura-rosada {
        width: 105%;
        height: 105%;
    }

    .info-content {
        gap: 40px;
        padding: 50px 50px 40px;
    }

    .info-texto h3 {
        font-size: 1.1rem;
    }

    .info-texto p {
        font-size: 0.95rem;
    }

    .info-icono {
        width: 35px;
        height: 35px;
    }


    /* -------------------------------------- */
    /* === Sección "Footer" === */
    /* -------------------------------------- */
    .footer-main {
        padding: 50px 40px;
    }
    
    .footer-container {
        gap: 60px;
    }
    
    .footer-links {
        gap: 40px;
        padding-left: 20px;
    }
    
    .footer-column {
        gap: 15px;
    }
    
    .footer-column a {
        font-size: 15px;
    }
    
    .footer-descripcion {
        font-size: 14px;
        max-width: 350px;
    }
    
    .footer-bottom {
        padding: 18px 40px;
    }
}

