* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  body {
    background-color: #111;
    color: white;
    padding-top: 80px;
  }

  /* Estilos para los filtros de categoría */
  .category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .category-filters button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
  }

  .category-filters .color-button, .category-filters .comedor-button {
    position: relative;
  }

  .color-options, .comedor-options {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    border-radius: 15px;
    padding: 10px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 100%;
    z-index: 100;
  }

  .color-button:hover .color-options,
  .comedor-button:hover .comedor-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .color-options button, .comedor-options button {
    display: block;
    width: 100%;
    text-align: left;
    margin: 5px 0;
    white-space: nowrap;
  }

  .category-filters button:hover {
    background-color: #f4c26b;
    color: #111;
    transform: translateY(-2px);
  }
    
    /* HEADER */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 50px;
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      background: transparent;
      transition: background 0.3s ease, padding 0.3s ease;
      z-index: 1000;
    }
    
   
  header.scrolled {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 50px;
  }
  
  /* Logo */
  .logo-container h1 {
    color: white;
    font-size: 1.4rem;
    font-weight: 400;
  }
  .logo-img {
    height: 60px;
    object-fit: contain;
  }
  
  
  /* NAV */
  nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  nav ul li {
    margin: 0 15px;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    padding: 10px 15px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
  }
  
  nav ul li a:hover {
    transform: scale(1.1);
    color: #f4c26b;
    border-bottom: 2px solid #f4c26b;
  }
  
  /*Barra de busqueda */
  .search-container {
    display: flex;
    align-items: center;
    background-color: #222;
    border-radius: 20px;
    padding: 5px 12px;
    height: 35px;
    margin-left: 20px;
    min-width: 200px;
    transition: all 0.3s ease;
  }

  .search-container:focus-within {
    background-color: #333;
    box-shadow: 0 0 10px rgba(244, 194, 107, 0.3);
  }
  
  .search-container input {
    border: none;
    outline: none;
    background: transparent;
    color: white;
    padding: 5px;
    font-size: 14px;
  }
  
  .search-container button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding-left: 5px;
    position: relative;
    top: -7px;
  }
  
  .search-container button:hover {
    transform: scale(1.2);
    color: #f4c26b;
  }

  
/* Estilos para el menú desplegable */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 4px;
    padding: 8px 0;
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.dropdown-content a:hover {
    color: #f4c26b;
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*termina*/

  /*TITULO*/
  .titulo-catalogo {
    margin-top: 100px;
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
  }
  
  /*PRODUCTOS */
  .grid-mueblerias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
  }
  
  .muebleria {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  
  .muebleria:hover {
    transform: scale(1.02);
  }
  
  .muebleria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  .muebleria .info {
    padding: 1rem;
    text-align: center;
    color: #fff;
  }
  
  .muebleria h3 {
    color: #f4bb59;
    margin: 0.5rem 0;
  }
  
  /* Modal */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  }

  .modal.active .modal-content {
    transform: scale(1);
  }

  .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
  }

  .modal-close:hover {
    color: #f4c26b;
  }

  .modal-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-color: #1a1a1a;
    padding: 1rem;
  }

  .modal-details {
    color: #fff;
    padding: 0 1rem;
  }

  .modal-details h2 {
    color: #f4c26b;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #f4c26b;
    padding-bottom: 0.5rem;
  }

  .modal-details p {
    margin: 0.8rem 0;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #e0e0e0;
  }

  /* PARA CEL */ 
  @media (max-width: 900px) {
    .grid-mueblerias {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .grid-mueblerias {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .social-sidebar {
        left: 10px;
        bottom: 20px;
    }
}


/* Estilos para el menú móvil */
.menu-toggle {
   
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute; /* <-- clave */
  top: 25px;
  left: 25px;
  z-index: 2000;
}



.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #111;
        transition: 0.3s;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .search-container {
        margin: 15px 0;
        width: 80%;
    }
}

.cuadros-iconos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background-color: #1a1a1a;
  margin: 40px 50px;
  border-top: 1px solid  #f4c26b;
  border-bottom: 1px solid  #f4c26b;
}

.cuadro-icono {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border-left: 1px solid  #f4c26b;
  border-right: 1px solid  #f4c26b;
  color: white;
  text-align: center;
}

.cuadro-icono img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: brightness(0.8) sepia(1) hue-rotate(30deg) saturate(5); /* Estilo tipo línea clara beige */
  filter: none; /* evita que se vea verde */
}

.cuadro-icono p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.cuadro-icono h5 {
  font-size: 1 rem;
  line-height: 1.4;
}

.materiales-texto {
  max-width: 1000px;
  margin: 30px auto 10px auto;
  text-align: center;
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.6;
  padding: 0 20px;
}
.materiales-texto strong {
  color: #f4c26b;
}


