/**
 * Trinidad Midnight Marathon Theme Styles
 * A modern midnight marathon theme with Trinidad & Tobago carnival elements
 */

/* ===========================
   CSS Variables & Reset
   =========================== */

:root {
    --midnight: #0a0e27;
    --midnight-light: #1a1d3b;
    --midnight-dark: #050814;
    --trinidad-red: #CE1126;
    --trinidad-blue: #0052A5;
    --trinidad-white: #FFFFFF;
    --carnival-orange: #FF6B35;
    --carnival-yellow: #FFD23F;
    --carnival-cyan: #00D9FF;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3b 50%, #0a0e27 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header & Navigation
   =========================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--trinidad-red), var(--trinidad-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(206, 17, 38, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.desktop-nav {
    display: none;
    gap: 4px;
}

.nav-link {
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--trinidad-red), var(--trinidad-blue));
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-icon {
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .menu-icon {
    background: transparent;
}

.mobile-menu-toggle.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--midnight-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    padding: 16px 20px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(206, 17, 38, 0.2);
    color: var(--text-primary);
    border-color: rgba(206, 17, 38, 0.5);
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .logo-text {
        display: flex;
    }
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
}

/* ===========================
   Main Content Area
   =========================== */

.site-main {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ===========================
   Hero Section
   =========================== */

.hero-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;

    /* 🎯 ADD BACKGROUND IMAGE */
    background:url("https://bafasports.com/wp-content/uploads/2025/10/ttmm2026.jpg") center/cover no-repeat;
}

/* DARK OVERLAY */
.hero-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.65);
    z-index:1;
}

/* ensure content above overlay */
.hero-container{
    position:relative;
    z-index:2;
}
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.event-badge {
    display: inline-block;
    padding: 12px 24px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
}

..hero-title{
    font-size:5rem;
    font-weight:900;
    line-height:1.1;
    text-align:center;

    background:linear-gradient(90deg,#ff0066,#ffcc00,#00e5ff,#ff0066);
    background-size:300% 300%;

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    animation:gradientMove 4s ease infinite, floatTitle 3s ease-in-out infinite;

    margin-bottom:20px;
    letter-spacing:2px;
}

/* subtitle separation */
.hero-subtitle{
    font-size:1.8rem;
    color:rgba(255,255,255,0.85);
    margin-bottom:30px;
    animation:fadeUp 1.5s ease;
}
.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Smaller Countdown Timer Styles */
.countdown-timer{
    display:flex;
    justify-content:center;
    gap:18px;
    margin:30px 0;
    flex-wrap:wrap;
}

.countdown-item{
    text-align:center;
}

.countdown-value{
    font-size:3rem; /* BIG */
    font-weight:900;
    padding:18px 22px;
    min-width:90px;

    color:white;

    background:linear-gradient(135deg,#ff0066,#ff6600,#00e5ff);
    background-size:300% 300%;

    border-radius:16px;

    box-shadow:0 10px 30px rgba(255,0,102,0.4);

    animation:countPulse 2s infinite, gradientMove 5s ease infinite;

    border:2px solid rgba(255,255,255,0.2);
}

.countdown-label{
    font-size:0.85rem;
    font-weight:700;
    color:#fff;
    margin-top:8px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.event-info-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
}

.info-badge .icon {
    width: 20px;
    height: 20px;
    color: var(--trinidad-red);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--trinidad-red) 0%, #a00d1e 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(206, 17, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(206, 17, 38, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--trinidad-red);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.25rem;
}
@keyframes gradientMove{
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

@keyframes floatTitle{
    0%{transform:translateY(0px)}
    50%{transform:translateY(-10px)}
    100%{transform:translateY(0px)}
}

@keyframes countPulse{
    0%{transform:scale(1)}
    50%{transform:scale(1.08)}
    100%{transform:scale(1)}
}

@keyframes fadeUp{
    from{opacity:0; transform:translateY(20px)}
    to{opacity:1; transform:translateY(0)}
}
/* Responsive Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .countdown-timer {
        gap: 12px;
    }

    .countdown-value {
        font-size: 2rem;
        min-width: 60px;
        padding: 12px;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .event-info-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Continue in next part... */

/* ===========================
   Section Styles
   =========================== */

.section-overview,
.section-cards,
.section-cta {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--trinidad-red), var(--trinidad-blue));
    margin: 0 auto;
    border-radius: 2px;
}

/* Overview Section */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--trinidad-red);
    margin-top: 8px;
    flex-shrink: 0;
}

.overview-image {
    position: relative;
}

.img-border {
    border-radius: 16px;
    border: 4px solid;
    border-image: linear-gradient(45deg, var(--trinidad-red), var(--trinidad-blue), var(--trinidad-red)) 1;
    box-shadow: 0 10px 40px rgba(206, 17, 38, 0.3), 0 5px 20px rgba(0, 82, 165, 0.2);
}

/* Cards Section */
.section-cards {
    position: relative;
}

.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(206, 17, 38, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 82, 165, 0.1) 0%, transparent 50%);
}

.cards-container {
    position: relative;
    z-index: 10;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.info-card {
    background: linear-gradient(135deg, rgba(26, 29, 59, 0.6) 0%, rgba(10, 14, 39, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--trinidad-red), var(--trinidad-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(206, 17, 38, 0.5);
    box-shadow: 0 20px 60px rgba(206, 17, 38, 0.2);
}

.card-content {
    padding: 48px 32px;
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(206, 17, 38, 0.2), rgba(0, 82, 165, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-large {
    width: 40px;
    height: 40px;
    color: white;
}

.info-card:hover .icon-circle {
    transform: scale(1.1) rotate(10deg);
    border-color: var(--trinidad-red);
    box-shadow: 0 10px 30px rgba(206, 17, 38, 0.4);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.section-cta {
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3b 50%, #0a0e27 100%);
}

.carnival-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(206, 17, 38, 0.15) 50%, rgba(0, 82, 165, 0.15) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.cta-container {
    position: relative;
    z-index: 10;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-note {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   Footer
   =========================== */

.site-footer {
    background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--trinidad-red);
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-contact .icon {
    width: 20px;
    height: 20px;
    color: var(--trinidad-red);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--trinidad-red);
    border-color: var(--trinidad-red);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(206, 17, 38, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===========================
   Utility Classes
   =========================== */

.icon {
    width: 24px;
    height: 24px;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}
/* =========================
LOGO STYLING FIX
========================= */

.logo{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
}

/* BIGGER LOGO IMAGE */
.logo-badge img{
    width:70px;          /* increase size here */
    height:70px;
    object-fit:contain;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
    transition:0.3s ease;
}

/* hover effect */
.logo-badge img:hover{
    transform:scale(1.1);
}

/* TEXT ALIGNMENT */
.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

/* MAIN TITLE */
.logo-title{
    font-size:1.4rem;
    font-weight:900;
    color:#fff;
    margin:0;
}

/* SUBTITLE */
.logo-subtitle{
    font-size:0.85rem;
    color:rgba(255,255,255,0.7);
    margin:0;
}