/* ====== BASE ====== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0d0d0d;
    color: #fff;
}

/* ====== HERO ====== */
#hero {
    background: #4a0d16;
    padding: 120px 20px;
    text-align: center;
}

#hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* ====== PRÓXIMOS EVENTOS ====== */
#proximos-eventos {
    padding: 80px 20px;
    text-align: center;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.evento-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 20px;
}

.evento-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.evento-card h3 {
    margin: 15px 0 5px;
    font-size: 1.3rem;
}

.evento-card .fecha,
.evento-card .lugar,
.evento-card .precio {
    margin: 5px 0;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #d8b98a;
    color: #000;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
}

/* ====== GALERÍA ====== */
#ultimos-eventos {
    padding: 80px 20px;
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.galeria-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* ====== CTA ====== */
#cta {
    background: #4a0d16;
    padding: 80px 20px;
    text-align: center;
}

#cta .btn {
    background: #ffd9a8;
}

/* ====== FOOTER ====== */
footer {
    text-align: center;
    padding: 20px;
    background: #0a0a0a;
    opacity: 0.8;
}
/* ===== UVITA FLOTANTE ===== */
.uvita-wsp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 110px;   /* AUMENTADO */
    height: 110px;  /* AUMENTADO */
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.uvita-wsp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.uvita-wsp:hover {
    transform: scale(1.1);
}


/* ===== VINILO PREMIUM ===== */
.vinilo {
    width: 160px;
    height: 160px;
    margin: 40px auto;
    animation: girar 12s linear infinite;
}

.vinilo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Giro suave */
@keyframes girar {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* ===== VINILO FLOTANTE IZQUIERDA ===== */
.vinilo-flotante {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 90px;
    height: 90px;
    z-index: 999;
    cursor: pointer;
    animation: vinilo-giro 12s linear infinite;
    transition: transform 0.2s ease;
}

.vinilo-flotante img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vinilo-flotante:hover {
    transform: scale(1.1);
}

/* Giro suave */
@keyframes vinilo-giro {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* ===== VINILO FLOTANTE PLAY/PAUSE ===== */
.vinilo-player {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 90px;
    height: 90px;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s ease;

    display: flex;
    justify-content: center;
    align-items: center;

    transform-origin: center center;
}

.vinilo-player img {
    width: 150%;
    height: 150%;
    object-fit: contain;
    display: block;

    /* CLAVE: la rotación la maneja JS */
    transform-origin: center center;
}

.vinilo-player:hover {
    transform: scale(1.1);
}
/* ===== GLOW RUBÍ CUANDO ESTÁ EN PLAY ===== */
.vinilo-player.glow-on {
    filter: drop-shadow(0 0 12px rgba(212, 40, 60, 0.8))
            drop-shadow(0 0 22px rgba(212, 40, 60, 0.5));
}
/* ===== PULSO SUAVE UVITA ===== */
.uvita-wsp {
    animation: uvita-pulso 2.2s ease-in-out infinite;
}

@keyframes uvita-pulso {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}
/* ===== ALINEACIÓN PERFECTA EN MOBILE ===== */
@media (max-width: 600px) {

    .vinilo-player {
        bottom: 20px;   /* Ajuste fino */
        width: 75px;
        height: 75px;
    }

    .uvita-wsp {
        bottom: 20px;   /* Igual que el vinilo */
        width: 90px;    /* Un poco más grande por el PNG */
        height: 90px;
    }
}
/* ===== LOS VINOS DEL MES ===== */
#vinos-del-mes {
    padding: 60px 20px;
    text-align: center;
}

#vinos-del-mes h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.vinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vino-card {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.2s ease;
}

.vino-card:hover {
    transform: scale(1.03);
}

.vino-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.vino-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.vino-card .descripcion {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.vino-card .retiro {
    font-size: 0.95rem;
    color: #d4283c;
    font-weight: bold;
}
/* ===== SELLO HERO (SEMITRANSPARENTE + GLOW RUBÍ) ===== */
.hero-sello {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.hero-sello img {
    width: 140px;
    opacity: 0.35; /* semitransparente elegante */
    filter: drop-shadow(0 0 6px rgba(212, 40, 60, 0.6))
            drop-shadow(0 0 12px rgba(212, 40, 60, 0.4));
    pointer-events: none; /* no bloquea clics */
}

/* MOBILE */
@media (max-width: 600px) {
    .hero-sello {
        top: 20px;
        left: 20px;
    }

    .hero-sello img {
        width: 100px;
        opacity: 0.3;
    }
}
/* ===== ACLARADO LOCAL DETRÁS DEL SELLO ===== */
.hero-sello::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 160%;
    height: 160%;
    transform: translate(-20%, -20%);
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.12) 40%,
        rgba(255, 255, 255, 0) 75%
    );
    z-index: -1;
    pointer-events: none;
}

/* Ajuste del contenedor para que el overlay funcione */
.hero-sello {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

/* Imagen del sello */
.hero-sello img {
    width: 140px;
    opacity: 0.35;
    filter: drop-shadow(0 0 6px rgba(212, 40, 60, 0.6))
            drop-shadow(0 0 12px rgba(212, 40, 60, 0.4));
    pointer-events: none;
}

/* MOBILE */
@media (max-width: 600px) {
    .hero-sello {
        top: 20px;
        left: 20px;
    }

    .hero-sello img {
        width: 100px;
        opacity: 0.3;
    }
}
/* ===== LATIDO SUAVE DEL SELLO DEL HERO ===== */
.hero-sello img {
    animation: hero-latido 3.2s ease-in-out infinite;
}

@keyframes hero-latido {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}
.galeria-grid img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.galeria-grid img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
.galeria-grid img {
    border-radius: 12px;
}
#vinos-del-mes {
  display: none;
}