body{
    font-family: 'DM Serif Display';
    margin: 0;
    padding: 0;
    background-color: rgb(249, 249, 240);
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 64px;
    background-color: rgb(249, 249, 240);
    position: relative;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    transition: all 0.5s ease;
}

.nav-links li{
    margin-left: 24px;
}

.nav-links a{
    text-decoration: none;
    color: black;
    font-size: 17px;
    padding: 8px 24px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #EBDECF;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.menu-icon .line{
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}

#menu-toggle {
    display: none;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 18px;
    padding: 8px -4px;
    position: relative;
}

.header {
    position: relative;
    z-index: 10;
}

@media(max-width: 768px) {
    .navbar{
        padding: 16px;
    }
    .menu-icon {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 70px;
       left: -50px;
        width: 200%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        background-color: rgb(249, 249, 240);
        text-align: center;
        transition: height 0.5s ease;
    }

    .nav-links li {
        margin: 0;
        padding: 20px 0;
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 20px;
    }

    #menu-toggle:checked + .menu-icon +.nav-links {
        height: 100vh;
    }

    #menu-toggle:checked + .menu-icon .line:nth-child(1) {
        transform: rotate(45deg) translate(15px, 3px);
    }
    #menu-toggle:checked + .menu-icon .line:nth-child(2) {
        transform: scale(0);
    }
    #menu-toggle:checked + .menu-icon .line:nth-child(3) {
        transform: rotate(-45deg) translate(15px, -4px);
    }
    .header{

        min-height: 0vh;
    }
    .header-content{
        padding: 100px 30px;
    }
    .header-content p{
        padding: 0;
    }
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: (0,0,0,0.3);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    z-index: 2;
    padding: 0 2rem;
    color: white;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-family: 'DM Serif Display';
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    padding: 1%;
    color: white;
    font-family: 'Lora';
}

@media(max-width:768px) {
   .carousel-caption h1 {
    font-size: 2rem;
   }
   .carousel-caption p{
    font-size: 1rem;
   }
   .carousel-caption {
    text-align: center;
   }
}

.carousel-indicators {
    bottom: 20px;
}
#indicators {
    margin-bottom: 50px;
}

.coffee {
    padding: 100px 0;
    position: relative;
}

.coffee-img,
.coffee-imagen {
    position: absolute;
    width: 300px; 
    opacity: 0.8;
    z-index: 1;
}

.coffee-img {
    top: 0px;
    right: 0;
    position: absolute;
    transform: rotate(-90deg);
}

.coffee-imagen {
    bottom: 0px;
    left: 0;
    transform: rotate(90deg);
    position: absolute;
}

.dedicatoria-content {
        position: relative;
        z-index: 2;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.8); 
        padding: 40px;
        border-radius: 20px; 
        margin: 0 auto;
        max-width: 900px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

.dedicatoria-content h2 {
    font-size: 45px;
    line-height: 70px;
    font-family: 'DM Serif Display';
    color: black;
    padding: 0 20px;
    margin-bottom: 15px;
}

.txt-p {
    font-size: 16px;
    color: black;
    padding: 0 100px;
    margin-bottom: 35px;
    font-family: 'Raleway';
}

.general {
    display: flex;
}

.general-1 {
    width: 100%;
    max-width: 600px;
    margin: 20 auto;
    margin-top: 85px;
    padding: 0 20px;
}

.general-2 {
    background-image: url(imagenes/img6.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
    height: 450px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
    border-radius: 16px; 
    margin: 20px auto; 
}
.general-3 {
    background-image: url(imagenes/img21.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
    height: 450px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
    border-radius: 16px; 
    margin: 20px auto; 
}

h2 {
    font-size: 40px;
    font-family: 'DM Serif Display';
    color: black;
    text-align: center;
    padding: 3%;
}

p {
    font-size: 16px;
    color: black;
    font-family: 'Raleway';
    text-align: center;
}
.btn-1 {
    display: block;
    width: fit-content;
    margin: 45px auto 0;
    padding: 11px 35px;
    background-color: #EBDECF;
    color: black;
    text-transform: uppercase;
    font-family:'DM Serif Display';
    border-radius: 10%;
}

.btn-1:hover {
    background-color: #d5c2ac;
    border-radius: 10%;
}

.footer {
    padding: 20px 0;
    background-color: #d0ab7a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

p {
    font-size: 18px;
    color: black;
    margin-bottom: 5px;
    text-align: center;
}

.social-icons {
    margin-top: 5px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 18px;    
    color: black;         
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2); 
}

@media(max-width:991px){
    .header {
        min-height: 0vh;
    }
    .header-content {
        padding: 100px 30px;
    }
    .header-content p{
        padding: 0%;
    }

    .coffee {
        padding: 30px;
    }
    .coffee-content h2 {
        padding: 0%;
    }

    .txt-p {
        padding: 0%;
    }

    .coffee-group {
        flex-direction: column;
        margin-bottom: 0;
    }

    .coffee-img {
        display: none;
    }

    .coffee-imagen {
        display: none;
    }

    .general {
        flex-direction: column;
    }

    .general-1 {
        width: 100%;
        padding: 30px;
        text-align: center;
    }

    .general-2, .general-3{
        display: none;
    }

    .footer {
        padding: 30px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
.gallery-header {
    text-align: center;
    padding: 20px;
    margin: 60px auto 0 auto; 
    font-family: 'DM Serif Display', serif;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 20px; 
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 20px;
    font-family: 'Raleway', sans-serif;
    color: #5c4c4c;
}

.body-gallery {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
}

.swiper {
    width: 100%;
    padding: 150px 0 50px 0;
}

.swiper-slide {
    width: 500px;
    height: 600px;
    background-color: rgb(249, 249, 240);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    padding: 40px;
}

.icons{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.icons img{
    width: 40px;
}

.product-content {
    display: flex;
    justify-content: center;
}

.product-img {
    flex-basis: 50%;
}

.product-img img {
    width: 330px;
}

.logo-barra {
    display: flex;
    align-items: center;
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    color: #000000;
    text-decoration: none;
  }
  
  .logo-mini {
    width: 20px; 
    height: auto;
    margin-left: 10px;
  }

.biografia-seccion {
    padding: 80px 0;
    position: relative;
    background-color: rgb(249, 249, 240);
}

.biografia-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.biografia-img {
    margin-top: 70px;
}

.biografia-img img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.biografia-texto {
    flex: 1;
    text-align: left;
}

.biografia-texto h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: #000;
}

.biografia-texto p {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.biografia-marco {
    position: relative;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.decor-top-left,
.decor-top-right,
.decor-bottom-left,
.decor-bottom-right {
    position: absolute;
    width: 100px;
    height: auto;
    opacity: 0.5;
}

.decor-top-left {
    transform: rotate(180deg); 
    top: 0;
    left: 0;
}

.decor-top-right {
    transform: rotate(280deg); 
    top: 0;
    right: 0;
}

.decor-bottom-left {
    transform: rotate(90deg);
    bottom: 0;
    left: 0;
}

.decor-bottom-right {
    bottom: 0;
    right: 0;
}
.biografia-invertida .biografia-contenido {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .biografia-contenido {
        flex-direction: column;
        text-align: center;
    }
    .biografia-texto {
        text-align: center;
    }
    .decor-top-left,
    .decor-top-right,
    .decor-bottom-left,
    .decor-bottom-right {
        width: 80px;
    }
}
  
  .homenaje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 50px auto 80px auto;
  }
  
  .homenaje-card {
    background-color: #fdf9f3;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .homenaje-img {
    width: 80%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  
  .homenaje-texto p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
  }
  
  .homenaje-texto .autor {
    font-size: 14px;
    font-style: italic;
    color: #888;
  }
