:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --accent-color: #00aaff;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

/* Carousel Styles */
.carousel-item {
    min-height: 70vh;
}

.hero-slide {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #003366 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 20px;
}

/* Simple Hero Section (when carousel is disabled) */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

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

/* Content Styling */
.content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content ul, .content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content ul li, .content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content strong {
    color: var(--text-color);
    font-weight: 600;
}

.content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

/* Event Items */
.event-item {
    transition: all 0.3s ease;
}

.event-item:hover {
    background-color: var(--light-bg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Badge Colors */
.badge {
    padding: 0.35rem 0.65rem;
    font-weight: 500;
}

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

/* Footer */
footer {
    margin-top: auto;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

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

/* Main Content Padding */
main {
    min-height: calc(100vh - 200px);
}

/* Link Styling */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Section Spacing */
section {
    margin-bottom: 0;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Utilities */
.text-bronze {
    color: #cd7f32;
}

/* Competition Year Cards */
.card-header {
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .carousel-item {
        min-height: 50vh;
    }
    
    .hero-slide {
        min-height: 50vh;
    }
    
    .min-vh-70 {
        min-height: 50vh;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar, footer, .btn, .card-footer, .carousel {
        display: none;
    }
}

/* Accessibility */
.btn:focus, .form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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