/* ----------------------- */
/* BASE Y FUENTE GENERAL   */
/* ----------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: url('../img/fondo_2.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

/* ----------------------- */
/* GLASSMORPHISM COMPONENT */
/* ----------------------- */
.glass {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px;
}

/* ----------------------- */
/* ENCABEZADO Y MENÚ       */
/* ----------------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #222;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #b88f56;
}

/* ----------------------- */
/* BANNER DESLIZANTE       */
/* ----------------------- */

.contenedor-banner {
  width: 90%;
  max-width: 1200px;
  height: auto;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.banner-slider {
  width: 100%;
  position: relative;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  display: block;
  position: relative;
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}


/* ----------------------- */
/* HERO PRINCIPAL          */
/* ----------------------- */
.hero {
  text-align: center;
  margin: 40px auto;
  max-width: 700px;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.boton {
  display: inline-block;
  background: #b88f56;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.boton:hover {
  background: #a6783f;
}

/* ----------------------- */
/* CATEGORÍAS              */
/* ----------------------- */
.categorias {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 10%;
  flex-wrap: wrap;
}

.categoria-card {
  width: 250px;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.categoria-card:hover {
  transform: scale(1.05);
}

.categoria-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.categoria-card h3 {
  margin: 15px 0 5px;
}

.categoria-card p {
  margin-bottom: 15px;
  font-size: 0.95em;
}

/* ----------------------- */
/* PIE DE PÁGINA           */
/* ----------------------- */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9em;
  color: #555;
}
.categoria-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* Glassmorphism (ajusta si ya tienes algo similar) */
.glass {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ----------------------- */
/* TÍTULOS PRINCIPALES     */
/* ----------------------- */

/* Aplica estilo elegante a todos los títulos h1 */
h1, h1.titulo {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  text-align: center;
  margin: 20px 0;
  color: gold;
}

/* Opcional: estiliza subtítulos o h2 */
h2 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

.producto-img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider img {
  width: 100%;
  height: auto;
  flex: 0 0 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Botones */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.1);
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 2;
  color: white;
  transition: background 0.3s;
}

.slider-btn:hover {
  background-color: rgba(0,0,0,0.2);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.tallas {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  color: #fff;
  max-width: 600px;
  width: 100%;
}

.color-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-start;
}


.color-option {
  padding: 14px 28px;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.color-option:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
  color: #000;
}

.color-option.selected {
  background: rgba(255, 255, 255, 0.45);
  border-color: gold;
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
}

/* Aumentar tamaño del logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem; /* tamaño del texto "Cordero & León" */
  font-family: 'Cursive', serif; /* opcional: para una tipografía más elegante */
  gap: 10px; /* separación entre imagen y texto */
  text-decoration: none;
  color: #000;
}

.logo img {
  height: 80px; /* Aumenta el tamaño del logo */
  width: auto;
}

nav {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1rem 2rem;
  margin: 20px auto;
  max-width: 1000px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

nav li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: background 0.3s, color 0.3s;
  display: inline-block;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content a {
  width: 100%;
  padding: 0.75rem 1rem;
  display: block;
  color: #000;
  font-weight: 400;
  border-radius: 0;
}

.dropdown-content a:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .dropdown-content {
    position: relative;
    width: 100%;
  }
}


