/* Custom styles for SupportSuperiorSchools.org */

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 18px;
}

/* Navbar fixes */
.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3d72 100%);
    padding: 60px 0 20px;
    min-height: 20vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-stats {
    margin-top: 2rem;
}

/* Hero text sizing */
.hero-section .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-section .display-4 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Fix for alert info text color */
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Button sizing */
.btn {
    font-size: 1.1rem;
    padding: 0.875rem 1.75rem;
}

.hero-stats h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Signup Card */
.signup-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.signup-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Position Cards */
.position-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.position-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.position-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.position-card ul {
    padding-left: 1.2rem;
}

.position-card li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* News Section */
.news-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Events Section */
.event-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.event-date {
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin-right: 1.5rem;
    min-width: 80px;
}

.event-day {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-details h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-details p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.event-details p:last-child {
    margin-top: 0.5rem;
    color: var(--text-dark);
}

/* Action Cards */
.action-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: background 0.3s ease;
}

.action-card:hover {
    background: rgba(255,255,255,0.2);
}

.action-card h5 {
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

/* Form Styling */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
    color: var(--text-dark);
    background-color: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.form-control::placeholder, .form-select option:first-child {
    color: #6c757d;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #1e3d72;
    transform: translateY(-1px);
}

/* Action Cards */
.action-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.action-card i {
    color: rgba(255, 255, 255, 0.9);
}

.action-card h4 {
    color: white;
    margin-bottom: 1rem;
}

.action-card p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background: #1e3d72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-light:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.3rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Footer */
footer {
    background: #2c3e50 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-stats h3 {
        font-size: 2rem;
    }
    
    .signup-card {
        margin-top: 3rem;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .position-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-stats h3 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success message */
.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

/* Section spacing */
section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}