/* ==========================================================================
   ESTILOS PÚBLICOS - CLUB TIRO FEDERAL TUCUMAN (ESTILO PAVONADO)
   Paleta de Colores: Gunmetal/Deep Blue y detalles dorados/naranja
   ========================================================================== */

:root {
    --brand-indigo: #5d7082;
    /* Gunmetal blue */
    --brand-indigo-dark: #1b2631;
    /* Dark gunmetal */
    --brand-orange: #085cda;
    /* Primary Blue instead of orange */
    --brand-orange-hover: #0b5ed7;
    --brand-gold: #c5a059;

    --bg-light: #0d1115;
    /* Almost black background */
    --text-dark: #f8fafc;
    /* Light text on dark bg */
    --text-muted: #94a3b8;
    --border-color: #27333e;
    /* Dark border */
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* Colores de Marca */
.text-indigo {
    color: var(--brand-indigo) !important;
}

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

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

.btn-orange {
    background-color: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
    transition: all 0.25s ease;
    color: #ffffff !important;
    /* contrast text */
}

.btn-orange:hover {
    background-color: var(--brand-orange-hover) !important;
    border-color: var(--brand-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
    color: #ffffff !important;
}

.btn-outline-light:hover {
    color: #000 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 130px 0 100px;
    background-color: #05070a;
    background-image: linear-gradient(180deg, rgba(5, 7, 10, 0.80) 0%, rgba(5, 7, 10, 0.94) 100%), url('../img/fondo-test.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(13, 110, 253, 0.2);
    color: #3b82f6;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
    border: 1px solid rgba(13, 110, 253, 0.45);
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    -webkit-text-fill-color: #ffffff;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    max-width: 760px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

/* Secciones */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--brand-indigo);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* Tarjetas Modalidades */
.card-modalidad {
    background: #11171d;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.card-modalidad:hover {
    transform: translateY(-5px);
    border-color: var(--brand-indigo);
    box-shadow: 0 10px 30px rgba(93, 112, 130, 0.15);
}

.modalidad-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(93, 112, 130, 0.15);
    color: var(--brand-indigo);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Calendario */
.card-event {
    background: #11171d;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-event:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(13, 110, 253, 0.3);
}

.event-date {
    font-weight: 700;
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-status {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-programado {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-cancelado {
    background-color: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.badge-finalizado {
    background-color: #1b2631;
    color: #94a3b8;
    border: 1px solid #27333e;
}

/* ==========================================================================
   CALENDARIO VISUAL DE EVENTOS Y FLYERS
   ========================================================================== */
.calendar-event-card {
    background: #11171d;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 110, 253, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6) !important;
}

.calendar-date-badge {
    min-width: 64px;
    text-align: center;
    background: #0a0d11;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.calendar-date-badge .month-header {
    background-color: var(--brand-indigo-dark);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.calendar-date-badge .day-number {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--brand-orange);
    line-height: 1.1;
    padding-top: 4px;
}

.calendar-date-badge .day-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 4px;
}

.event-flyer-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.calendar-event-card:hover .event-flyer-cover {
    transform: scale(1.03);
}

.event-flyer-container {
    position: relative;
    overflow: hidden;
    background-color: #0a0d11;
}

/* Utilities / Fixes for Dark Mode */
.text-secondary {
    color: var(--text-muted) !important;
}

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

.border-bottom {
    border-bottom-color: var(--border-color) !important;
}

.border-top {
    border-top-color: var(--border-color) !important;
}

.border-dark {
    border-color: var(--border-color) !important;
}