@font-face {
    font-family: 'Season Mix';
    src: url('../fonts/SeasonMix-TRIAL-Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* @font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/fonnts.com-Basic_Sans_Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
} */

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/fonnts.com-Basic_Sans_Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}



html {
    scroll-padding-top: 7rem;
    height: 100%;
}

body {
    font-family: 'Season Mix', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
}

main {
    flex: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
    text-decoration: none;
    color: inherit;
}



.suTitulo {
    color: red
}




.my-navbar {
    width: 100%;
    background-color: #990012;
    height: 7rem;
    /* padding-top: 20px; */
    padding-bottom: 5px;
    padding-left: 10rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: space-evenly; */
    column-gap: 10%;
}



.my-navbar-items {
    margin-top: 20px;
    font-size: larger;
    color: white;
    display: flex;
    flex-direction: row;
    /* width: 100%; */
    justify-content: center;
    column-gap: 5rem;
    list-style-type: none;
    align-items: center;
}

.my-navbar-items li a {
    position: relative;
    display: inline-block;
}

.nav-active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
    /* distancia respecto al texto */
    width: 170%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}


.navbar-logo {
    width: auto;
    height: 80px;
}



.navbar-shop-logo {
    width: auto;
    height: 55px;
    margin-left: 10%;
    cursor: pointer;
    display: none;
}


/* .main-image{

} */

/* .main-section {
  height: 100vh;
  background-image: url("src/vaso_cafe.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} */



.main-section {}

.slider-container {
    width: 50%;
}

.slider-wrapper {
    position: relative;
    /* max-width: 48rem; */
    margin: 0 auto;

}

.slider-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    /* qué tanto cubre hacia arriba */

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0));

    z-index: 1;
}

.slider {
    display: flex;
    /* aspect-ratio: 16 / 9; */
    height: calc(100vh - 7rem);
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    /* border-radius: 0.5rem; */
}



.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;

}


.slider-overlay {
    position: absolute;
    bottom: 10%;
    left: 10%;
    color: white;
    z-index: 2;
}

.slider-overlay h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.slider-overlay p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.slider-overlay button {
    padding: 12px 18px;
    width: 135px;
    /* border-radius: 6px; */
    border: 2px solid #dccdbd;
    background-color: #dccdbd;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
}


/* Footer */

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: black;
    padding: 100px 0px;
}


.footer-main-menu {
    display: flex;
    flex-direction: column;
    color: white;
    gap: 1rem;
    margin-right: 80px;
}


#footer-logo {
    width: 200px;
    height: 200px;
}

.footer-socialmedia {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}


.footer-socialmedia img {
    width: 16px;
    height: 34px;
}

.footer-socialmedia a:first-child img {
    width: 34px;
}



/* Sidebar shopping cart */



.offcanvas {
    width: 380px;
    background-color: #f3efeb;
}

.offcanvas-header {
    border-bottom: 2px solid #d8c7b8;
}

.offcanvas-body {
    padding: 2rem;
}



.ubicaciones-section {
    width: 100%;
    background: #f4f1ee;
    padding: 70px 8%;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.ubicacion-card {
    display: flex;
    flex-direction: column;
}

.ubicacion-card h2 {
    color: #c61d18;
    font-size: 2.3rem;
    margin-bottom: 25px;
}

.ubicacion-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    font-family: 'Basic Sans', sans-serif;
}

.foto-sucursal {
    width: 360px;
    height: 240px;
    object-fit: cover;
}

.datos-sucursal {
    flex: 1;
}

.datos-sucursal h3 {
    color: #c61d18;
    margin-bottom: 8px;
}

.telefono {
    color: black;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.datos-sucursal h4 {
    margin-bottom: 15px;
}

.horarios {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.horarios div {
    display: flex;
    justify-content: space-between;
    max-width: 360px;
}

.mapa {
    width: 360px;
    height: 240px;
    object-fit: cover;
}

@media (max-width: 768px) {

    .my-navbar {
        flex-direction: row;
        height: 70px;
        padding: 1rem;
        /* gap: 1rem; */
        justify-content: space-between;
        align-items: center;
    }


    .my-navbar-items {
        display: none;
    }

    .navbar-logo {
        height: 40px;
    }


    .navbar-shop-logo {
        /* height: 40px;
        margin-left: 0; */
        display: none;
    }

    .slider img {
        object-fit: cover;
    }


    /* Layout principal */
    .main-section-aboutus {
        flex-direction: column;
    }

    /* Slider ocupa todo el ancho */
    .slider-container {
        width: 100%;
    }

    .slider {
        height: calc(100dvh - 10rem);
        /* más controlado en móvil */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }



    /* Texto abajo del slider */
    .aboutus-text {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .text-container {
        align-items: center;
        text-align: center;
    }

    .aboutus-p {
        max-width: 100%;
        text-align: justify;
    }


    footer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 50px 20px;
        text-align: center;
    }

    #footer-logo {
        width: 80px;
        height: auto;
    }

    .footer-main-menu {
        margin-right: 0;
    }

    .footer-socialmedia {
        flex-direction: row;
        gap: 1.5rem;
    }

    .footer-socialmedia img {
        width: auto;
        height: 20px;
    }

    #footer-insta {
        height: 25px !important;
    }

    .ubicacion-info {
        flex-direction: column;
        align-items: center;
    }

    .foto-sucursal,
    .mapa {
        width: 100%;
        max-width: 450px;
        height: auto;
    }

    .datos-sucursal {
        width: 100%;
    }

    .horarios div {
        max-width: 100%;
    }

}

/* Dropdown store navbar item */

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    background-color: #cbb59c;
    border: none;
    padding: 10px 0;
    position: absolute;
    left: -50px !important;
    /* transform: translateX(-30px); */
    top: 40px !important;
    margin-top: 10px;
    min-width: 200px;
    opacity: 0.95;
    border-radius: 0px;
}

.dropdown-item {
    color: #1b0e06;
    /* font-size: 0.9rem; */
    padding: 10px 20px;
    text-align: center;
    height: 22px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: transparent !important;
    color: inherit;
    text-decoration: underline;
}