/* UIC Public Website Styles */
/* Based on uicag.org design */

:root {
    --primary-green: #6d7d3e;
    --primary-dark: #333333;
    --secondary-gold: #ffc300;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
}

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar .contact-info {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar .separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.5);
}

.top-bar .login-link {
    color: var(--secondary-gold);
    text-decoration: none;
    font-weight: 500;
}

.top-bar .login-link:hover {
    color: var(--white);
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .navbar {
    padding: 15px 0;
}

.main-header .logo {
    max-height: 60px;
    width: auto;
}

.main-header .nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    padding: 10px 20px !important;
    transition: color 0.3s ease;
}

.main-header .nav-link:hover {
    color: var(--primary-green);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    height: 600px;
}

.hero-carousel .carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.hero-carousel .bg-slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url('/images/hero/slide-1.jpg');
}

.hero-carousel .bg-slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url('/images/hero/slide-2.jpg');
}

.hero-carousel .bg-slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('/images/hero/slide-3.jpg');
}

.hero-carousel .carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-carousel .carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-carousel .carousel-content .lead {
    font-size: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 800px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-carousel .btn-primary {
    background-color: var(--secondary-gold);
    border-color: var(--secondary-gold);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 12px 40px;
}

.hero-carousel .btn-primary:hover {
    background-color: #e6b000;
    border-color: #e6b000;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #4a5a2a 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-green);
    margin: 0 auto 2rem;
}

.section-divider.left {
    margin: 0 0 2rem 0;
}

.section-text {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* Benefit Cards */
.benefit-card {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.benefit-icon {
    color: var(--primary-green);
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.benefit-content p {
    color: #666;
    margin-bottom: 0;
}

/* Sidebar Cards */
.sidebar-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.sidebar-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.sidebar-card p {
    color: #666;
    margin-bottom: 1rem;
}

.member-types {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-types li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

.member-types li:last-child {
    border-bottom: none;
}

/* Timeline Card */
.timeline-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.timeline-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.timeline-item {
    padding-left: 20px;
    border-left: 3px solid var(--primary-green);
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item .year {
    display: block;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.125rem;
}

.timeline-item p {
    margin: 5px 0 0;
    color: #666;
}

/* Mission Statement */
.mission-statement {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

/* Driver Cards */
.driver-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.driver-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.driver-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.driver-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* Focus Areas */
.focus-areas {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.focus-areas h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.focus-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Info Card */
.contact-info-card {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    color: var(--primary-green);
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.contact-details p {
    margin-bottom: 0;
    color: #666;
}

.contact-details a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 5px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(109, 125, 62, 0.25);
}

/* Map Section */
.map-section {
    margin-top: 0;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-overlay h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.map-overlay p {
    color: #666;
    margin-bottom: 0;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #4a5a2a 100%);
    color: var(--white);
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.cta-section .btn-light {
    background-color: var(--white);
    color: var(--primary-green);
    font-weight: 600;
    padding: 12px 30px;
}

.cta-section .btn-light:hover {
    background-color: var(--secondary-gold);
    color: var(--primary-dark);
}

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0;
}

.main-footer .copyright {
    margin-bottom: 0;
}

.main-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: var(--white);
}

.main-footer .separator {
    margin: 0 10px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background-color: #5a6932;
    border-color: #5a6932;
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-item {
        height: 500px;
    }

    .hero-carousel .carousel-content h1 {
        font-size: 2.25rem;
    }

    .hero-carousel .carousel-content .lead {
        font-size: 1.125rem;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .content-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .top-bar .contact-info {
        display: none;
    }

    .hero-carousel .carousel-item {
        height: 450px;
    }

    .hero-carousel .carousel-content h1 {
        font-size: 1.75rem;
    }

    .hero-carousel .carousel-content .lead {
        font-size: 1rem;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .content-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-section {
        text-align: center;
    }

    .cta-section .text-lg-end {
        margin-top: 20px;
    }
}
