/* Estilos para el menú */
.menu {
    z-index: 1000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
}

.navbar {
    z-index: 1000 !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(15px);
    padding: 0.5rem 0 !important;
    min-height: 70px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
}

/* Navbar scrolled - 20% más estrecha */
.navbar.scrolled {
    padding: 0.3rem 0 !important;
    min-height: 56px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .navbar-logo img {
    height: 2.4rem !important; /* 20% más pequeño */
}

.navbar.scrolled .navbar-caption {
    font-size: 1.08rem !important; /* 20% más pequeño */
}

.navbar.scrolled .nav-link {
    font-size: 0.68rem !important; /* 20% más pequeño */
    padding: 0.2rem 0.6rem !important;
}

.navbar .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 1rem !important;
}

.navbar-brand {
    z-index: 1001 !important;
    padding: 0.5rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}

.navbar-brand .navbar-logo {
    display: flex !important;
    align-items: center !important;
}

.navbar-brand .navbar-logo img {
    height: 3rem !important;
    vertical-align: middle !important;
}

.navbar-caption-wrap {
    display: flex !important;
    align-items: center !important;
}

.navbar-caption-wrap .navbar-caption {
    font-size: 1.35rem !important;
    padding-left: 0.75rem !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.navbar-nav {
    z-index: 1001 !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    order: 3 !important;
}

.navbar-nav.nav-right {
    margin-left: auto !important;
    margin-right: 0 !important;
    order: 3 !important;
}

.navbar-toggler {
    order: 2 !important;
    margin-left: auto !important;
}

/* Forzar posicionamiento específico */
.navbar-dropdown .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 1rem !important;
}

.navbar-dropdown .navbar-brand {
    order: 1 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.navbar-dropdown .navbar-toggler {
    order: 2 !important;
    margin-left: auto !important;
}

.navbar-dropdown .navbar-collapse {
    order: 3 !important;
    margin-left: auto !important;
}

.navbar-dropdown .navbar-nav {
    order: 3 !important;
    margin-left: auto !important;
}

.navbar-nav .nav-link {
    padding: 0.25rem 0.75rem !important;
    font-size: 0.85rem !important;
}

/* Asegurar que los enlaces del menú sean visibles */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

/* Estilo para el logo y texto del navbar */
.navbar-brand {
    color: white !important;
}

.navbar-caption-wrap .navbar-caption {
    color: white !important;
}

/* Estilos para el botón hamburguesa */
.navbar-toggler {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.8rem !important;
}

.hamburger {
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    cursor: pointer !important;
}

.hamburger span {
    display: block !important;
    height: 3px !important;
    width: 100% !important;
    background-color: white !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.hamburger:hover span {
    background-color: #007bff !important;
}

/* Menú colapsable más compacto */
.navbar-collapse {
    margin-top: 0.25rem !important;
}

.navbar-collapse .navbar-nav {
    padding: 0.25rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
}

/* Botón hamburguesa alineado a la derecha */
.navbar-toggler {
    margin-left: auto !important;
    order: 2 !important;
    border: none !important;
    padding: 0.25rem 0.5rem !important;
    display: none !important;
    background: none !important;
    outline: none !important;
}

/* Mostrar botón hamburguesa solo en móviles */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ocultar menú horizontal en móviles */
    .navbar-nav {
        display: none !important;
    }
}

.navbar-brand {
    order: 1 !important;
}

/* Mejorar el menú colapsable en móviles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(20px);
        border-radius: 10px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
        position: absolute !important;
        top: 100% !important;
        left: 1rem !important;
        right: 1rem !important;
        z-index: 1002 !important;
    }

    .navbar-collapse .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
    }

    .navbar-collapse .nav-item {
        margin: 0.5rem 0 !important;
    }

    .navbar-collapse .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1.1rem !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        color: white !important;
    }

    .navbar-collapse .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        transform: translateX(5px) !important;
        color: #007bff !important;
    }
}

/* Estilos personalizados para la cabecera */
.hero-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    height: 100vh !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    background-image: url("../img/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    height: 100vh !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.hero-section .text-center {
    max-width: 100% !important;
    width: 100% !important;
    text-align: center !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.hero-section .hero-title,
.hero-section .hero-subtitle {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}

.hero-section .hero-description {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
    font-size: 1.2rem !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    font-weight: 400 !important;
}


/* Estilos para las secciones */
.presentation-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    padding-top: 6rem !important; /* 40% más margen superior */
    padding-bottom: 4.5rem !important;
    scroll-margin-top: 80px; /* Espacio para navbar fija */
}

.presentation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.presentation-section .container {
    position: relative;
    z-index: 2;
}

.products-section {
    background-color: #000000;
    color: white;
    scroll-margin-top: 80px; /* Espacio para navbar fija */
}

.products-section .section-title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.products-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Estilos para las tarjetas de productos */
.products-section .card {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: white !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.products-section .card-title {
    color: white !important;
}

.products-section .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Tarjetas de productos modernas */
.product-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(45deg, #333, #555);
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1);
}

.product-content {
    padding: 2rem;
    position: relative;
    z-index: 3;
    height: calc(100% - 250px);
    display: flex;
    flex-direction: column;
}

.product-badge {
    margin-bottom: 1rem;
}

.badge-text {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.product-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features {
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.feature-item i {
    color: #27ae60;
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    font-weight: 500;
}

.products-section .card-img-top {
    border-radius: 0.375rem 0.375rem 0 0;
}

/* Mejorar las tarjetas de productos en móviles */
@media (max-width: 768px) {
    .products-section .card {
        margin-bottom: 1.5rem !important;
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
    }
    
    .products-section .card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15) !important;
    }
    
    .products-section .card-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .products-section .card-text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 576px) {
    .products-section .card {
        margin-bottom: 1rem !important;
    }
    
    .products-section .card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .products-section .card-text {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px; /* Espacio para navbar fija */
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,0,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title {
    color: #333 !important;
    text-shadow: none !important;
}

.testimonials-section .section-subtitle {
    color: #666 !important;
    text-shadow: none !important;
}

/* Estilos para las tarjetas de testimonios */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.stars i {
    margin-right: 2px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: auto;
}

.author-name {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-location {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.contact-section {
    background-color: #f8f9fa;
}

/* Sección de recetas */
.recipes-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px; /* Espacio para navbar fija */
}

.recipes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="recipePattern" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="rgba(0,0,0,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23recipePattern)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.recipes-section .container {
    position: relative;
    z-index: 2;
}

.recipes-section .section-title {
    color: #333 !important;
    text-shadow: none !important;
}

.recipes-section .section-subtitle {
    color: #666 !important;
    text-shadow: none !important;
}

/* Tarjetas de recetas */
.recipe-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.recipe-time {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.recipe-time i {
    margin-right: 0.25rem;
    color: #ffc107;
}

.recipe-content {
    padding: 1.5rem;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
}

.recipe-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.recipe-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.recipe-ingredients {
    margin-top: auto;
}

.recipe-ingredients h6 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.recipe-ingredients li {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.recipe-ingredients li::before {
    content: '•';
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Botones de enlace a recetas completas */
.recipe-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-recipe-link {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.btn-recipe-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-recipe-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

.btn-recipe-link:hover::before {
    left: 100%;
}

.btn-recipe-link i {
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* Responsive para botones de recetas */
@media (max-width: 768px) {
    .recipe-actions {
        margin-top: 1.25rem;
        padding-top: 0.75rem;
    }
    
    .btn-recipe-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .recipe-actions {
        margin-top: 1rem;
        padding-top: 0.5rem;
    }
    
    .btn-recipe-link {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .btn-recipe-link i {
        font-size: 0.75rem;
        margin-right: 0.4rem;
    }
}

/* Enlace externo a más recetas */
.recipes-external-link {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(231, 76, 60, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recipes-external-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="externalPattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(231,76,60,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23externalPattern)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.recipes-external-link .container {
    position: relative;
    z-index: 2;
}

.external-link-title {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.external-link-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 2px;
}

.external-link-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-external-recipes {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-external-recipes::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-external-recipes:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

.btn-external-recipes:hover::before {
    left: 100%;
}

.btn-external-recipes i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Responsive para enlace externo */
@media (max-width: 768px) {
    .recipes-external-link {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .external-link-title {
        font-size: 1.6rem;
    }
    
    .external-link-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-external-recipes {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .recipes-external-link {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }
    
    .external-link-title {
        font-size: 1.4rem;
    }
    
    .external-link-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .btn-external-recipes {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Sección de contacto */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactPattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(0,0,0,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23contactPattern)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .section-title {
    color: #333 !important;
    text-shadow: none !important;
}

.contact-section .section-subtitle {
    color: #666 !important;
    text-shadow: none !important;
}

/* Tarjetas de contacto */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.contact-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-text {
    color: #e74c3c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-text a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.contact-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Footer moderno */
.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0 1rem 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px; /* Más espacio para navbar fija en footer */
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.modern-footer .container {
    position: relative;
    z-index: 2;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    color: #ecf0f1;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 2px;
}

.footer-subtitle {
    color: #bdc3c7;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-text {
    color: #95a5a6;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    text-decoration: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #e74c3c;
    padding-left: 5px;
    text-decoration: none;
}

.footer-contact p {
    color: #95a5a6;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: #e74c3c;
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
}

.footer-contact a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #e74c3c;
    text-decoration: none;
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0 1.5rem 0;
}

.footer-copyright {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

.footer-credits {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

/* Mejorar la sección de contacto en móviles */
@media (max-width: 768px) {
    .contact-section .card {
        margin-bottom: 1rem !important;
    }
    
    .contact-section .card-body {
        padding: 1rem !important;
    }
    
    .contact-section .fas {
        font-size: 1.5rem !important;
    }
    
    .contact-section .card-title {
        font-size: 1.1rem !important;
    }
    
    .contact-section .card-text {
        font-size: 0.95rem !important;
    }
    
    .google-map {
        height: 250px !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 576px) {
    .contact-section .card-body {
        padding: 0.75rem !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .contact-section .me-3 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-section .fas {
        font-size: 1.3rem !important;
    }
    
    .contact-section .card-title {
        font-size: 1rem !important;
    }
    
    .contact-section .card-text {
        font-size: 0.9rem !important;
    }
    
    .google-map {
        height: 200px !important;
    }
}

/* Responsive para el footer */
@media (max-width: 768px) {
    .modern-footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .footer-copyright,
    .footer-credits {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .modern-footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-title {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

.section-title {
    color: rgba(0, 0, 0, 0.9);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    position: relative;
    animation: fadeInUp 1s ease-out;
    font-size: 2.4em;
}

.section-subtitle {
    color: rgba(0, 0, 0, 0.9);
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.8;
    font-size: 1.32rem;
}

/* Animaciones dinámicas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Efecto flotante para el título */
.presentation-section .section-title {
    animation: fadeInUp 1s ease-out, float 3s ease-in-out infinite 2s;
}

/* Efectos hover para la sección de presentación */
.presentation-section:hover .section-title {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.presentation-section:hover .section-subtitle {
    color: rgba(0, 0, 0, 1);
    transition: color 0.3s ease;
}

/* Elementos decorativos */
.presentation-section .text-center::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #333, #666);
    border-radius: 2px;
    animation: slideIn 1s ease-out 0.5s both;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

/* Mejorar el contenedor de texto */
.presentation-section .text-center {
    position: relative;
    padding: 2rem 0;
}

/* Responsive para las secciones de contenido */
@media (max-width: 768px) {
    .products-section,
    .recipes-section,
    .testimonials-section,
    .contact-section {
        padding: 3rem 0 !important;
    }
    
    .presentation-section {
        padding-top: 4.5rem !important; /* 40% más margen superior en tablet */
        padding-bottom: 3.5rem !important;
        scroll-margin-top: 70px; /* Menos espacio en tablet */
    }
    
    .products-section,
    .testimonials-section,
    .recipes-section {
        scroll-margin-top: 70px; /* Menos espacio en tablet */
    }
    
    .modern-footer {
        scroll-margin-top: 80px; /* Menos espacio en tablet */
    }
    
    .presentation-section .container,
    .products-section .container,
    .recipes-section .container,
    .testimonials-section .container,
    .contact-section .container {
        padding: 0 1rem !important;
    }
    
    .section-title {
        font-size: 2em !important;
        margin-bottom: 1.5rem !important;
    }
    
    .section-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
    
    .testimonial-content {
        padding: 1.5rem !important;
    }
    
    .testimonial-text {
        font-size: 0.95rem !important;
    }
    
    .recipe-content {
        padding: 1.25rem !important;
    }
    
    .recipe-title {
        font-size: 1.2rem !important;
    }
    
    .recipe-description {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .products-section,
    .recipes-section,
    .testimonials-section,
    .contact-section {
        padding: 2rem 0 !important;
    }
    
    .presentation-section {
        padding-top: 3.5rem !important; /* 40% más margen superior en móvil */
        padding-bottom: 2.5rem !important;
        scroll-margin-top: 60px; /* Menos espacio en móvil */
    }
    
    .products-section,
    .testimonials-section,
    .recipes-section {
        scroll-margin-top: 60px; /* Menos espacio en móvil */
    }
    
    .modern-footer {
        scroll-margin-top: 70px; /* Menos espacio en móvil */
    }
    
    .presentation-section .container,
    .products-section .container,
    .recipes-section .container,
    .testimonials-section .container,
    .contact-section .container {
        padding: 0 0.5rem !important;
    }
    
    .section-title {
        font-size: 1.8em !important;
        margin-bottom: 1rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .products-section .row {
        margin: 0 !important;
    }
    
    .products-section .col-12 {
        padding: 0.5rem !important;
    }
    
    .product-content {
        padding: 1.5rem !important;
    }
    
    .product-title {
        font-size: 1.3rem !important;
    }
    
    .product-description {
        font-size: 0.95rem !important;
    }
    
    .product-image {
        height: 200px !important;
    }
    
    .product-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    .testimonial-content {
        padding: 1rem !important;
    }
    
    .testimonial-text {
        font-size: 0.9rem !important;
    }
    
    .author-name {
        font-size: 1rem !important;
    }
    
    .author-location {
        font-size: 0.85rem !important;
    }
    
    .recipe-content {
        padding: 1rem !important;
    }
    
    .recipe-title {
        font-size: 1.1rem !important;
    }
    
    .recipe-description {
        font-size: 0.85rem !important;
    }
    
    .recipe-time {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .recipe-ingredients h6 {
        font-size: 0.9rem !important;
    }
    
    .recipe-ingredients li {
        font-size: 0.8rem !important;
    }
    
    .contact-card {
        padding: 1.5rem !important;
    }
    
    .contact-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    .contact-title {
        font-size: 1.1rem !important;
    }
    
    .contact-text {
        font-size: 1rem !important;
    }
    
    .contact-description {
        font-size: 0.85rem !important;
    }
    
    .product-content {
        padding: 1.25rem !important;
    }
    
    .product-title {
        font-size: 1.2rem !important;
    }
    
    .product-description {
        font-size: 0.9rem !important;
    }
    
    .product-image {
        height: 180px !important;
    }
    
    .product-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .badge-text {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .feature-item {
        font-size: 0.85rem !important;
    }
    
    .feature-item i {
        font-size: 0.9rem !important;
        width: 18px !important;
    }
    
    .social-link {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .footer-social {
        gap: 1rem !important;
    }
    
    /* Navbar responsive para móviles */
    .navbar.scrolled {
        min-height: 50px !important;
        padding: 0.25rem 0 !important;
    }
    
    .navbar.scrolled .navbar-logo img {
        height: 2rem !important;
    }
    
    .navbar.scrolled .navbar-caption {
        font-size: 0.9rem !important;
    }
    
    .navbar.scrolled .nav-link {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.5rem !important;
    }
    
    body.navbar-scrolled {
        padding-top: 50px !important;
    }
}

/* Efecto de partículas flotantes */
.presentation-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    animation: particleMove 20s ease-in-out infinite;
    z-index: 1;
}

/* Compensar navbar fija */
body {
    padding-top: 70px;
}

/* Ajustar padding cuando navbar está scrolled */
body.navbar-scrolled {
    padding-top: 56px;
}

/* Padding personalizado para presentación (40% más margen superior) */
.py-6 {
    padding-top: 6rem !important; /* 3rem * 1.4 = 4.2rem, aumentado a 6rem para mejor proporción */
    padding-bottom: 4.5rem !important;
}

@keyframes particleMove {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* Scroll suave para enlaces del menú */
html {
    scroll-behavior: smooth;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    display: block;
    opacity: 1;
}

.scroll-to-top a {
    display: block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    backdrop-filter: blur(10px);
}

.scroll-to-top a:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Responsive para scroll to top */
@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top a {
        width: 45px;
        height: 45px;
        line-height: 45px;
    }
}

/* Responsive mejorado para la cabecera */
@media (max-width: 1200px) {
    .hero-section .display-1 {
        font-size: 3.5rem !important;
    }
    
    .hero-section .display-2 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 992px) {
    .hero-section .display-1 {
        font-size: 3rem !important;
    }
    
    .hero-section .display-2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh !important;
        height: 100vh !important;
        padding: 2rem 0 !important;
    }
    
    .hero-section .container-fluid {
        min-height: 100vh !important;
        height: 100vh !important;
        padding: 0 1rem !important;
    }
    
    .hero-section .display-1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-section .display-2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .navbar-brand .navbar-logo img {
        height: 2.5rem !important;
    }
    
    .navbar-caption-wrap .navbar-caption {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 100vh !important;
        height: 100vh !important;
        padding: 1rem 0 !important;
    }
    
    .hero-section .container-fluid {
        min-height: 100vh !important;
        height: 100vh !important;
        padding: 0 0.5rem !important;
    }
    
    .hero-section .display-1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-section .display-2 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    .navbar {
        min-height: 60px !important;
        padding: 0.25rem 0 !important;
    }
    
    .navbar-brand .navbar-logo img {
        height: 2rem !important;
    }
    
    .navbar-caption-wrap .navbar-caption {
        font-size: 0.9rem !important;
        padding-left: 0.5rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.8rem !important;
        padding: 0.2rem 0.5rem !important;
    }
}

@media (max-width: 400px) {
    .hero-section .display-1 {
        font-size: 1.8rem !important;
    }
    
    .hero-section .display-2 {
        font-size: 1.3rem !important;
    }
    
    .navbar-brand .navbar-logo img {
        height: 1.8rem !important;
    }
    
    .navbar-caption-wrap .navbar-caption {
        font-size: 0.8rem !important;
    }
}
