/* Coebel Buurtfestival 2026 Custom Stylesheet */
:root {
    --primary: #1e5649; /* Deep Warm Teal HSL(164, 46%, 25%) */
    --primary-light: #eef6f4;
    --primary-hover: #153c33;
    --accent: #e76f51; /* Warm Terracotta HSL(12, 76%, 61%) */
    --accent-light: #fdf0ec;
    --accent-hover: #cf5334;
    --gold: #f4a261; /* Warm Gold */
    --gold-light: #fef6ee;
    --bg-warm: #fcf9f5; /* Cozy Off-white/Cream HSL(36, 40%, 98%) */
    --text-dark: #112d26;
    --text-muted: #536f68;
    --border-color: #e5edea;
    --card-shadow: 0 10px 30px rgba(30, 86, 73, 0.05);
    --card-shadow-hover: 0 20px 40px rgba(30, 86, 73, 0.12);
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
}

body {
    background-color: var(--bg-warm);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Custom Bunting Flag Header */
.festival-bunting {
    display: flex;
    justify-content: space-around;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

.flag {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 35px solid var(--accent);
    transform-origin: top center;
    animation: flag-swing 3s ease-in-out infinite alternate;
}

.flag:nth-child(2n) {
    border-top-color: var(--gold);
    animation-delay: 0.2s;
}

.flag:nth-child(3n) {
    border-top-color: var(--primary);
    animation-delay: 0.4s;
}

.flag:nth-child(4n) {
    border-top-color: #2a9d8f;
    animation-delay: 0.6s;
}

@keyframes flag-swing {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

/* Navigation & Glassmorphism Header */
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.glass-nav {
    background: rgba(252, 249, 245, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 86, 73, 0.08);
}

.lang-switch .btn {
    border-radius: 8px;
    min-width: 46px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-color: rgba(30, 86, 73, 0.32);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.6);
}

.lang-switch .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Custom Cards */
.custom-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(30, 86, 73, 0.15);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
}

.hero-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(30, 86, 73, 0.15);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-image-card {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(30, 86, 73, 0.08);
    border: 8px solid #ffffff;
    overflow: hidden;
    transform: rotate(1deg);
    transition: transform 0.4s ease;
}

.hero-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.section-programma {
    background-color: #ffffff;
}

.section-divider {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 12px 0 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(30, 86, 73, 0), rgba(30, 86, 73, 0.35), rgba(30, 86, 73, 0));
}

.section-divider i {
    color: var(--accent);
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 86, 73, 0.2);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 86, 73, 0.3);
}

.btn-accent-custom {
    background-color: var(--accent);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.2);
}

.btn-accent-custom:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.3);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 11px 27px;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Quick Info Badges */
.quick-info-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--card-shadow);
}

.info-icon {
    font-size: 1.75rem;
    color: var(--accent);
    margin-right: 15px;
    background-color: var(--accent-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
}

.info-details h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

.info-details p {
    font-size: 1.05rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary);
}

/* Voting Component */
.vote-card {
    background: #ffffff;
    border: 1px dashed var(--primary);
    border-radius: var(--border-radius-lg);
    padding: 24px;
}

.vote-item {
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 14px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vote-item:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: scale(1.01);
}

.vote-item.voted {
    border-color: var(--accent);
    background-color: var(--accent-light);
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.08);
}

.vote-text {
    font-weight: 600;
    font-size: 1rem;
}

.vote-stats {
    display: flex;
    align-items: center;
}

.vote-count {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 50px;
    margin-right: 12px;
}

.vote-item.voted .vote-count {
    background-color: var(--accent);
    color: #ffffff;
}

/* Checklist Styling */
.checklist-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.checklist-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checklist-checkbox.checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checklist-checkbox.checked::after {
    content: "\F26E"; /* Bootstrap check icon */
    font-family: "bootstrap-icons";
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.checklist-text {
    font-size: 0.95rem;
}

.checklist-text.checked {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Registration Form Style */
.form-section {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.form-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 86, 73, 0.08);
    background-color: #ffffff;
}

/* Registrations Board */
.stats-card {
    background-color: var(--primary-light);
    border: 1px solid rgba(30, 86, 73, 0.1);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    text-align: center;
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attendee-row {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.attendee-row:hover {
    border-color: rgba(30, 86, 73, 0.15);
    box-shadow: 0 4px 15px rgba(30, 86, 73, 0.03);
}

.street-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Custom street colors for visual variety */
.badge-brandts { background-color: #eef6f4; color: #1e5649; border: 1px solid rgba(30, 86, 73, 0.2); }
.badge-noach { background-color: #fdf0ec; color: #e76f51; border: 1px solid rgba(231, 111, 81, 0.2); }
.badge-tuinderij { background-color: #fef6ee; color: #f4a261; border: 1px solid rgba(244, 162, 97, 0.2); }
.badge-glenn { background-color: #f3f3fd; color: #4361ee; border: 1px solid rgba(67, 97, 238, 0.2); }
.badge-other { background-color: #f1f3f2; color: #6c757d; border: 1px solid rgba(108, 117, 125, 0.2); }

.team-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}
.team-brandts { background-color: #1e5649; color: #ffffff; }
.team-noach { background-color: #e76f51; color: #ffffff; }
.team-toeschouwer { background-color: #e9ecef; color: #495057; }

.contribution-box {
    background-color: var(--bg-warm);
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-dark);
}

/* Footer style */
footer {
    background-color: var(--primary);
    color: #eef6f4;
    padding: 60px 0 30px 0;
    font-size: 0.95rem;
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Notification/Toast style */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.custom-toast i {
    font-size: 1.25rem;
    color: var(--gold);
    margin-right: 12px;
}

/* Micro-animations */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 86, 73, 0.08);
}

.admin-tabs {
    border-bottom: 2px solid rgba(30, 86, 73, 0.15);
    gap: 8px;
}

.admin-tabs .nav-link {
    border: 1px solid rgba(30, 86, 73, 0.22);
    border-bottom: none;
    color: var(--primary);
    font-weight: 700;
    padding: 10px 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: #f5fbf9;
    margin-bottom: -2px;
}

.admin-tabs .nav-link:hover {
    background: #edf6f3;
    border-color: rgba(30, 86, 73, 0.3);
}

.admin-tabs .nav-link.active {
    background: #ffffff;
    color: var(--primary);
    border-color: rgba(30, 86, 73, 0.28);
    border-bottom: 2px solid #ffffff;
}

.todo-done {
    opacity: 0.72;
}

.todo-done .todo-title {
    text-decoration: line-through;
}

@media (max-width: 767.98px) {
    .admin-tabs {
        align-items: stretch;
    }

    .admin-tabs .nav-link {
        width: 100%;
        border-radius: 10px;
        border-bottom: 1px solid rgba(30, 86, 73, 0.22);
        margin-bottom: 0;
    }

    .section-divider {
        padding: 10px 0 14px;
    }

    #programma .custom-card .p-4 {
        padding: 1.1rem !important;
    }

    .activity-copy {
        font-size: 1rem;
        line-height: 1.75;
    }

    footer {
        font-size: 1rem;
        line-height: 1.7;
        padding: 48px 0 26px 0;
    }

    footer p,
    footer li,
    footer a {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .footer-bottom {
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

@media (max-width: 575.98px) {
    .admin-action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .admin-action-buttons .btn {
        width: 100%;
    }
}
