@font-face {
    font-family: 'TheSeasons';
    src: url('./assets/fonts/TheSeasons-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Brittany';
    src: url('./assets/fonts/BrittanySignature.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* =========================
   VARIABLES Y ESTILO GENERAL
========================= */
:root {
    --color-primary: #8b5e3c;
    --color-accent: #c59d5f;
    --color-bg: #f4efe9;
    --color-nav-bg: #eaf0e7;
    --color-text: #2b2b2b;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Poppins", sans-serif;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    padding: 14px 0;
    background: rgb(88,62,143);
    transition:
        background .35s ease,
        box-shadow .35s ease;

    min-height: 95px;
}

.navbar .container {
    display: flex;
    align-items: center;
}

.navbar-custom {
    background: rgb(88,62,143);
}

.navbar-scrolled {
    background: rgba(88,62,143,0.96);
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

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

.navbar-nav {
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    color: white !important;
    position: relative;
    transition: color .3s ease;
}

.nav-link:hover {
    color: #e7d3ff !important;
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: #ffffff;

    transition: width .3s ease;
}

.nav-link:hover::after {
    width: 100%;
}
.navbar-collapse {
    flex-grow: 0;
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.4);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}
/* =========================
   HERO PARALLAX
========================= */
.hero {
    height: 70vh;
    margin-top: 95px;

    background: url("images/portada.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center; /* <-- ESTO LO CENTRA */

    text-align: center;
}

.hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(212,175,55,0.78),
        rgba(243,210,122,0.72),
        rgba(212,175,55,0.78)
    );

    padding: 40px 60px;
    border-radius: 10px;

    width: 80%;
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

/* TITULO */
.hero-title {
    font-family: 'TheSeasons', serif;
    font-size: 62px;
    color: white;
    margin: 0;
    letter-spacing: 2px;
    line-height: 1;
}

/* SUBTITULO */
.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: white;

    margin-top: 8px;
    margin-bottom: 30px;

    letter-spacing: 8px;
}

/* TEXTO CENTRAL */
.hero-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-small {
    font-family: 'TheSeasons', serif;
    font-size: 28px;
    color: white;

    margin-bottom: 6px;
}

.hero-delicious {
    font-family: 'Brittany', cursive;
    font-size: 44px;
    color: white;

    line-height: 1;
    margin: 0;
}

.hero-dessert {
    font-family: 'TheSeasons', serif;
    font-size: 42px;
    color: white;

    letter-spacing: 6px;

    margin-top: -8px;
}



/* =========================
   TITULOS
========================= */
.section-title {
    font-family: "Playfair Display", serif;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-size: 38px;
}

/* =========================
   CAROUSEL
========================= */
.carousel-item img {
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

/* =========================
   PRODUCTOS
========================= */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: .35s;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

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

.product-card h3 {
    padding: 20px;
    color: var(--color-primary);
}

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

/* =========================
   GALERIA
========================= */
.gallery {
    columns: 3;
    column-gap: 15px;
}

.gallery img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s;
    break-inside: avoid; /* Evita que la imagen se corte entre columnas */
}

.gallery img:hover {
    transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* =========================
   WHATSAPP (Mejorado)
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.whatsapp-float img {
    width: 60px;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float::after {
    content: "Hacé tu pedido";
    position: absolute;
    right: 70px;
    background: #25d366;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    transform: translateX(10px);
}

.whatsapp-float:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* =========================
   BRAND
========================= */
.brand-section {
    padding: 90px 20px;
    text-align: center;
}

.brand-section h2 {
    font-size: 42px;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.brand-text {
    max-width: 800px;
    margin: auto;
    font-size: 20px;
    line-height: 1.7;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* =========================
   FOOTER
========================= */
footer {
    background: rgb(62,44,102);
    color: white;
    padding: 25px 20px;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;

    max-width: 1100px;
    margin: auto;
}

.footer-logo img {
    height: 85px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.socials a {
    text-decoration: none !important;
    border: none !important;
}

.socials img {
    display: block;
    height: 52px;
    transition: transform .25s ease;
}

.socials img:hover {
    transform: scale(1.12);
}


.footer-copy {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.92;
}

/* =========================
   ANIMACION REVEAL
========================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: .8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MOBILE
========================= */
@media(max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-position: center center;
    }
    .hero h1 {
        font-size: 32px;
    }
    .carousel-item img {
        height: 280px;
    }
    .gallery {
        columns: 1;
    }
    .logo {
        height: 60px;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    .footer-logo img {
        height: 90px;
    }
    .hero-overlay {
    width: 92%;
    padding: 30px 20px;
}

.hero-title {
    font-size: 42px;
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 5px;
}

.hero-small {
    font-size: 20px;
}

.hero-delicious {
    font-size: 52px;
}

.hero-dessert {
    font-size: 28px;
    letter-spacing: 4px;
}
}