@import url('https://fonts.googleapis.com/css2?family=Elsie&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-font: 'Playfair Display', serif;
    --heading-font: 'Elsie', serif;
    --nav-bg: #aa8c55;
    /* Extracted approximate color from screenshot */
}

body {
    font-family: var(--primary-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
    font-family: var(--heading-font);
}

/* Header Styles */
.site-header {
    background-color: #fff;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    max-height: 90px;
    /* Adjust as needed */
    display: inline-block;
}

@media (min-width: 992px) {
    .main-nav-wrapper {
        background-color: var(--nav-bg) !important;
    }
}

.offcanvas-start {
    width: 80% !important;
    background-color: var(--nav-bg) !important;
}

.navbar-toggler {
    background-color: var(--nav-bg);
    /* to make the toggle visible if header is white */
}

/* Remove focus outline globally for cleaner design */
*:focus,
.form-control:focus,
.form-select:focus,
.btn:focus,
.navbar-toggler:focus,
a:focus {
    outline: none !important;
    box-shadow: none !important;
}

.main-nav .nav-link {
    color: #fff !important;
    font-size: 1.1rem;
    padding: 0.5rem 15px !important;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.main-nav .nav-link:hover {
    opacity: 0.8;
}

/* Add separators only on desktop (lg breakpoint and up) */
@media (min-width: 992px) {
    .main-nav .nav-item {
        display: flex;
        align-items: center;
    }

    .main-nav .nav-item::before {
        content: "|";
        color: rgba(255, 255, 255, 0.7);
    }

    .main-nav .nav-item:first-child::before {
        content: "|";
    }

    .main-nav .nav-item:last-child::after {
        content: "|";
        color: rgba(255, 255, 255, 0.7);
        margin-left: 15px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--nav-bg);
}

/* Custom Spacing Classes */
.sidespace-small {
    padding: 0 5vw;
}

.sidespace-big {
    padding: 0 7vw;
}

/* Custom Cards */
.custom-card {
    border: 1px solid #e0d8c3;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.custom-card .card-body {
    padding: 1.5rem;
}

/* Sidebar Styling */
@media (min-width: 992px) {
    .custom-sidebar {
        border-left: 1px solid #d32f2f;
        padding-left: 2rem;
        position: sticky;
        top: 2rem;
        align-self: flex-start;
    }
}

.sidebar-card {
    border: 1px solid #e0d8c3;
    border-radius: 8px;
}

.sidebar-header {
    background-color: var(--nav-bg);
    border-bottom: none;
    padding: 10px;
    border-radius: 8px 8px 0 0 !important;
}

/* Sidebar Content Colors */
.event-date {
    color: #c93b42;
    font-weight: 500;
}

.event-desc {
    color: #333;
    font-size: 0.95rem;
}

.donate-list li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 3px;
    padding-left: 10px;
}

/* Custom Dropdown styling */
.custom-dropdown .form-select {
    border: 1px solid #ccc;
    border-radius: 0;
    background-image: none;
    /* remove default arrow */
    padding-left: 10px;
    padding-right: 40px;
    /* space for the custom arrow */
    cursor: pointer;
}

.custom-dropdown-icon {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background-color: var(--nav-bg);
    border: 1px solid var(--nav-bg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Crucial: lets clicks pass through to the select underneath */
    font-size: 0.8rem;
    z-index: 5;
}