/* GCEA Website Custom Styles */

/* Color Variables */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-gold: #f59e0b;
    --dark-gray: #374151;
    --light-gray: #f8fafc;
    --text-dark: #1f2937;
    --text-light: #6b7280;
}

/* Custom Primary Colors */
.bg-primary {
    background-color: var(--primary-blue) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

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

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

.btn-warning {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
}

.btn-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: white;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    margin-top: 76px; /* Account for fixed navbar */
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-buttons .btn {
    margin: 0.5rem 0;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Cards */
.service-card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.service-icon {
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.card-img-top {
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Sections */
section {
    position: relative;
}

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

/* Statistics */
.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #1f2937 !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-gold) !important;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 1rem 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 100px 0 60px 0;
    margin-top: 76px;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-blue);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    top: -15px;
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Event Calendar */
.event-calendar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.event-item {
    border-left: 4px solid var(--accent-gold);
    padding: 1rem;
    margin: 1rem 0;
    background: #f8fafc;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #e5e7eb;
    transform: translateX(5px);
}

/* Publication Cards */
.publication-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-gold);
}

.publication-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        left: 20px;
        transform: none;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1rem 0;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Utility Classes */
.text-gold {
    color: var(--accent-gold) !important;
}

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

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}
