/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #0b0b0b;      /* Fondo principal casi negro */
    --bg-panel: #141414;     /* Fondo de secciones */
    --gold: #c5a059;         /* Color dorado/cobre premium */
    --gold-light: #e5cca0;   /* Dorado claro para hovers */
    --text-main: #dcdcdc;    /* Texto gris claro */
    --text-muted: #888888;   /* Texto secundario */
    --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cormorant Garamond', serif; /* Elegante para textos largos */
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- TIPOGRAFÍA --- */
h1, h2, h3, h4, .logo, button {
  font-family: 'Cinzel', serif; /* Elegante para títulos */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: rgba(11, 11, 11, 0.95); /* Semitransparente */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1); /* Línea sutil dorada */
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px; /* Espacio entre el logo y el texto */
}

.logo-img img {
  height: 55px; /* Altura ajustada para que no deforme la barra */
  width: auto;
  object-fit: contain;
  
  /* --- TRUCO DE COLOR --- */
  /* Si tu logo original es negro y no se ve en el fondo oscuro, 
     quita los símbolos de comentario de la línea de abajo para volverlo blanco: */
     
}

.logo {
  font-size: 1.2rem; /* Ajustado ligeramente para balancear con la imagen */
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1;
}

/* Ajuste para móvil para que el logo no ocupe toda la pantalla */
@media screen and (max-width: 480px) {
  .logo-img img {
      height: 40px;
  }
  .logo {
      font-size: 1rem;
  }
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.navbar a {
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--gold);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 5% 4rem;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  position: relative;
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

.hero-texto {
  flex: 1;
  max-width: 500px;
  z-index: 2;
}

.hero-texto h3 {
  font-family: 'Lato', sans-serif; /* Contraste moderno */
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.hero-texto h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.separator {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-texto p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-main);
  font-weight: 300;
}

/* Botones Dorados */
button, .btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

button:hover, .btn-outline:hover {
  background-color: var(--gold);
  color: #000;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.hero-imagen {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Glow detrás de la botella */
.glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197,160,89,0.2) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-imagen img {
  max-width: 280px; /* Botella más esbelta */
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* --- SECCIONES GENERALES --- */
.section-dark {
    background-color: var(--bg-dark);
    padding: 6rem 10%;
}

.section-darker {
    background-color: #050505; /* Un poco más oscuro para contraste */
    padding: 6rem 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.separator-center {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* Grid de Features (Dualidad) */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 5rem;
    text-align: center;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.feature-item .icono {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Estilos "Sobre Nosotros" e "Historia" integrados */
.sobre-contenido, .historia-contenido {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Invertir orden visual en Historia para dinamismo */
.historia-contenido {
    flex-direction: row-reverse;
}

.sobre-imagen img, .historia-imagen img {
    width: 100%;
    max-width: 500px;
    border-radius: 2px;
    /* Filtro para que las imágenes se vean más "oscuras/premium" */
    filter: brightness(0.8) contrast(1.1);
    transition: 0.3s;
}

.sobre-imagen img:hover, .historia-imagen img:hover {
    filter: brightness(1);
}

.sobre-texto, .historia-texto {
    flex: 1;
}

.sobre-texto h4, .historia-texto h4 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.historia-texto .date {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
    font-family: 'Cinzel', serif;
}

/* --- CONTACTO & FOOTER --- */
.contacto-contenido {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 4rem 2rem;
    background: radial-gradient(circle, #151515 0%, #0b0b0b 100%);
}

.contacto-contenido h4 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

footer {
    background-color: #000;
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.badge {
    color: var(--gold);
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.badge i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    padding: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    color: #555;
    font-size: 0.8rem;
}

.footer-text a{
  text-decoration: none;
  color: #555;
}

/* --- RESPONSIVE (Móvil) --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    background-color: var(--gold); /* Hamburguesa dorada */
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* --- ESTILOS SECCIÓN PRÓXIMAMENTE (Actualizado para Galería) --- */
.seccion-proximamente {
    padding: 60px 20px;
    background-color: #1a1a1a;
    text-align: center;
    color: #fff;
    position: relative; /* Necesario para el modal */
}

.contenedor-proximo {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-proximo {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: serif;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.galeria-proxima {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tarjeta-producto {
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MARCO E IMAGEN: Ajustados para que se vea la botella completa */
.marco-imagen {
    width: 100%;
    height: 450px; /* Un poco más alto para botellas largas */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    background-color: transparent; /* Fondo transparente para que se funda */
    cursor: pointer; /* Indica que se puede hacer clic */
}

.marco-imagen img.img-trigger {
    max-width: 100%;
    max-height: 100%;
    width: auto; /* Deja que el ancho se ajuste automáticamente */
    height: auto; /* Deja que el alto se ajuste automáticamente */
    object-fit: contain; /* CLAVE: Esto asegura que toda la imagen se vea dentro del marco */
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); /* Sombra a la silueta de la botella */
}

.tarjeta-producto:hover .marco-imagen img.img-trigger {
    transform: scale(1.03);
}

.tarjeta-producto h3 {
    font-size: 1.5rem;
    margin: 10px 0 5px 0;
    font-family: serif;
    color: #f0f0f0;
}

.tarjeta-producto p {
    font-size: 1rem;
    color: #aaa;
    font-style: italic;
}

/* --- ESTILOS DEL MODAL (GALERÍA GRANDE) --- */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 9999; /* Por encima de todo */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Fondo negro semitransparente */
}

.modal-contenido {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh; /* Altura máxima del 85% de la ventana */
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.cerrar-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.cerrar-modal:hover,
.cerrar-modal:focus {
    color: #d4af37;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {




    .hero {
        padding-top: 7rem;
        text-align: center;
    }

    .hero-content-wrapper {
        flex-direction: column-reverse; /* Texto abajo imagen en móvil */
        gap: 2rem;
    }

    .hero-texto h2 {
        font-size: 2.5rem;
    }
    
    .separator { margin: 1.5rem auto; }

    .navbar ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-bottom: 1px solid var(--gold);
    }

    .navbar ul.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .sobre-contenido, .historia-contenido {
        flex-direction: column;
        text-align: center;
    }
    
    .historia-contenido { flex-direction: column; } /* Reset del reverse */
    
    .features-grid { gap: 3rem; }
}

