:root {
    --royal-blue: #1e3a8a;
    --gold: #d4af37;
    --white: #ffffff;
    --light-blue: #3b82f6;
    --dark-blue: #1e40af;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f9fa"/><path d="M0 0L100 100M100 0L0 100" stroke="%23e9ecef" stroke-width="0.5"/></svg>');
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
}

.navbar {
    background-color: var(--royal-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--white) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    transition: color 0.3s;
}

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

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

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

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

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

.hero-section {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--royal-blue), var(--dark-blue));
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
}

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

.executive-card {
    text-align: center;
    padding: 1.5rem;
}

.executive-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--gold);
    background: linear-gradient(45deg, var(--royal-blue), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.executive-img::before {
    content: '👤';
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-blue);
    font-size: 1.1rem;
}

.gallery-item::before {
    content: '🖼️ Image Placeholder';
}

.gallery-item img {
    transition: transform 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.organization-scroll {
    overflow-x: auto;
    padding: 20px 0;
    background: #f8f9fa;
    border-radius: 10px;
}

.scroll-container {
    min-width: 1200px;
    text-align: center;
    padding: 20px;
}

.scroll-container img {
    max-height: 500px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Placeholder for organization image */
.scroll-container::before {
    content: '🏛️ Full Choir Organization Photo';
    font-size: 2rem;
    color: var(--royal-blue);
    display: block;
    padding: 100px 0;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.footer {
    background-color: var(--royal-blue);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--gold);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--royal-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.music-toggle:hover {
    transform: scale(1.1);
    background: var(--dark-blue);
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dashboard-card {
    border-left: 4px solid var(--royal-blue);
}

.id-card {
    background: linear-gradient(135deg, var(--royal-blue), var(--dark-blue));
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.id-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.id-card-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin: 0 auto 1rem;
}

.admin-sidebar {
    background: var(--royal-blue);
    color: white;
    min-height: 100vh;
    padding: 0;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white !important;
}

.admin-content {
    padding: 2rem;
}

.attendance-table th {
    background-color: var(--royal-blue);
    color: white;
}

.calendar-day {
    border: 1px solid #dee2e6;
    height: 100px;
    padding: 5px;
    overflow-y: auto;
}

.calendar-day.event-day {
    background-color: rgba(30, 58, 138, 0.1);
}

.event-badge {
    font-size: 0.7rem;
    margin-bottom: 2px;
}

.dashboard-sidebar {
    background: var(--royal-blue);
    color: white;
    min-height: 100vh;
    padding: 0;
}

.dashboard-sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-sidebar .nav-link:hover, .dashboard-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white !important;
}

.dashboard-content {
    padding: 2rem;
}

.stats-card {
    border-left: 4px solid var(--royal-blue);
}

/* Carousel image placeholders */
.carousel-item {
    background: linear-gradient(45deg, var(--royal-blue), var(--dark-blue));
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
}

.carousel-item::before {
    content: 'Choir Activity Photo';
}

.carousel-item:nth-child(1)::before {
    content: '🎵 Choir Performance';
}

.carousel-item:nth-child(2)::before {
    content: '🎼 Choir Rehearsal';
}

.carousel-item:nth-child(3)::before {
    content: '🤝 Choir Outreach';
}

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

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

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .organization-scroll {
        padding: 10px 0;
    }
    
    .scroll-container {
        min-width: 800px;
    }
    
    .executive-img {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }
}