/* 
* Custom CSS for New Braunfels Senior Expo
* Color Scheme:
* Primary: #1b4780
* Secondary: #00b1a8
* Highlight: #c76f4e
*/

/* Custom color classes */
.bg-primary {
    background-color: #1b4780 !important;
}

.bg-secondary {
    background-color: #00b1a8 !important;
}

.bg-highlight {
    background-color: #c76f4e !important;
}

.primary-text {
    color: #1b4780 !important;
}

.secondary-text {
    color: #00b1a8 !important;
}

.highlight-text {
    color: #c76f4e !important;
}

/* Button overrides */
.btn-primary {
    background-color: #1b4780;
    border-color: #1b4780;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #15376a;
    border-color: #15376a;
}

.btn-secondary {
    background-color: #00b1a8;
    border-color: #00b1a8;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #00918a;
    border-color: #00918a;
}

.btn-highlight {
    background-color: #c76f4e;
    border-color: #c76f4e;
    color: white;
}

.btn-highlight:hover, .btn-highlight:focus {
    background-color: #b05e3f;
    border-color: #b05e3f;
    color: white;
}

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

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

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

.nav-link {
    font-weight: 500;
}

/* Logo & Event Date Section */
.event-date h2 {
    font-size: 2.2rem;
    font-weight: bold;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(27, 71, 128, 0.85), rgba(27, 71, 128, 0.85)), url('https://source.unsplash.com/random/1600x800/?seniors,active') no-repeat center center;
    background-size: cover;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

/* Feature Cards */
.feature-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-color: rgba(0, 177, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    font-size: 2rem;
    color: #00b1a8;
}

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

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

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(199, 111, 78, 0.9), rgba(199, 111, 78, 0.9)), url('https://source.unsplash.com/random/1600x800/?senior,community') no-repeat center center;
    background-size: cover;
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #00b1a8;
    transform: translateY(-3px);
}

/* Accessibility Improvements */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(0, 177, 168, 0.5);
    outline-offset: 2px;
}

/* Schedule Timeline Styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #1b4780;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: -45px;
    top: 0;
}

.timeline-content {
    padding-left: 20px;
    padding-bottom: 10px;
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.timeline-content p {
    margin-bottom: 0;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        padding: 3rem 0;
    }
    
    .event-date h2 {
        font-size: 1.8rem;
    }
    
    .timeline {
        padding-left: 15px;
    }
    
    .timeline-date {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
}
