@font-face {
    font-family: 'Antonio';
    src: url('./fuentes/Antonio-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
}

@font-face {
    font-family: 'Orelo';
    src: url('./fuentes/Orelo SemiWide Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Antonio', sans-serif;

}

h1,
h2,

h4,
h5,
h6,
.text__title,
.subtitle__text,
.travel__subtitle__text-break {
    font-family: 'Orelo', serif;
}

h3.home__subtitle2 {
    text-align: end;
    font-size: 30px;

}


h3.home__subtitle {
    text-align: center;
    font-size: 30px;
}

h2.home__title {
    font-size: 42px;
    text-align: center;
}

.text__title {
    font-size: 20px;
    font-weight: bolder;
    color: var(--text-color);
}

p.text__content {
    margin-block-end: var(--padding-size);
    font-size: 18px;
    text-align: justify;
    font-weight: 600;
    color: var(--text-color);

}





a {
    color: white;
    text-decoration: none;
}

main {
    background: var(--background-color);
}


:root {
    --primary-color: #f2c94c;
    --secondary-color: #0A8281;
    --background-color: #F0E5D9;
    --text-color: #411900;

    --padding-size: 1vw;
}


.subtitle {
    display: flex;
    justify-content: center;
    justify-self: center;
    height: 10vh;
    width: 20vw;
    position: relative;
    margin-block-end: calc(var(--padding-size)*5);
}

.subtitle__bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url('./assets/subtitle.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
}


.travel__subtitle__bg {
    width: 100%;
    height: 10vh;
    position: absolute;
    background-image: url(./assets/BROCHE.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
    bottom: -10px;
}


.subtitle__text {
    display: flex;
    align-self: center;
    z-index: 1;
    text-align: center;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.home,
.about,
.mision,
.vision,
.valores,
.shop,
.food,
.art,
.travel {
    margin-inline: 5vw;
}


.home {
    margin: 0 auto;
    margin-block-end: calc(var(--padding-size)*12);
    width: 56vw;
    display: grid;
    gap: 2vh;
    color: var(--text-color);
}

section.about {
    width: 85vw;
    margin: 0 auto;
    margin-block-end: calc(var(--padding-size) * 8);
}

.about__content {
    display: grid;
    gap: 2vh;
}

.valores,
.mision,
.vision {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3vw;
    width: 85vw;
    margin: 0 auto;
    margin-block-end: calc(var(--padding-size)*6);
}

.valores img,
.mision img,
.vision img,
.shop img {
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.shop {
    width: 65vw;
    margin: 0 auto;
}

.food {
    padding-block: calc(var(--padding-size) * 5);
}

.food__content {
    width: 85vw;
    display: flex;
    gap: 2.5vw;
    overflow-x: auto;
    padding-block: 2vh;
    padding-inline: 2.5vw;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.food__content::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.food__card {
    min-width: 18vw;
    height: 35vh;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    scroll-snap-align: center;
    background: white;
}

.food__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.food__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.food__card:hover .food__card-image {
    transform: scale(1.08);
}

.food__card-subtitle {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.5vh 0.5vw;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-color);
    text-align: center;
    font-family: 'Orelo', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.food__card:hover .food__card-subtitle {
    transform: translateY(0);
}

.food__card-title {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



.art {}

.art {
    padding-block: calc(var(--padding-size) * 5);
}

.art__content {
    width: 85vw;
    display: flex;
    gap: 2vw;
    overflow-x: auto;
    padding-block: 2vh;
    padding-inline: 2vw;
    margin: 0 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}


.art__content::-webkit-scrollbar {
    display: none;
}

.art__card {
    min-width: 20vw;
    height: 42vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.art__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.art__card-image {
    width: 100%;
    height: 28vh;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.art__card:hover .art__card-image {
    transform: scale(1.03);
}

.art__card-title {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: 'Orelo', serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.art__card-price {
    padding: 0 15px 15px;
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}



.travel {
    padding-inline: 10vw;
    padding-block-end: calc(var(--padding-size)*13);
    display: grid;
    justify-content: center;
}

.travel__content {
    /* background: red; */
    width: 100%;
    display: flex;
    gap: 3vw;
}

.travel__card {
    width: 20vw;
    height: 40vh;
    position: relative;

    /* background: violet; */
}

.travel__subtitle {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 7vh;
    display: flex;
    justify-content: center;
}

.travel__card-image {
    position: absolute;
    filter: brightness(0.5);
    border-radius: 13px;
    z-index: 0;
}

.travel__card-title,
.travel__card-icon,
.travel__card-price,
.travel__card-link {
    position: absolute;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.travel__subtitle__text-break {
    position: absolute;
    font-size: 12px;
    display: flex;
    text-align: center;
    align-self: center;
}

.travel__card-title {
    text-align: center;
    bottom: 12vh;
    color: white;
}

.travel__card-icon {
    bottom: 9vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

span.travel__card-icon span {
    color: var(--secondary-color);
}

.travel__card-price {
    bottom: 6vh;
    font-size: 22px;
    color: var(--secondary-color);
    font-weight: 700;
}

.travel__card-link {
    bottom: 2vh;
    font-size: 15px;
    border: 1px solid;
    width: 10vw;
    height: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    border-radius: 2px;
    background: #ddcaca4a;
}

.footer {
    background: var(--background-color);
    padding-inline: 8vw;
    padding-block: 6vh 4vh;
    color: var(--text-color);
    border-top: 1px solid rgba(65, 25, 0, 0.1);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: start;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}

.footer__heading {
    font-family: 'Orelo', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: normal;
    color: var(--text-color);
    margin-bottom: 0.5vh;
}

.footer__text {
    font-family: 'Antonio', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-color);
}

.footer__link {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer__link:hover {
    opacity: 0.7;
}

.footer__address {
    margin-top: 1.5vh;
}

.footer__socials {
    display: flex;
    gap: 15px;
    margin-top: 2vh;
}

.footer__social-link {
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer__social-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.footer__social-icon {
    width: 24px;
    height: 24px;
}

.footer__label {
    font-family: 'Antonio', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5vh;
    display: block;
}

.footer__form {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    max-width: 320px;
}

.footer__input {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Antonio', sans-serif;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.footer__input:focus {
    border-color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(65, 25, 0, 0.1), inset 0 1px 3px rgba(0,0,0,0.05);
}

.footer__btn {
    background: var(--text-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-family: 'Antonio', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    align-self: flex-start;
}

.footer__btn:hover {
    background: #5a2602;
    transform: translateY(-1px);
}

.footer__btn:active {
    transform: translateY(0);
}

.footer__bottom {
    margin-top: 6vh;
    border-top: 1px solid rgba(65, 25, 0, 0.08);
    padding-top: 3vh;
}

.footer__copyright {
    font-family: 'Antonio', sans-serif;
    font-size: 0.8rem;
    color: rgba(65, 25, 0, 0.6);
    font-weight: 500;
}

/* Carousel Styles */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.carousel {
    width: 100%;
    height: 100%;
}

.carousel__inner {
    width: 100%;
    height: 100%;
}

.carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel__slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: -1;
}

.carousel__content {
    display: flex;
    width: 90%;
    max-width: 1400px;
    height: 100%;
    align-items: center;
    gap: 2vw;
    padding-inline: 5vw;
}

.carousel__info {
    flex: 1.2;
    color: white;
    z-index: 2;
    margin-top: 40vh;
}

.carousel__title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 2vh;
    font-family: 'Orelo', serif;
    color: #fff;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    text-align: left !important;
}

.carousel__description {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    line-height: 1.5;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.carousel__images {
    flex: 1;
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel__img {
    position: absolute;
    width: 28vw;
    height: 40vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel__img--1 {
    transform: translate(0, 0) scale(1) rotate(0deg);
    z-index: 3;
    opacity: 1;
}

.carousel__img--2 {
    transform: translate(4vw, 4vh) scale(0.9) rotate(4deg);
    z-index: 2;
    opacity: 0.6;
}

.carousel__img--3 {
    transform: translate(8vw, 8vh) scale(0.8) rotate(8deg);
    z-index: 1;
    opacity: 0.3;
}

.carousel__slide.active .carousel__img--1 {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(0, -10px) scale(1.02) rotate(-1deg); }
}

.carousel__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 10px;
}



/* --- RESPONSIVIDAD (MOBILE & TABLET) --- */

/* Tablet y Pantallas Medianas (max-width: 1024px) */
@media (max-width: 1024px) {
    .home {
        width: 80vw;
    }

    .subtitle {
        width: 35vw;
    }

    .valores,
    .mision,
    .vision {
        width: 90vw;
        gap: 4vw;
    }

    .food__card,
    .art__card {
        min-width: 30vw;
    }

    .travel__card {
        width: 28vw;
    }
}

/* Móviles (max-width: 768px) */
@media (max-width: 768px) {

    /* Banner/Carrusel Responsivo */
    .banner {
        height: 100vh;
    }

    .carousel__content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-inline: 5vw;
        gap: 0;
    }

    .carousel__info {
        text-align: center;
        order: 1;
        margin-top: 15vh;
    }

    .carousel__title {
        text-align: center !important;
        font-size: 2.2rem;
        margin-bottom: 1.5vh;
    }

    .carousel__description {
        font-size: 1.1rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .carousel__images {
        display: none;
    }

    /* Ocultamos el stack de imágenes en móvil para limpieza */
    .carousel__dots {
        bottom: 20px;
    }

    /* Ajustes generales de secciones */
    .home,
    .about,
    .mision,
    .vision,
    .valores,
    .shop,
    .food,
    .art,
    .travel {
        width: 90vw;
        margin-inline: auto;
    }

    .home {
        width: 90vw;
        margin-block-end: 10vh;
    }

    .home__title {
        font-size: 32px;
    }

    .home__subtitle,
    .home__subtitle2 {
        font-size: 22px;
    }

    /* Subtítulos generales */
    .subtitle {
        width: 75vw;
        height: 8vh;
        margin-block-end: 6vh;
    }

    .subtitle__text {
        font-size: 1.5rem;
    }

    /* Secciones de 2 columnas a 1 columna */
    .valores,
    .mision,
    .vision {
        display: flex;
        flex-direction: column;
        gap: 5vh;
        width: 90vw;
    }

    /* Forzar que la imagen esté arriba en Visión (donde está segunda en HTML) */
    .vision {
        flex-direction: column-reverse;
    }

    .mision img,
    .vision img,
    .valores img {
        height: 35vh;
        width: 100%;
        border-radius: 30px;
    }

    section.about {
        width: 90vw;
    }

    .about__content {
        gap: 3vh;
    }

    .shop {
        width: 90vw;
    }

    /* Carruseles horizontales (Comida y Arte) */
    .food__content,
    .art__content {
        width: 100%;
        gap: 5vw;
    }

    .food__card {
        min-width: 75vw;
        height: 35vh;
    }

    .art__card {
        min-width: 65vw;
    }

    /* Tarjetas de Viaje (de horizontal a vertical stack) */
    .travel__content {
        flex-direction: column;
        gap: 5vh;
        align-items: center;
    }

    .travel__card {
        width: 100%;
        height: 45vh;
    }

    .travel__card-link {
        width: 60%;
    }

    /* Footer */
    /* Footer Responsive */
    .footer {
        padding-inline: 5vw;
        padding-block: 5vh 3vh;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 5vh;
        text-align: left;
    }

    .footer__form {
        max-width: 100%;
    }
    
    .footer__btn {
        align-self: stretch;
        text-align: center;
    }

    .footer__socials {
        justify-content: flex-start;
    }
    
    .footer__bottom {
        margin-top: 4vh;
        text-align: left;
    }
}

/* Móviles Pequeños (max-width: 480px) */
@media (max-width: 480px) {
    .carousel__title {
        font-size: 1.8rem;
    }

    .home__title {
        font-size: 26px;
    }

    .subtitle {
        width: 85vw;
    }

    .travel__card-price {
        font-size: 18px;
    }
}

::-webkit-scrollbar {
    width: 0;
    /* width of the entire scrollbar */
}