/* ===== SPORTY VIBES MODERN CSS ===== */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.sporty-vibes-body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Navigation */
.navbar-dark {
    background: #142850 !important;
    border-bottom: 1px solid #0a1a36;
    box-shadow: 0 2px 10px rgba(20, 40, 80, 0.3);
    z-index: 1050;
    min-height: 64px;
}

.navbar-brand { 
    padding: 0; 
}

.navbar-toggler { 
    border: none; 
}

.navbar-nav {
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: white !important;
    padding: 0.375rem 0.75rem !important;
    margin: 0;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.1px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover {
    color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.1);
}

.navbar-nav .nav-link.active {
    color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.15);
    font-weight: 700 !important;
}

.navbar .btn-light {
    background-color: white;
    border: 1px solid white;
    color: #142850;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar .btn-light:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #142850;
    transform: translateY(-1px);
}

/* Footer Social Media Buttons */
.btn-social {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Footer Title Alignment */
.footer-title {
    height: 2rem;
    line-height: 2rem;
    margin-bottom: 1.5rem !important;
}

.footer-title-spacer {
    height: 3.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.contact-item i {
    width: 20px;
    flex-shrink: 0;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: #3b82f6;
    border-radius: 1px;
}

.nav-btn {
    background: white !important;
    border: none !important;
    color: #142850 !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    background: #f8fafc !important;
    color: #142850 !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Newsletter Section */
.newsletter-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
    z-index: 1;
}

.newsletter-bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>');
    z-index: 2;
}
.sporty-footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    min-width: 16px;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-light);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
}

.copyright {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

/* Page Specific Styles */

/* Main Content Spacing */
main {
    padding-top: 76px; /* Space for fixed navbar */
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-title {
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-image img {
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.hero-buttons {
    gap: 1rem;
}

.hero-buttons .btn {
    min-width: 180px;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: white;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Classes Section */
.classes-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.class-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    height: 100%;
}

.class-card:hover {
    transform: translateY(-8px);
}

.class-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.class-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.class-card:hover .class-overlay {
    opacity: 1;
}

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-content {
    padding: 2rem;
}

.class-features {
    margin-top: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: white;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    main {
        padding-top: 70px; /* Less padding on mobile */
    }
    
    .navbar-logo { height: 40px; }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .nav-btn {
        margin-top: 1rem;
        display: inline-block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        min-width: 160px;
    }
    
    .footer-brand,
    .footer-contact,
    .footer-social {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    main {
        padding-top: 65px; /* Even less padding on small mobile */
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .navbar-logo { height: 36px; }
    .class-image { height: 220px; }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-on-hover {
    transition: transform 0.3s ease;
}

.scale-on-hover:hover {
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-warning {
    background-color: var(--warning-color) !important;
    color: white !important;
}

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Newsletter Styles */
.newsletter-form input:focus {
    border-color: #142850 !important;
    box-shadow: 0 0 0 3px rgba(20, 40, 80, 0.1) !important;
    outline: none;
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 40, 80, 0.3) !important;
    transition: all 0.3s ease;
}

.newsletter-form .form-control {
    transition: all 0.3s ease;
    font-weight: 500;
}

.newsletter-form .form-control:hover {
    border-color: #142850;
}

.newsletter-form .card {
    transition: transform 0.3s ease;
}

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

/* Smooth Focus States */
*:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Print Styles */
@media print {
    .sporty-navbar,
    .sporty-footer {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
}
