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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: border-color 0.3s ease;
}

.logo:hover img {
    border-color: white;
}

.logo span {
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: nowrap;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 24px 18px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.98em;
    white-space: nowrap;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav-links li a:hover::before {
    width: 70%;
}

.nav-links li {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #7f1d1d 0%, #6b1818 100%);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1001;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content a {
    padding: 14px 24px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.95em;
    white-space: normal;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: white;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-content a:hover::before {
    transform: scaleY(1);
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.15);
    padding-left: 32px;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown > a::after {
    content: "▾";
    font-size: 0.7em;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.05);
}

@media (max-width: 1100px) {
    .nav-links {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
        flex-direction: column;
        gap: 0;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 16px 24px;
        border-top: 1px solid rgba(255,255,255,0.1);
        font-size: 1.05em;
    }

    .nav-links li a::before {
        display: none;
    }

    .nav-links li a:hover {
        transform: translateY(0);
        padding-left: 32px;
    }

    .dropdown-content {
        position: static;
        display: none;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        transform: none;
    }

    .dropdown-content a {
        padding-left: 48px;
        font-size: 0.95em;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-content a::before {
        display: none;
    }

    .dropdown-content a:hover {
        padding-left: 56px;
    }

    .menu-toggle {
        display: block;
    }
}

.hero {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: white;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero p {
    font-size: 1.4em;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

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

.section {
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section h2 {
    color: #b91c1c;
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid #b91c1c;
}

.section p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1em;
}

.welcome-section {
    text-align: center;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.photo-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.photo-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2em;
}

.photo-placeholder .icon {
    font-size: 4em;
    margin-bottom: 15px;
    color: #b91c1c;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    padding: 50px 40px;
    border-radius: 10px;
    margin: 40px 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 600;
    margin: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.4);
}

.gallery-section {
    text-align: center;
}

.gallery-link {
    display: inline-block;
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.gallery-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.4);
}

.info-box {
    background: #fef2f2;
    border-left: 4px solid #b91c1c;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.footer {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-tagline {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.footer-subtitle {
    opacity: 0.9;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TEAM PAGES STYLES
   ============================================ */

.hero .team-emoji {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 1.1em;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 1;
}

.coach-info {
    display: flex;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
    flex-wrap: wrap;
}

.coach-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    flex-shrink: 0;
}

.coach-details h3 {
    color: #b91c1c;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.player-card {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #b91c1c;
}

.player-card .name {
    font-weight: 600;
    color: #b91c1c;
    font-size: 1.1em;
}

.player-card .position {
    color: #666;
    font-size: 0.9em;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.schedule-table th,
.schedule-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.schedule-table th {
    background: #b91c1c;
    color: white;
    font-weight: 600;
}

.schedule-table tr:hover {
    background: #f9fafb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #b91c1c;
}

.stat-box .number {
    font-size: 2.5em;
    font-weight: bold;
    color: #b91c1c;
}

.stat-box .label {
    color: #666;
    margin-top: 5px;
}

/* ============================================
   INTERACTIVE CARD STYLES
   ============================================ */

.interactive-card {
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid #fef2f2;
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(185, 28, 28, 0.15);
    border-color: #b91c1c;
}

.interactive-card:hover .card-link-text {
    text-decoration: underline;
}

/* ============================================
   GRID UTILITY CLASSES
   ============================================ */

.grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.grid-standard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-medium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.grid-xlarge {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
