/*
 * Gold Flight - Sitio web.
 * Copyright (c) 2026 Sony Luis Ramirez Herrera. Todos los derechos reservados.
 * Uso sujeto a los terminos de LICENCIA.txt.
 */

:root {
    --brand-primary: #c9a227; /* dorado Gold Flight */
    --brand-primary-hover: #ad8a1f;
    --brand-dark: #0d0d0d; /* negro Gold Flight */
}

body {
    font-family: 'Poppins', sans-serif;
}

.hero-section {
    min-height: 90vh;
    overflow: hidden;
    background-color: var(--brand-dark);
}

/* Carrusel de fondo estilo billboard */
.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}

.hero-carousel .carousel-item.active .hero-slide-img {
    animation: hero-zoom 7s ease-out forwards;
}

@keyframes hero-zoom {
    from { transform: scale(1.03); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0) 40%),
        linear-gradient(rgba(13, 13, 13, 0.6), rgba(13, 13, 13, 0.6));
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    z-index: 3;
}

/* Indicadores tipo barras finas (Netflix) */
.hero-indicators {
    z-index: 3;
    bottom: 18px;
    margin-bottom: 0;
}

.hero-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background-color: #fff;
    opacity: 0.35;
}

.hero-indicators [data-bs-target].active {
    background-color: var(--brand-primary);
    opacity: 1;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 3;
    width: 6%;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel .carousel-item.active .hero-slide-img {
        animation: none;
    }
}

.hero-card {
    transition: transform 0.2s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
}

.stats-section {
    background-color: #111;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.stats-section .display-6 {
    color: var(--brand-primary);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* --- Paleta de marca Gold Flight (dorado + negro) sobre Bootstrap --- */
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #0d0d0d !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
    color: #0d0d0d !important;
}

.btn-outline-primary {
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--brand-primary) !important;
    color: #0d0d0d !important;
}

.text-primary {
    color: var(--brand-primary) !important;
}

.bg-primary {
    background-color: var(--brand-primary) !important;
}

.navbar-brand {
    color: #fff !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--brand-primary) !important;
}

/* Texto justificado en descripciones de programas */
.text-justify {
    text-align: justify !important;
}

/* Tarjetas de programas clicables */
.program-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover > .program-card {
    transform: translateY(-6px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

/* Página de detalle de programa */
.program-banner {
    background: var(--brand-dark);
    border-bottom: 4px solid var(--brand-primary);
}

.program-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.program-banner a {
    color: var(--brand-primary);
    text-decoration: none;
}

.brochure-box {
    border: 2px dashed var(--brand-primary);
    border-radius: 0.5rem;
    background: #141414;
}


/* ===== TEMA NEGRO + DORADO ===== */
[data-bs-theme="dark"] {
    --bs-body-bg: #0a0a0a;
    --bs-body-bg-rgb: 10, 10, 10;
    --bs-body-color: #e9e9e9;
    --bs-secondary-color: rgba(233, 233, 233, 0.72);
    --bs-tertiary-bg: #141414;
    --bs-border-color: rgba(201, 162, 39, 0.25);
    --bs-link-color: var(--brand-primary);
    --bs-link-hover-color: #e0bc3c;
}

body {
    background-color: #0a0a0a;
}

.section-alt {
    background-color: #121212;
}

.topbar {
    background-color: #000;
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.gf-navbar {
    background-color: #000;
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

.gf-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.gf-footer {
    background-color: #000;
    border-top: 3px solid var(--brand-primary);
}

/* Títulos de sección con detalle dorado */
.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 0.75rem auto 0;
    background: var(--brand-primary);
    border-radius: 2px;
}

/* Tarjetas oscuras con filo dorado */
.card {
    --bs-card-bg: #171717;
    --bs-card-color: #e9e9e9;
    border: 1px solid rgba(201, 162, 39, 0.22) !important;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.5) !important;
}

a:hover > .program-card {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0.75rem 1.75rem rgba(201, 162, 39, 0.25) !important;
}

.card .card-title {
    color: #fff;
}

.btn-link {
    color: var(--brand-primary);
}

.btn-link:hover {
    color: #e0bc3c;
}

.program-list i {
    color: var(--brand-primary);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6) !important;
}
/* Ajustes de legibilidad en tarjetas (texto justificado en columnas angostas) */
.text-justify {
    hyphens: auto;
}

.program-card .card-title {
    font-size: 0.95rem;
    overflow-wrap: break-word;
}

/* Botón "Plataforma Virtual" del menú: más visible que un outline simple */
.btn-platform {
    font-weight: 600;
    border-width: 2px;
    background-color: rgba(201, 162, 39, 0.18) !important;
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.35);
}

.btn-platform:hover {
    box-shadow: 0 0 16px rgba(201, 162, 39, 0.6);
}
