@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);
}

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

.food__content {
    width: 85vw;
    display: flex;
    gap: 2vw;
    overflow-x: scroll;
    overflow-y: hidden;
    justify-self: center;
    height: 32vh;
}

.food__card {
    width: 20vw;
    height: 30vh;
    display: grid;
}

.food__card-title {
    width: 100%;
    height: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #dddddd;
}

.food__card-subtitle {
    background: black;
    color: white;
    text-align: center;
    font-weight: 100;
}

.art {}

.art__content {
    display: flex;
    gap: 1.6vw;
    width: 85vw;
    margin: 0 auto;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-block-end: calc(var(--padding-size)*8);
}

.art__card {
    min-width: 20vw;
    display: grid;
    color: var(--text-color);
}

.art__card-price {
    margin-block-end: calc(var(--padding-size));
}

.art__card-link {
    color: var(--text-color);
    height: 3vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
}

.art__card-title {
    margin-block-start: calc(var(--padding-size));
}

.art__card-image {
    height: 16vh;
}

.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(--text-color);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 2vw;
    padding-block: 1vh;
    color: var(--background-color);
}

.footer__socialmedia-link {
    height: 3vw;
    display: flex;
    align-items: center;
}

img.footer__socialmedia-icon.image {
    width: 3vw;
}

.footer__socialmedia {
    display: grid;
    gap: 1vw;
    margin-block-end: var(--padding-size);
}

/* Carousel Styles */
.banner {
    position: relative;
    width: 100%;
    height: 80vh;
    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;
}

.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: 25vw;
    height: 35vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel__img--1 {
    transform: translate(-3vw, -2vh) rotate(-4deg);
    z-index: 3;
}

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

.carousel__img--3 {
    transform: translate(6vw, 10vh) rotate(8deg);
    z-index: 1;
    opacity: 0.7;
}

.carousel__slide.active .carousel__img--1 {
    transform: translate(-3vw, -2vh) rotate(-4deg) scale(1.05);
}

.carousel__dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.dot.active {
    background: white;
    width: 30px;
    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: 60vh;
    }

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

    .carousel__info {
        text-align: center;
        order: 1;
    }

    .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: 10px;
    }

    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 {
        grid-template-columns: 1fr;
        gap: 4vh;
        text-align: center;
        padding-block: 6vh;
        padding-inline: 5vw;
    }

    .footer__socialmedia {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2vh;
    }

    .footer__socialmedia-link {
        height: auto;
        font-size: 14px;
    }

    img.footer__socialmedia-icon.image {
        width: 10vw;
        max-width: 50px;
    }
}

/* 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 */
}