/* =========================================
   VARIABLES & GLOBALS
========================================= */
:root {
    --bg-dark: #0f1115;
    --bg-card: #1c1f26;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent: #FF4500;
    --accent-hover: #ff5e22;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   HEADER NAVBAR
========================================= */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient over the city */
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0.6) 0%, rgba(15, 17, 21, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

/* =========================================
   PREMIUM HERO LOGO
========================================= */
.premium-logo-container {
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.premium-hero-logo {
    display: block;
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
}

/* =========================================
   PROMOTIONAL POSTER & DYNAMIC GLOW
========================================= */
.promotional-poster-container {
    margin-bottom: 2rem;
    padding: 0 15px;
}

.promo-poster-img {
    max-width: 100%;
    width: 600px;
    /* Centered poster size */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dynamic-glow {
    animation: dynamicColorGlow 6s infinite alternate ease-in-out;
}

@keyframes dynamicColorGlow {
    0% {
        box-shadow: 0 0 25px rgba(255, 69, 0, 0.8), 0 0 50px rgba(255, 69, 0, 0.4);
    }

    33% {
        box-shadow: 0 0 25px rgba(0, 191, 255, 0.8), 0 0 50px rgba(0, 191, 255, 0.4);
    }

    66% {
        box-shadow: 0 0 25px rgba(138, 43, 226, 0.8), 0 0 50px rgba(138, 43, 226, 0.4);
    }

    100% {
        box-shadow: 0 0 25px rgba(50, 205, 50, 0.8), 0 0 50px rgba(50, 205, 50, 0.4);
    }
}

/* Flash Illumination Animation */
.flash-effect {
    animation: flashGlow 4s infinite alternate;
}

@keyframes flashGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        filter: brightness(1);
    }

    50% {
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.8), 0 0 100px rgba(255, 255, 255, 0.4);
        filter: brightness(1.3);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        filter: brightness(1);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-main);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* =========================================
   SECTIONS
========================================= */
.section-container {
    padding: 6rem 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-dark {
    background: var(--bg-card);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.bg-video-section {
    background: #121419;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title.mb-0 {
    margin-bottom: 0 !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* =========================================
   GALLERY GRID
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    background: #000;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.img-contain-gallery {
    object-fit: contain !important;
    padding: 15px;
    background: #000;
}

/* =========================================
   VIDEO
========================================= */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-video {
    width: 100%;
    display: block;
}

/* =========================================
   REDES & ACTION CARDS
========================================= */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 900px) {
    .action-grid {
        grid-template-columns: 1fr;
    }
}

.whatsapp-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    height: 100%;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    /* verde whastapp glow */
}

.hover-glow:hover {
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    border-color: rgba(37, 211, 102, 0.5);
}

.wa-premium-header {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-premium-icon {
    width: 75px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease;
}

.whatsapp-card:hover .wa-premium-icon {
    transform: scale(1.15) rotate(5deg);
}

.card-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-content h3 {
    color: #25D366;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 800;
}

.card-content p {
    color: var(--text-muted);
}

/* Redes Individuales */
.social-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    height: 100%;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.social-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    background: #fff;
    /* in case images are transparent */
}

.social-item span {
    font-size: 1.25rem;
    font-weight: 600;
}

.social-item.tiktok:hover {
    border-color: #ff0050;
    box-shadow: 0 5px 20px rgba(255, 0, 80, 0.2);
}

.social-item.instagram:hover {
    border-color: #E1306C;
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.2);
}

.social-item.gmail:hover {
    border-color: #D44638;
    box-shadow: 0 5px 20px rgba(212, 70, 56, 0.2);
}

/* =========================================
   MAP & LOCATION
========================================= */
.map-card {
    background: #0f1115;
    padding: 3rem;
    border-radius: 16px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-pin {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.map-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.map-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* =========================================
   PARTNERS
========================================= */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    width: 350px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.partner-img {
    height: 180px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.partner-img-loz {
    background: #6a0d18;
    /* Fondo vino tinto */
}

.partner-img-tec {
    background: #000;
    /* Fondo negro solicitado */
}

.partner-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info {
    padding: 1.5rem;
}

.partner-info h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.partner-info h3 {
    font-size: 1.25rem;
    color: var(--text-main);
}

/* =========================================
   DOWNLOAD CARD & BUTTONS
========================================= */
.download-card {
    background: linear-gradient(145deg, #1f2530, #13171f);
    padding: 4rem 2rem;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.btn-map {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-map:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer {
    text-align: center;
    padding: 3rem 1rem;
    background: #000;
    color: var(--text-muted);
}

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: var(--text-main);
    font-weight: 600;
}

.footer a:hover {
    color: var(--accent);
}

/* =========================================
   COUNTER 
========================================= */
.counter-container {
    max-width: 400px;
    margin: 4rem auto 0 auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.counter-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}