/* =========================
   RESET BÁSICO
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 40px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero .highlight {
    color: #00ff88;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero .description {
    color: #ccc;
}

/* =========================
   SWIPER SECTION
========================= */
.swiper-section {
    margin-top: 80px;
}

/* CONTENEDOR SWIPER */
.swiper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative; /* 🔥 importante para las flechas */
    z-index: 2;
}

/* SLIDES */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* IMÁGENES */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* En móvil NO recortar */
@media (max-width: 768px) {
    .swiper-slide img {
        object-fit: contain;
        background: transparent; /* 🔥 IMPORTANTE */
    }
}

/* =========================
   🔥 FLECHAS SWIPER (NUEVO)
========================= */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.6);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* efecto hover pro */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.1);
}

/* =========================
   SECCIONES GENERALES
========================= */
.section {
    padding: 40px 20px;
    text-align: center;
}

/* =========================
   ABOUT
========================= */
.about-section {
    padding: 40px 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .swiper {
        height: 50vh;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .swiper {
        height: 40vh;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}

/* =========================
   FONDO
========================= */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/home/img/bg-masthead.jpg') no-repeat center center/cover;
    z-index: -2;
}

.main-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

/* 🔴 AQUÍ HABÍA UN } EXTRA — ya corregido */

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hero a,
.section a {
    text-decoration: none;
    color: #00ff88;
}
