@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wdth@85&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wdth@85&family=Leckerli+One&family=Roboto:ital,wght@0,100..900;1,100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap'); 
body {
    background-image: url("img/fondo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

header {
    font-family: Sour Gummy;
    width: 100%;
    height: 30%;
    background-image: url("../images/progreso.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 1980px 800px;
}

.navbar-brand img {
    border-radius: 5px;
    border: 3px solid #8B4513;
}

.nombre-empresa {
    border: 3px solid #8B4513;
}
.nombre-empresa h2 {
    background-image: url(../images/madera-azul.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding-left: 3px;
    padding-right: 3px;
    text-shadow: 
    -1px -2px 0 black,
    -1px 2px 0 black,
    2px 1px 0 black,
    2px -1px 0 black;
    margin: 0; 
    line-height: 1.2;
}

.hola {
    margin-left: 20px;
}
.hola ul {
    font-size: 17px;
}


.hola a {
    color: #FDFF3D;                    
    padding-top: 3px;   
    padding-bottom: 3px;       
    border-radius: 10px;         
    transition: all 0.3s ease;   
    position: relative;           
    letter-spacing: 0.5px;        
    text-transform: uppercase;    
    background-image: url(../images/madera-cafe.jpg);
    background-size: cover;
    background-position: center;
    margin-left: 7px;
    margin-right:7px;
}

.hola a {
    text-align: center;
}

.hola a:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    transform: translateY(-2px);
    font-size: 18px;
    color: white;
}


.navbar-nav {
    gap: 8px;  /* Espacio entre cada botón */
}


.lema {
    font-size: 20px;
}

.lema p{
    font-weight: bold;
    color: white;
    text-shadow: 
    -1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black,
    1px -1px 0 black;
}

    @media (min-width: 700px) and (max-width: 994px) {
        .navbar > .container-fluid {
            position: relative;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .navbar-toggler {
            order: 2;
            margin-left: 10px;
            border-color: white, solid 3px;
        }
        
        .collapse.navbar-collapse {
            order: 3;
            flex-basis: 100%;
            width: 100%;
        }
        
        .navbar-brand {
            order: 0;
        }
        
        .nombre-empresa {
            order: 1;
            margin: 0;
            text-align: center;
        }

        .nombre-empresa h2 {
            font-size: 50px;
        }
        
        .row.align-items-center {
            order: 4;
            width: 100%;
            text-align: center;
        }

        .hola a:hover {
            font-size: 20px;
            background-image: none;
        }

        .cuchara, 
        .cuchillo,
        .cuchara img,
        .cuchillo img {
           display: none;
        }
    }

    @media (min-width: 200px) and (max-width: 700px) {
        .row.align-items-center,.navbar-text {
        text-align: center !important;
        width: 100%;
        }

        .nombre-empresa {
            text-align: center;
        }

        .nombre-empresa h2 {
            font-size: 40px;
        }

        .hola a:hover {
            font-size: 20px;
            background-image: none;
        }
        .cuchara, 
        .cuchillo,
        .cuchara img,
        .cuchillo img {
            display: none;
        }   
    }

    @media (max-width: 550px) {
        .nombre-empresa h2{
            font-size: 30px;
        }

        .navbar-brand img{
            max-width: 70px;
            max-height: 70px;
        }

        section .titulo-bienvenida {
            font-size: clamp(3rem, .5vw, 4.5rem);
        }
    }

.navbar-toggler {
    background-color: #6B3E1A;  /* Café oscuro */
    border: 2px solid #FDFF3D;   /* Borde amarillo */
    border-radius: 8px;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(253, 255, 61, 0.5);  /* Sombra al hacer focus */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FDFF3D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Efecto hover */
.navbar-toggler:hover {
    background-color: #8B4513;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

section {
    text-align: center;
    place-items: center; 
    min-height: 400px;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 5px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("https://st4.depositphotos.com/1496410/20669/v/450/depositphotos_206694030-stock-illustration-seamless-blue-colored-checkered-table.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    margin-bottom: 10px;
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
}


.titulo-bienvenida{
    font-size: 70px;
    margin: 10px 0;       
    width: 100%;
    line-height: 1.2;
    font-family: 'Leckerli One';
    color: white;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 1.5);
}

.carousel-item {
    text-align: center;
    padding-top: 30px;
    min-height: auto;
}

.carousel-item img {
    display: inline-block;
    object-fit: contain; 
    max-height: 500px;
    width: auto !important;
    max-width: 100%; 
    margin: 0 auto;
    border-radius: 10px;
}

.carousel img {
  transition: all 0.3s ease;  
  cursor: pointer; 
}

.carousel img:hover {
  transform: scale(1.02);    
  filter: brightness(1.1);   
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(51%) sepia(97%) saturate(532%) hue-rotate(86deg) drop-shadow(0 0 2px yellow);
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FDFF3D'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FDFF3D'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    transform: translateY(-2px) scale(1.1);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px #FFD700);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(252, 129, 195, 0.7); 
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #FF63B7;  /* Café más oscuro al hover */
}

.carousel-fade .carousel-item {
  transition: opacity 0.9s ease-out;
  opacity: 1;
  transform: scale(1);
}

.carousel-fade .carousel-item.active.carousel-item-start {
  opacity: 0;
  transition: opacity 0.9s ease-out;
  transform: scale(0.95);
}

.carousel-fade .carousel-item.active.carousel-item-end {
  opacity: 0;
  transition: opacity 0.9s ease-out;
  transform: scale(0.95);
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transform: scale(1);
  animation: scaleIn 0.9s ease-out;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
  opacity: 0;
}

@keyframes scaleIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.carousel-indicators {
      filter: drop-shadow(0 0 2px white);
      font-weight: 900; 
}

.carousel-indicators {
  gap: 12px;
  margin-bottom: 10px;
}

.carousel-indicators button {
  background-color: #FDFF3D !important;
  height: 6px !important;
  width: 35px !important;
  border-radius: 10px;
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.carousel-indicators button:hover {
  opacity: 1;
  transform: scaleY(1.3); 
}

.carousel-indicators .active {
  background-color: #FDFF3D !important;
  height: 6px !important;
  width: 50px !important;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}


footer {
  background-color: black;
}

footer .row p{
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  color: white;
}

footer .row .nombre-creador-footer {
  color: yellow;
}

footer .row img {
  display: flex;
  justify-content: space-between;
}