* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #F5E6D3;
    padding-top: 110px; /* IMPORTANTE para que no tape contenido */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #6B3E26;
    color: white;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.header-contenedor {
    max-width: 1300px;
    margin: auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* IZQUIERDA */
.logo-area img {
    height: 110px;
}

/* CENTRO */
.titulo-centro {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.titulo-centro h1 {
    font-family: 'Lobster', cursive;
    font-size: 38px;
    margin: 0;
    letter-spacing: 1px;
}

.titulo-centro::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: #FFD700;
    margin: 6px auto 0 auto;
    border-radius: 3px;
}

.titulo-centro p {
    font-size: 14px;
    margin: 0;
}

/* DERECHA */
nav {
    display: end;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

nav a:hover {
    color: #FFD700;
}

.hero {
    background: #38fa02;
    color: #6B3E26;
    text-align: center;
    
}

.hero {
    margin-top: 40px;
    padding-top: 50px;
}

.envios {
    font-size: 18px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.envios i {
    color: #FFD700;
    font-size: 20px;
}

.seccion-galeria {
    padding: 40px 20px;
}

.seccion-galeria h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #6B3E26;
}

.galeria {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

/*.item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}*/

.item video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.item p {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
}
/* GRID 4 COLUMNAS */
.videos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* VIDEO CARD */
.video-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-card video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

/* HOVER ZOOM */
.video-card:hover video {
    transform: scale(1.05);
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
    border-radius: 10px;
}

.video-card:hover .overlay {
    opacity: 1;
}

/* BOTON PLAY */
.play-btn {
    font-size: 40px;
    color: white;
    background: rgba(178,34,34,0.9);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* TITULO */
.video-card p {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox video {
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
}

.lightbox.active {
    display: flex;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* FOTO CARD */

.foto-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.foto-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

/* ZOOM SUAVE */
.foto-card:hover img {
    transform: scale(1.05);
}

/* DESTELLO */
.foto-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0.1) 100%
    );
    transform: skewX(-25deg);
}

.foto-card:hover::after {
    animation: destello 0.8s ease;
}

@keyframes destello {
    100% {
        left: 125%;
    }
}

/* TEXTO */
.foto-card p {
    text-align: center;
    margin-top: 6px;
    font-size: 14px;
}

/* LIGHTBOX */

.lightbox-img {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.lightbox-img img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    animation: fadeZoom 0.3s ease;
}

@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-img.active {
    display: flex;
}

.cerrar-img {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Reseñas */
.testimonios blockquote {
    font-style: italic;
    background: #e0ddd5;
    padding: 20px;
    margin: 10px 0;
    border-left: 5px solid #b35a38;
}

/* ========================= */
/* UBICACION */
/* ========================= */

#ubicacion {
    padding: 50px 20px;
    background: #ffffff;
    text-align: center;
}

#ubicacion h2 {
    margin-bottom: 20px;
    color: #6B3E26;
    font-size: 26px;
}

#ubicacion iframe {
    border-radius: 10px;
    max-width: 100%;
}

/* ========================= */
/* CONTACTO */
/* ========================= */

#contacto {
    padding: 50px 20px;
    background: #F5E6D3;
    text-align: center;
}

#contacto h2 {
    margin-bottom: 15px;
    color: #6B3E26;
}

#contacto p {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.redes {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.redes a {
    background: #B22222;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.redes a:hover {
    background: #8B1A1A;
    transform: translateY(-3px);
}
/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s;
  z-index: 1000;
}

.whatsapp-float:hover {
  background-color: #1ebc59;
  transform: scale(1.15);
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
    background: #6B3E26;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 14px;
}

/* CATALOGO */

.catalogo {
    display: flex;
    gap: 40px;
    padding: 50px 20px;
    align-items: flex-start;
}

.aside-img img {
    width: 300px;
    border-radius: 10px;
}

.lista-productos {
    flex: 1;
}

.producto-item {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.producto-item h3 {
    color: #6B3E26;
}
/* Animaciones base */

.animar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animación logo */

.logo-area img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-area img:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.3));
}

/* Responsive */

@media (max-width: 1024px) {
    .galeria {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalogo {
        flex-direction: column;
        align-items: center;
    }

    .aside-img img {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .header-contenedor {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        display: inline-block;
        margin: 5px 10px;
    }

}

@media (max-width: 900px) {

    .header-contenedor {
        flex-direction: column;
        gap: 10px;
    }

    .titulo-centro {
        position: static;
        transform: none;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Estado reducido */

header.shrink {
    padding: 5px 0;
}

header.shrink .logo-area img {
    height: 45px;
    transition: 0.3s ease;
}

header.shrink .titulo-centro h1 {
    font-size: 28px;
    transition: 0.3s ease;
}

header.shrink .titulo-centro::after {
    width: 80px;
}

/* ===================== */
/* NAV DESKTOP */
/* ===================== */

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.nav-links li a:hover {
    color: #FFD700;
}

/* ===================== */
/* HAMBURGUESA */
/* ===================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: #6B3E26;
        width: 220px;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateX(100%);
        transition: 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }
}