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

  
  /* Logo */
  .logo-container h1 {
    color: white;
    font-size: 1.4rem;
    font-weight: 400;
  }
  .logo-img {
    height: 60px; /* puedes ajustar el tamaño */
    object-fit: contain;
  }
  
  
  /* NAV */
  nav ul {
    display: flex;
  align-items: center; /* Centra verticalmente todo en el nav */
  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; /* Color dorado al pasar el mouse */
  border-bottom: 2px solid #f4c26b; /* Opcional: subrayado animado */
  }
  
  /*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; /* 🔼 Sube ligeramente la lupa */
  }
  
  .search-container button:hover {
    transform: scale(1.2); /* Agranda al pasar el mouse */
    color: #f4c26b; /* Cambia el color, opcional */
  }
  
  
/* 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;
}


.container h1 {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    color: #f4c26b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}
/* Estilos para el 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: #000000;
    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-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;
}

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

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

/* 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;
}

.category-filters button:hover {
    background-color: #f4c26b;
    color: #111;
    transform: translateY(-2px);
}

.muebleria-button {
    position: relative;
}

.muebleria-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: 150px;
    z-index: 100;
}

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

.muebleria-options button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 15px;
    margin: 5px 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.muebleria-options button:hover {
    background-color: #f4c26b;
    color: #111;
    border-radius: 12px;
}

/* Estilos para la cuadrícula de productos */
.productos-grid {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.muebleria {
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.muebleria:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(244, 194, 107, 0.3);
}

.muebleria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #f4c26b;
}

.muebleria .info {
    padding: 20px;
}

.muebleria .info h3 {
    color: #f4c26b;
    margin: 10px 0;
    font-size: 1.4rem;
}

.muebleria .info p {
    color: #e0e0e0;
    margin: 5px 0;
    font-size: 1rem;
}


/* Estilos para el header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(17, 17, 17, 0.95);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(17, 17, 17, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 10px;
    }

    .container h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .category-filters {
        flex-wrap: wrap;
    }

    .modal-content {
        width: 95%;
        padding: 1rem;
    }

    .modal-image {
        height: 300px;
    }
}

@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%;
    }
}



