/* Folk School of St. Louis - Custom Styles */

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #CD853F;
    --light-bg: #F5F5DC;
    --dark-bg: #2F1B14;
    --text-dark: #3E2723;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation Styles */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    padding: 60px 0;
}

.min-vh-75 {
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.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);
    transform: translateY(-2px);
}

/* Mission Section */
.mission-section {
    background-color: var(--light-bg);
}

.mission-section img {
    max-width: 200px;
    height: auto;
}

/* Featured Classes */
.class-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.class-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.class-card:hover .card-img-top {
    transform: scale(1.05);
}

.class-card .card-body {
    padding: 1.5rem;
}

.class-card .card-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Events Section */
.workshops-section {
    background-color: var(--light-bg);
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 2rem;
}

.event-date {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.event-price {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.sidebar-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar-box h5, .sidebar-box h6 {
    color: var(--primary-color);
}

.sidebar-box ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-box ul li a:hover {
    color: var(--secondary-color);
}

/* Community Section */
.community-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.community-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Classes Page Styles */
.filter-section {
    border-radius: 15px;
    border: 2px solid var(--accent-color);
}

.filter-section h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.table {
    border-radius: 15px;
    overflow: hidden;
}

.table-dark {
    background-color: var(--dark-bg);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(245, 245, 220, 0.3);
}

.table-hover tbody tr:hover {
    background-color: rgba(210, 105, 30, 0.1);
}

.registration-info {
    border-radius: 15px;
    border: 2px solid var(--accent-color);
}

.registration-info h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
}

footer h5, footer h6 {
    color: var(--secondary-color);
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .event-image {
        height: 150px;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Animation for scroll effects */
@media (prefers-reduced-motion: no-preference) {
    .class-card, .event-card {
        opacity: 0;
        animation: slideInUp 0.6s ease-out forwards;
    }
    
    .class-card:nth-child(1) { animation-delay: 0.1s; }
    .class-card:nth-child(2) { animation-delay: 0.2s; }
    .class-card:nth-child(3) { animation-delay: 0.3s; }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Print Styles */
@media print {
    .navbar, footer, .hero-buttons, .btn {
        display: none;
    }
    
    .hero-section {
        padding: 20px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
