/* Custom CSS for Shining Future Academy Soccer */

/* Root Variables for consistent theming */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

/* Custom button styles */
.btn-academy {
    background: linear-gradient(45deg, var(--primary-color), var(--success-color));
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-academy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-academy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Stats Section */
.stats-section {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--warning-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: #adb5bd;
}

/* Gallery Styles */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Match Cards */
.match-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.match-teams {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.vs-badge {
    background: var(--warning-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: bold;
    margin: 0 1rem;
}

.match-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.match-venue {
    color: var(--success-color);
    font-weight: 500;
}

/* Forms */
.form-academy {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Dashboard Styles */
.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-number {
    font-size: 2rem;
    font-weight: bold;
}

/* Navigation Styles */
.navbar-brand img {
    border-radius: 50%;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--warning-color) !important;
    transform: translateY(-2px);
}

/* Utility Classes */
.text-light-muted {
    color: #adb5bd !important;
}

.bg-academy {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Loading Spinner */
.spinner-academy {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Styles */
.alert-academy {
    border: none;
    border-radius: 10px;
    border-left: 5px solid;
}

.alert-academy.alert-success {
    border-left-color: var(--success-color);
    background: rgba(25, 135, 84, 0.1);
}

.alert-academy.alert-danger {
    border-left-color: var(--danger-color);
    background: rgba(220, 53, 69, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .match-card {
        padding: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .match-teams {
        font-size: 1.1rem;
    }
    
    .vs-badge {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }
}