:root {
    --brand-yellow: #f1c40f;
    --brand-red: #c0392b;
    --brand-dark-red: #962d22;
    --brand-gold: #d4af37;
    --bg-cream: #faf7f2;
    --yt-red: #ff0000;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-cream);
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, .brand-font {
    font-family: 'Montserrat', sans-serif;
}

.top-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-red) 50%, var(--brand-yellow) 100%);
}

.header-section {
    padding: 1.5rem 0 1rem;
}

.logo-img {
    max-height: 100px;
    width: auto;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

.site-title {
    color: var(--brand-red);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.latin-motto {
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.92rem;
    font-weight: 500;
}

.badge-coming-soon {
    background-color: var(--brand-red);
    color: white;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    letter-spacing: 1px;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(192, 57, 43, 0.25);
}

.progress-container {
    max-width: 420px;
    margin: 0 auto;
}

.custom-progress {
    height: 10px;
    border-radius: 10px;
    background-color: #e2e8f0;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.custom-progress-bar {
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-red));
    border-radius: 10px;
}

.carousel-section {
    margin-bottom: 2rem;
}

.carousel-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 4px solid #ffffff;
    background-color: #000;
}

.carousel-item {
    height: 350px;
    background-color: #1a1a1a;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.carousel-caption-custom {
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.75rem 1.25rem 1rem;
    text-align: center;
}

.carousel-caption-custom h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption-custom p {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
}

.events-section {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 2rem;
}

.event-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.event-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--brand-red);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.event-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.event-card-text {
    font-size: 0.88rem;
    color: #4a5568;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.membership-section {
    background: linear-gradient(135deg, #fffdfa 0%, #fff3e0 100%);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 2rem;
    position: relative;
}

.membership-badge {
    background-color: var(--brand-yellow);
    color: #2c3e50;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.membership-title {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--brand-dark-red);
    margin-bottom: 0.5rem;
}

.membership-desc {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.membership-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.membership-feature i {
    color: var(--brand-red);
    font-size: 1.1rem;
}

.btn-membership {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-dark-red));
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn-membership:hover {
    background: linear-gradient(135deg, var(--brand-dark-red), #722017);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.tnabra-section {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 2px solid #333;
}

.tnabra-badge {
    background-color: var(--yt-red);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.tnabra-title {
    font-weight: 800;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tnabra-desc {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    max-width: 680px;
}

.btn-youtube {
    background-color: var(--yt-red);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.btn-youtube:hover {
    background-color: #cc0000;
    color: white;
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.contact-section {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    background-color: #f8f9fa;
    border: 1px solid #edf2f7;
    transition: all 0.25s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    color: #1a202c;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    color: white;
}

.icon-facebook { background: linear-gradient(135deg, #1877f2, #0b51b3); }
.icon-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.icon-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.icon-email { background: linear-gradient(135deg, var(--brand-red), var(--brand-dark-red)); }

.contact-info .contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #718096;
    font-weight: 600;
    display: block;
    margin-bottom: 1px;
}

.contact-info .contact-value {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

footer {
    margin-top: auto;
    background-color: #1e272e;
    color: #a4b0be;
    font-size: 0.85rem;
    padding: 1.25rem 0;
}

@media (max-width: 768px) {
    .carousel-item { height: 250px; }
    .logo-img { max-height: 80px; }
    .site-title { font-size: 1.5rem; }
    .tnabra-title { font-size: 1.3rem; }
    .membership-title { font-size: 1.3rem; }
}

.event-box {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.event-box:hover {
    transform: scale(1.02);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.25s ease-out;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}