/* ===============================
   RESET GENERAL
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  background-color: #121212;
  color: #f5f5f5;
  line-height: 1.6;
}

/* ===============================
   HEADER
   =============================== */
.header {
  position: relative;
  height: 80px;
  background-color: #1C1C1C;
  padding: 0 2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* LOGO */
.logo {
  height: 60px;
  transform: scale(1.4);
  transform-origin: left center;
  flex-shrink: 0;
}

/* MENÚ DE NAVEGACIÓN */
.nav-menu {
  display: flex;
  gap: 2em;
}

.nav-menu.show {
  display: flex;
}

.nav-menu a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #d4af37;
}

/* BOTONES DE IDIOMA */
.lang-switch {
  display: flex;
  gap: 0.0em;
}

.lang-switch button {
  background: none;
  border: 1px solid #d4af37;
  color: #d4af37;
  font-weight: bold;
  padding: 0.3em 0.7em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-switch button:hover {
  background: #d4af37;
  color: #1C1C1C;
}

/* ICONO HAMBURGUESA */
.hamburger {
  display: none;
  font-size: 1.5em;
  color: #d4af37;
  cursor: pointer;
}

/* ===============================
   HEADER RESPONSIVO
   =============================== */
@media (max-width: 768px) {
  .header {
    height: auto;
    flex-direction: column;
    padding: 1em;
  }

  .header-inner {
    flex-direction: row;
    width: 100%;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 15em;
    right: 0.2em;
    flex-direction: column;
    background-color: #2a2a2a;
    border-top: 1px solid #444;
    display: none;
    align-items: center;
    padding: 1em 0;
  }

  .nav-menu.show {
    display: flex;
  }

  .hamburger {
    display: block;
    margin-left: 1em;
  }
}

/* ===============================
   HERO PRINCIPAL
   =============================== */
.hero {
  background-image: url('../assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2em;
  border-radius: 10px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.4rem;
  color: #f5f5f5;
  margin-top: 1.5em;
  max-width: 600px;
  line-height: 1.8;
}

/* ===============================
   SECCIONES GENERALES
   =============================== */
.section {
  min-height: 80vh;
  padding: 4em 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section p {
  font-size: large;
  margin-bottom: 2em;
}
.section h2{
  font-size: x-large;
  margin-bottom: 2em;
}

.container {
  max-width: 900px;
  width: 100%;
}

/* Colores de secciones */
#hero      { background-color: #1C1C1C; }
#about     { background-color: #4b2e2b; }
#products  { background-color: #4B3B36; }
#gallery   { background-color: #2F2F2F; }
#contact   { background-color: #f7f0da; color: #1C1C1C; }

/* ===============================
   PRODUCTOS
   =============================== */
.product-grid {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}

.product-card {
  width: 250px;
  background: #1e1e1e;
  color: #f5f5f5;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.product-card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 0.5em;
}

.product-card .short-desc {
  font-size: 1em;
  color: #ccc;
  margin-top: 0.8em;
}

/* Overlay expandido de producto */
.product-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  animation: fadeInOverlay 0.4s ease forwards;
}

@keyframes fadeInOverlay {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.overlay-content {
  display: flex;
  background: #2e2e2e;
  padding: 2em;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  gap: 2em;
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 0.6s ease forwards;
  animation-delay: 0.2s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.overlay-content img {
  width: 50%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.details-box {
  flex: 1;
  background: linear-gradient(135deg, #3c3c3c, #2e2e2e);
  padding: 1.5em;
  border-radius: 8px;
  color: #f0f0f0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.details-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.details-box p {
  font-size: 1em;
  line-height: 1.6;
  color: #ddd;
}

/* Botón cerrar overlay */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d4af37;
  border: none;
  color: #1e1e1e;
  font-weight: bold;
  font-size: 1.2em;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: #e8c75a;
}

/* Vista móvil para overlay */
@media (max-width: 768px) {
  .overlay-content {
    flex-direction: column;
    padding: 1.5em;
  }

  .overlay-content img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }

  .details-box {
    margin-top: 1.5em;
  }
}

/* ===============================
   GALERÍA DESLIZABLE
   =============================== */
.gallery-wrapper {
  width: 100%;
  overflow: hidden;
}

.gallery-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1em;
  padding: 1em 0;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-carousel img {
  flex: 0 0 auto;
  height: 420px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.gallery-carousel img:hover {
  transform: scale(1.05);
}

/* Flechas para scroll */
.gallery-controls {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.gallery-arrow {
  background: #1c1c1c;
  color: #d4af37;
  border: 2px solid #d4af37;
  font-size: 1.2em;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-arrow:hover {
  background-color: #d4af37;
  color: #1c1c1c;
}

/* ===============================
   FOOTER
   =============================== */
.footer {
  background: #1a1a1a;
  color: #ccc;
  text-align: center;
  padding: 2em 1em;
}

/* ===============================
   VERIFICACIÓN DE EDAD
   =============================== */
.age-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-box {
  background: #2a2a2a;
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 2em;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.age-box h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1em;
  color: #d4af37;
}

.age-box p {
  margin-bottom: 1.5em;
}

.age-box .buttons button {
  background: none;
  border: 2px solid #d4af37;
  color: #d4af37;
  font-weight: bold;
  padding: 0.6em 1.2em;
  margin: 0 0.5em;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-box .buttons button:hover {
  background-color: #d4af37;
  color: #2a2a2a;
}

.age-reset-link {
  display: block;
  margin-top: 1em;
  font-size: 0.9rem;
  color: #999;
  text-decoration: underline;
  cursor: pointer;
}

.age-reset-link:hover {
  color: #d4af37;
}

/* === SUBSCRIBE SECTION === */
.subscribe-form {
  margin-top: 12em;
}

.subscribe-form input[type="email"] {
  padding: 0.8em;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  width: 280px;
  max-width: 100%;
  margin-right: 0.5em;  
}

.subscribe-form button {
  padding: 0.8em 1.5em;
  background-color: #d4af37;
  color: #1C1C1C;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 0.4em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.subscribe-form button:hover {
  background-color: #e8c75a;
}


.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
}

.about-image {
  position: relative;
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  aspect-ratio: 4 / 3; /* o usa height: 300px; si prefieres */
  border-radius: 12px;
  overflow: hidden;
}


.about-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}

.about-image img.active {
  opacity: 1;
  z-index: 1;
}


.about-text {
  flex: 1;
  text-align: left;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 2em;
}

.social-links a img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(1.3);
}

.social-links a:hover img {
  transform: scale(1.2);
  filter: grayscale(0%);
}


