/* Troy Warriors Girls Basketball - Clean Design Updated */

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: static;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text h2 {
    color: #c41e3a;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text span {
    color: #666;
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: #c41e3a;
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* School News Ticker */
.news-ticker-top {
    background: linear-gradient(135deg, #c41e3a, #8b1538);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 999;
}

.ticker-content {
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-label {
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    left: 20px;
    z-index: 10;
}

.ticker-text {
    display: flex;
    animation: scroll 30s linear infinite;
    margin-left: 180px;
}

.news-item-ticker {
    margin-right: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .ticker-label {
        font-size: 0.8rem;
        padding: 4px 10px;
        left: 10px;
    }
    
    .ticker-text {
        margin-left: 140px;
    }
    
    .news-item-ticker {
        font-size: 0.8rem;
        margin-right: 60px;
    }
}

@media (max-width: 480px) {
    .ticker-label {
        font-size: 0.7rem;
        padding: 3px 8px;
        left: 5px;
    }
    
    .ticker-text {
        margin-left: 120px;
    }
    
    .news-item-ticker {
        font-size: 0.7rem;
        margin-right: 40px;
    }
}

/* Image Zoom Popup */
.image-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.popup-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close-popup:hover {
    color: #c41e3a;
}

/* Make team images clickable */
.player-photo img,
.coach-photo img {
    cursor: pointer;
    transition: transform 0.3s;
}

.player-photo img:hover,
.coach-photo img:hover {
    transform: scale(1.05);
}

/* Featured Photos Section */
.featured-photos {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.featured-photo-large {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s;
}

.featured-photo-large:hover {
    transform: scale(1.02);
}

.featured-photo-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.featured-photo-small {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s;
}

.featured-photo-small:hover {
    transform: scale(1.05);
}

.featured-photo-small img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.featured-photo-large:hover .photo-overlay,
.featured-photo-small:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.photo-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.photo-overlay p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .featured-photos {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-photo-large img {
        height: 300px;
    }
    
    .featured-photos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .featured-photo-small img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .featured-photos-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-photo-small img {
        height: 200px;
    }
}

/* Records Banner */
.records-banner {
    text-align: center;
    margin-bottom: 2rem;
}

.records-banner img {
    transition: transform 0.3s ease;
}

.records-banner img:hover {
    transform: scale(1.02);
}

/* Records Highlights Section */
.records-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.record-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.record-category:hover {
    transform: translateY(-5px);
}

.record-category h3 {
    color: #c41e3a;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.record-category h3 i {
    margin-right: 0.5rem;
}

.record-items {
    display: grid;
    gap: 1rem;
}

.record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #c41e3a;
}

.record-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #c41e3a;
    min-width: 80px;
}

.record-label {
    font-size: 0.9rem;
    color: #333;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .records-highlights {
        grid-template-columns: 1fr;
    }
    
    .record-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .record-label {
        text-align: center;
        margin-left: 0;
    }
}

/* Simple Sponsors */
.simple-sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    width: 140px;
}

.sponsor-item:hover {
    transform: translateY(-5px);
}

.sponsor-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .simple-sponsors {
        gap: 1.5rem;
    }
    
    .sponsor-item {
        padding: 1rem;
        width: 120px;
    }
    
    .sponsor-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .simple-sponsors {
        gap: 1rem;
    }
    
    .sponsor-item {
        width: 100px;
        padding: 0.8rem;
    }
}

/* Championship Stats */
.championship-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #c41e3a, #8b1538);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.champ-stat {
    text-align: center;
    color: white;
}

.champ-number {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.champ-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .championship-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .champ-number {
        font-size: 3rem;
    }
    
    .champ-title {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* Warrior of the Week Overlay */
.warrior-week-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

.warrior-week-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 2s ease-out;
}

.warrior-week-overlay img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid rgba(196, 30, 58, 0.8);
}

@media (max-width: 768px) {
    .warrior-week-overlay img {
        max-width: 90%;
        max-height: 70%;
        border-radius: 15px;
        border: 2px solid rgba(196, 30, 58, 0.8);
    }
}
.floating-basketballs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-ball {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(255, 140, 0, 0.08);
    animation: floatUp 10s linear infinite;
}

.floating-ball:nth-child(1) { left: 15%; animation-delay: 0s; }
.floating-ball:nth-child(2) { left: 85%; animation-delay: 5s; }

@keyframes floatUp {
    0% {
        bottom: -30px;
        opacity: 0;
        transform: translateX(0px) rotate(0deg);
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        bottom: 100vh;
        opacity: 0;
        transform: translateX(50px) rotate(360deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s;
}

.hero-video-element.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 20;
    width: 90%;
    max-width: 800px;
}

/* Import Warrior-Style Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Trajan+Pro:wght@400;700&display=swap');

/* Troy Warriors - Big Roman Warrior Font */
.hero-title {
    font-family: 'Cinzel', 'Trajan Pro', serif;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.9), 0 0 20px rgba(255,255,255,0.3);
    border: 3px solid rgba(196, 30, 58, 0.8);
}

.hero-subtitle {
    font-family: 'Cinzel', 'Trajan Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.6);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9), 0 0 15px rgba(196, 30, 58, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.5);
    padding: 1rem;
    border-radius: 10px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #c41e3a;
    color: white;
}

.btn-primary:hover {
    background: #8b1538;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.video-control-btn {
    background: rgba(196, 30, 58, 0.8);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.video-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.video-indicator.active {
    background: #c41e3a;
    transform: scale(1.2);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 3rem;
    color: #c41e3a;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(196, 30, 58, 0.8), rgba(0,0,0,0.5));
    color: white;
    text-align: center;
    padding: 6rem 0 4rem;
    margin-top: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #c41e3a;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #c41e3a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Mobile Bottom Navigation - Like mediavision.us */
@media (max-width: 768px) {
    /* Mobile Ticker Fix - Hide title after 5 seconds */
    .ticker-label {
        animation: hideLabel 45s linear infinite;
    }
    
    @keyframes hideLabel {
        0% { opacity: 1; }
        11% { opacity: 1; }
        12% { opacity: 0; }
        100% { opacity: 0; }
    }
    
    .ticker-text {
        margin-left: 20px; /* Reduced margin for mobile */
        animation: scrollMobile 40s linear infinite;
    }
    
    @keyframes scrollMobile {
        0% { transform: translateX(100%); }
        12.5% { transform: translateX(100%); } /* Wait 5 seconds */
        87.5% { transform: translateX(-100%); }
        100% { transform: translateX(-100%); }
    }
    
    /* Hide top navigation on mobile */
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: none;
    }
    
    /* Mobile Bottom Navigation */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(196, 30, 58, 0.2);
        z-index: 1000;
        padding: 8px 0;
    }
    
    .mobile-nav-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #666;
        font-size: 0.7rem;
        font-weight: 500;
        padding: 8px 4px;
        border-radius: 8px;
        transition: all 0.3s;
        min-width: 50px;
    }
    
    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: #c41e3a;
        background: rgba(196, 30, 58, 0.1);
    }
    
    .mobile-nav-item i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }
    
    .mobile-nav-item span {
        font-size: 0.65rem;
        text-align: center;
    }
    
    /* Adjust body padding for bottom nav */
    body {
        padding-bottom: 70px;
    }
    
    .hero-content {
        top: 10%;
        width: 95%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        padding: 0.6rem 1rem;
        letter-spacing: 2px;
        border: 2px solid rgba(196, 30, 58, 0.8);
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        padding: 0.6rem 1rem;
        letter-spacing: 1px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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