/* --- CSS RESET & BASE STYLES --- */
:root {
    --primary-blue: #0033a0;
    --dark-blue: #001a57;
    --accent-orange: #ff7300;
    --accent-orange-hover: #e06600;
    --bg-light: #f0f4f8; /* Light icy blue for branding */
    --text-dark: #222222;
    --text-muted: #666666;
    --white: #ffffff;
    --border-light: #eaeaea;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-light { color: #d0d0d0; }

/* --- TOP BAR --- */
.top-bar { 
    background-color: var(--white); 
    border-bottom: 1px solid var(--border-light); 
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 2.5rem; color: var(--accent-orange); } /* Match the orange ball in demo */
.logo-text h1 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; text-transform: uppercase; line-height: 1.1; color: var(--text-dark); }
.logo-text span { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

.top-right { display: flex; align-items: center; gap: 30px; }
.phone-number { font-weight: 600; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.phone-number i { color: var(--accent-orange); }
.register-btn {
    border: 2px solid var(--border-light);
    padding: 10px 24px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.register-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* --- NAVIGATION --- */
.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.nav-bar { display: flex; justify-content: center; align-items: center; padding: 20px 0; position: relative; }
.nav-links { display: flex; gap: 35px; margin: 0 auto; }
.nav-links > li > a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--accent-orange); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 4px;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--accent-orange); }

.social-links { position: absolute; right: 0; display: flex; gap: 15px; color: #b0b0b0; }
.social-links a:hover { color: var(--accent-orange); }

/* --- BUTTONS --- */
.btn-orange {
    display: inline-flex;
    align-items: stretch;
    background-color: var(--accent-orange);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-orange .btn-text { padding: 16px 30px; display: flex; align-items: center; }
.btn-orange .btn-icon {
    background-color: var(--dark-blue);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -10px;
}
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 115, 0, 0.3); color: white; }

.btn-outline {
    display: inline-flex;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 14px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s;
}
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }

/* --- HERO SECTION --- */
.hero { padding: 100px 0 140px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%); }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2; }
.hero-content { flex: 1; max-width: 500px; }
.hero-title { font-size: 5rem; font-weight: 900; text-transform: uppercase; line-height: 0.95; margin-bottom: 24px; letter-spacing: -2px; }
.hero-title .highlight-orange { color: var(--accent-orange); display: block; }
.hero-title .dark-text { color: var(--white); display: block; }
.hero-text { color: #d0e2ff; font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; font-weight: 500; }

.hero-image-wrapper { flex: 1.2; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-img { 
    width: 100%; 
    max-width: 700px; 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hero-img:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

.basketball-accent { position: absolute; color: var(--accent-orange); font-size: 3rem; opacity: 0.7; animation: bounce 4s infinite ease-in-out; }
.ball-1 { top: -20px; right: 40px; animation-delay: 0s; }
.ball-2 { bottom: -30px; left: 20px; font-size: 2rem; animation-delay: 2s; }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-30px) rotate(180deg); } }

/* --- COMMON SECTIONS --- */
section { padding: 100px 0; }
.sub-title { font-size: 0.9rem; font-weight: 800; color: var(--accent-orange); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-title { font-size: 3rem; font-weight: 900; text-transform: uppercase; color: var(--text-dark); margin-bottom: 25px; line-height: 1.1; letter-spacing: -1px; }
.section-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; }
.section-header { margin-bottom: 50px; }

/* Split Sections (About & Team) */
.split-section { display: flex; gap: 60px; align-items: center; }
.split-section.reverse { flex-direction: row-reverse; }
.split-content { flex: 1; }
.split-image { flex: 1; position: relative; }
.content-img { width: 100%; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.stats-list { margin-top: 30px; }
.stats-list li { margin-bottom: 12px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.stats-list i { color: var(--accent-orange); }

.team-section { background-color: var(--primary-blue); color: var(--white); }
.team-section .section-title, .team-section .section-text, .team-section .stats-list li { color: var(--white); }
.team-section .btn-outline { border-color: var(--white); color: var(--white); }
.team-section .btn-outline:hover { background: var(--white); color: var(--primary-blue); }

/* --- GALLERY --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item .overlay {
    position: absolute; inset: 0; background: rgba(0, 51, 160, 0.8);
    display: flex; justify-content: center; align-items: center;
    color: white; font-size: 2rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { opacity: 1; }

/* --- BLOG --- */
.blog-section { background-color: var(--bg-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-10px); }
.blog-img { height: 220px; background-color: #ddd; background-image: url('assets/images/gallery_action_1_1784571942141.png'); background-size: cover; background-position: center; }
.blog-card:nth-child(2) .blog-img { background-image: url('assets/images/team_photo_1784571970572.png'); }
.blog-card:nth-child(3) .blog-img { background-image: url('assets/images/hero_basketball_1784571930435.png'); }
.blog-content { padding: 30px; }
.blog-content .date { font-size: 0.8rem; color: var(--accent-orange); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; display: inline-block; }
.blog-content h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 15px; line-height: 1.3; }
.blog-content h3 a:hover { color: var(--primary-blue); }
.blog-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.read-more { font-weight: 700; font-size: 0.85rem; color: var(--text-dark); text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.read-more i { color: var(--accent-orange); transition: transform 0.2s; }
.read-more:hover i { transform: translateX(5px); }
.read-more:hover { color: var(--primary-blue); }

/* --- CONTACT --- */
.contact-section { background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%); position: relative; }
.contact-container { display: flex; gap: 60px; }
.contact-info { flex: 1; }
.contact-info .section-title { color: var(--white); }
.info-item { display: flex; align-items: center; gap: 15px; color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.info-item i { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-orange); }

.contact-form-wrapper { flex: 1.2; background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.input-group { display: flex; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px; border-radius: 6px; border: 1px solid var(--border-light); font-family: inherit; font-size: 0.95rem; background: #f9f9f9; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-orange); background: var(--white); }

/* --- FOOTER --- */
footer { background-color: #00091c; padding: 40px 0 30px; text-align: center; color: #666; font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #112244; padding-top: 30px; }
.portfolio-credit { font-weight: 600; color: #888; }
/* --- SPONSORS --- */
.sponsors-section { background-color: var(--white); border-bottom: 1px solid var(--border-light); }
.sponsors-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.sponsor-item { width: 200px; height: 100px; background: var(--bg-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #aaa; font-weight: 700; border: 2px dashed #ddd; transition: all 0.3s ease; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; }
.sponsor-item:hover { border-color: var(--accent-orange); color: var(--accent-orange); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

@media (max-width: 992px) {
    .hero-container, .split-section, .contact-container { flex-direction: column; text-align: center; }
    .hero-content, .split-content, .contact-info { display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: 4rem; }
    .top-right { display: none; }
    .nav-links { gap: 15px; }
    .social-links { position: static; margin-top: 15px; justify-content: center; }
    .nav-bar { flex-direction: column; }
    .gallery-grid, .blog-grid { grid-template-columns: 1fr; }
    .input-group { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}
