
@font-face {
    font-family: 'Season Mix';
    src: url('../fonts/SeasonMix-TRIAL-Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



html {
  scroll-padding-top: 7rem;
}

body {
     font-family: 'Season Mix', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
  text-decoration: none;
  color: inherit;
}


h1{
    font-size: 2.1rem;
}

h2{
    font-size: 1.4rem;
}

h3{
    font-size: 1rem;
}




.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 {
    width: 100%;
    background-color: #990012;
    height: 7rem;
    padding: 0 2rem;  */
    /* 👈 cambio clave */
    /* display: flex;
    align-items: center;
    justify-content: space-evenly;  */
    /* 👈 mejor distribución */
/* } */


.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 {
    display: flex;
    gap: 5rem;  */
    /* 👈 en vez de 5rem */
    /* list-style: none;
    color: white;
} */

.navbar-logo{
    width: auto;
    height: 80px;
}



.navbar-shop-logo{
    width: auto;
    height: 55px;
    margin-left: 10%;
    cursor: pointer;
}


/* .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{
    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;

}




.main-section-aboutus{
    display: flex;
    background-color: #f1edea;
    width: 100%;
}

.aboutus-text{
    width: 50%;
}

.text-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
}


.aboutus-p{
    text-align: justify;
    max-width: 300px; /* controla el ancho del bloque */
}



/* Contacto */



.main-section-contact{
    background-color: #f1edea ;
    height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}

.main-section-contact h1{
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.contact-body{
  display: flex;
  flex-direction: column;
  width: 70%;
  max-width: 1000px;
  gap: 2rem;
}

.contact-top{
    display: flex;
    gap: 2rem;

}


.contact-top div{
    display: flex;
    flex-direction: column;
    width: 50%;
}

.contact-input{
    height: 45px;
    border: 2px solid #dccdbd;
    border-radius: 6px;
    padding: 0 10px;
    background-color: transparent;
}

.contact-text{
    width: 100%;
    height: 200px;
    border: 2px solid #dccdbd;
    border-radius: 6px;
    padding: 10px;
    resize: none;
    background-color: transparent;
}


.contact-bottom{
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
}


.send-button{
    width: 100px;
    height: 50px;
    color: white;
    background-color: #1b0e06;
    border: none;
    margin-top: 2rem;
    align-self: flex-start;
    cursor: pointer;
}



/* Artículo */


/* 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;
}



@media (max-width: 768px) {

    /* NAVBAR */
    .my-navbar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .my-navbar-items {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .navbar-logo {
        height: 60px;
    }

    .navbar-shop-logo {
        height: 40px;
        margin-left: 0;
    }

    /* SLIDER */
    .slider {
        height: 300px; /* 👈 ya no ocupa toda la pantalla */
    }

    .slider img {
        object-fit: cover;
    }

    /* FOOTER */
    footer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 50px 20px;
        text-align: center;
    }

    #footer-logo {
        width: 120px;
        height: auto;
    }

    .footer-main-menu {
        margin-right: 0;
    }

    .footer-socialmedia {
        flex-direction: row;
        gap: 1.5rem;
    }

    .footer-socialmedia img {
        width: 24px;
        height: 24px;
    }
}



img {
    max-width: 100%;
    height: auto;
}


/* Sidebar shopping cart */



.offcanvas {
    width: 380px;
    background-color: #f3efeb;
}

.offcanvas-header {
    border-bottom: 2px solid #d8c7b8;
}

.offcanvas-body {
    padding: 2rem;
}





/* Dropdown store navbar item */

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    background-color: #cbb59c; 
    border: none;
    padding: 10px 0;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 10px;
}

.dropdown-item {
    color: #1b0e06;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: #b79f84;
    color: black;
    text-decoration: underline
}