/* ===== RESET Y VARIABLES ===== */
:root {
    --primary: #EF7C8E;
    --primary-light: #FFB5C2;
    --secondary: #FAD7A0;
    --accent: #A3D9B1;
    --dark: #333333;
    --light: #FFF9F5;
    --gray: #666666;
    --light-gray: #F5F5F5;
    
    --font-cursive: 'Dancing Script', cursive;
    --font-body: 'Poppins', sans-serif;
    
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
    font-family: var(--font-cursive);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
}

/* ===== SECCIONES ===== */
.section {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== NAVEGACIÓN ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    z-index: 1001;
}

.nav-menu {
    display: none;
    list-style: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    display: block;
    padding: 0.8rem 0;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-gray);
}

.nav-link:last-child {
    border-bottom: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Hamburguesa */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1558961363-fa8fdf82db35?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-cursive);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    text-decoration: none;
    color: var(--gray);
}
.hero-cards a{  
    text-decoration: none;
    color: var(--gray);
}


.hero-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.hero-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

/* ===== ¿POR QUÉ ELEGIRNOS? ===== */
.nosotros {
    background-color: white;
}

.pilares-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pilar-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pilar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pilar-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pilar-icon i {
    font-size: 2rem;
    color: white;
}

.pilar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.pilar-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== MENÚ ===== */
.menu {
    background-color: var(--light-gray);
}

.menu-category {
    margin-bottom: 1.5rem;
}

.category-title {
    font-family: var(--font-cursive);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.8rem;
}

.item-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== GALERÍA ===== */
.galeria {
    background-color: white;
}

/* Carrusel */
.carousel-container {
    position: relative;
    margin-bottom: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel {
    position: relative;
    height: 300px;
    /* background: linear-gradient(135deg, var(--secondary), var(--primary-light)); */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.slide-content {
    font-size: 2rem;
    color: white;
    font-family: var(--font-cursive);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: white;
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
}

/* Galería Grid */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.galeria-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.galeria-item:hover {
    transform: scale(1.03);
}

#img1{
    background-image: url(https://content.elmueble.com/medio/2024/08/19/macarons_97142b68_240819132215_900x900.jpg);
}
#img2{
    background-image: url(https://a25afc3b50.cbaul-cdnwnd.com/431631b8c14f335c53ea3166d776a818/200000862-5605f57009/457-6.jpg?ph=a25afc3b50);
}
#img3{
    background-image: url(https://mr-cupcake.com/wp-content/uploads/2024/11/DSC01585-524x566.png);
}
#img4{
    background-image: url(https://cafearomas.com/cdn/shop/articles/nathan-dumlao-6VhPY27jdps-unsplash.jpg?v=1717668561);
}
#img5{
    background-image: url(https://www.hersheyland.mx/content/dam/Hersheyland_Mexico/es_mx/recipes/recipe-images/atemporales-agosto/Banner-Galletas-Red-Velvet.jpg);
}
#img6{
    background-image: url(https://media.scoolinary.app/blog/images/2021/02/reposteria_casera.jpg);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
}

.footer-title {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

/* Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Información de contacto */
.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.horarios h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.horarios p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.credits {
    font-size: 0.9rem;
    opacity: 0.7;
}

.credits i {
    color: var(--primary);
    margin: 0 0.3rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

/* ===== MEDIA QUERIES ===== */

/* Tablet (768px y superior) */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-cards {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
    
    .hero-card {
        padding: 2rem 1rem;
    }
    
    .pilares-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .carousel {
        height: 400px;
    }
    
    .footer-content {
        flex-direction: row;
    }
    
    /* Navegación tablet */
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: none;
        font-size: 1rem;
    }
    
    .nav-link.active {
        color: var(--primary);
    }
}

/* Desktop (1024px y superior) */
@media (min-width: 1024px) {
    .section {
        padding: 6rem 2rem;
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
    
    .pilares-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .pilar-card {
        padding: 2.5rem 2rem;
    }
    
    .menu-items {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .menu-item {
        flex: 1;
        min-width: 300px;
    }
    
    .carousel {
        height: 500px;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .footer {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
    
    .whatsapp-float {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        bottom: 2rem;
        right: 2rem;
    }
}

/* Desktop grande (1200px y superior) */
@media (min-width: 1200px) {
    .container {
        padding: 0;
    }
    
    .nav-container {
        padding: 1rem 0;
    }
}