﻿.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgroundimage.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 74px;
}
@media (max-width: 768px) {
    .page-header {
        margin-top: 40px;
    }
}
.calendar-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.calendar-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
}

    .calendar-card:hover {
        transform: translateY(-5px);
    }

.date-box {
    background: white;
    color: black;
    padding: 15px;
    text-align: center;
    width: 80px;
    flex-shrink: 0;
}

.date-day {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    font-size: 14px;
    text-transform: uppercase;
}

.event-details {
    padding: 20px;
    flex-grow: 1;
}

.event-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.event-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.event-modal.modal {
    background-color: transparent !important;
}

.modal-backdrop {
    display: none !important;
}

.event-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.event-modal .modal-header {
    background: linear-gradient(135deg, #bc9a34 0%, #a02531 100%);
    color: white;
    padding: 25px 30px;
    border: none;
    position: relative;
}

.event-modal .modal-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    padding-right: 20px;
    line-height: 1.3;
}

.event-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
    width: 32px;
    height: 32px;
    background-size: 18px;
}

.event-modal .modal-body {
    padding: 0;
    color: #333;
    background: #fff;
}

.event-modal-body {
    padding: 30px;
    line-height: 1.8;
    font-size: 15px;
}

    .event-modal-body h1,
    .event-modal-body h2,
    .event-modal-body h3,
    .event-modal-body h4 {
        color: black;
        font-weight: 700;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .event-modal-body h1 {
        font-size: 26px;
        border-bottom: 3px solid #bc9a34;
        padding-bottom: 10px;
    }

    .event-modal-body h2 {
        font-size: 22px;
    }

    .event-modal-body h3 {
        font-size: 18px;
    }

    .event-modal-body p {
        margin-bottom: 15px;
        color: #555;
    }

    .event-modal-body ul,
    .event-modal-body ol {
        padding-left: 20px;
        margin-bottom: 20px;
    }

    .event-modal-body li {
        margin-bottom: 10px;
        color: #555;
        position: relative;
        padding-left: 10px;
    }

    .event-modal-body ul li::before {
        content: "▸";
        color: #bc9a34;
        font-weight: bold;
        position: absolute;
        left: -10px;
    }

    .event-modal-body strong {
        color: #bc9a34;
        font-weight: 600;
    }

    .event-modal-body hr {
        border-color: #bc9a34;
        opacity: 0.3;
        margin: 25px 0;
    }

    /* Icon styled elements */
    .event-modal-body .emoji-highlight {
        background: linear-gradient(135deg, #fff5f5 0%, #ffe5e8 100%);
        padding: 15px 20px;
        border-radius: 12px;
        margin: 20px 0;
        border-left: 4px solid #bc9a34;
    }

/* Responsive adjustments */
@media (max-width: 768px) {


    .event-modal .modal-title {
        font-size: 20px;
    }

    .event-modal-body {
        padding: 20px;
        font-size: 14px;
    }

    .event-modal .modal-header {
        padding: 20px;
    }

    .event-modal-body h1 {
        font-size: 22px;
    }

    .event-modal-body h2 {
        font-size: 18px;
    }

    .event-modal-body h3 {
        font-size: 16px;
    }
}

@media (min-width: 576px) {
    .modal {
        --bs-modal-margin: 10.75rem !important;
        --bs-modal-box-shadow: var(--bs-box-shadow);
    }
}

@media (max-width: 576px) {

    .event-modal .modal-dialog {
        margin: 5px;
    }

    .event-modal .modal-title {
        font-size: 18px;
    }

    .event-modal-body {
        padding: 15px;
        font-size: 13px;
    }

    .event-modal .modal-header {
        padding: 15px;
    }

    .event-modal .btn-close {
        width: 28px;
        height: 28px;
    }
}

/* Scrollbar styling */
.event-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.event-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.event-modal .modal-body::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 4px;
}

    .event-modal .modal-body::-webkit-scrollbar-thumb:hover {
        background: black;
    }
