/* 1. BASICS */
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.body-home, .body-error {
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* 2. NAVBAR */
.site-navbar {
    padding: 0;
    min-height: 60px;
    z-index: 1000;
}

.navbar-glass {
    background: rgba(33, 37, 41, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    height: 60px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-logo {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    background-color: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Nav link underline animation */
.hover-primary {
    transition: color 0.15s ease-in-out, text-decoration 0.15s ease-in-out;
}
.hover-primary:hover {
    color: #198754 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: #0a5928;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 70%;
}

.donate-btn {
    background: linear-gradient(135deg, #0a5928, #178a41);
    color: white !important;
    font-weight: 600;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50px;
    padding: 0 1.75rem;
    margin: 0 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 89, 40, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 89, 40, 0.5);
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

/* 3. MOBIEL SPECIFIEK */
@media (max-width: 991.98px) {
    .site-navbar .container,
    .site-navbar .container-fluid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 0;
    }

    .navbar-brand {
        padding-left: 15px;
    }

    .navbar-toggler {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin-right: 15px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 5px 12px;
        height: auto;
        min-height: 36px;
        width: auto;
        border-radius: 8px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-text {
        font-size: 0.95rem;
        font-weight: 500;
        color: #ffffff;
        letter-spacing: 0.3px;
    }

    .navbar-collapse {
        width: 100%;
        background-color: #212529;
        order: 3; /* Forces the menu */
        padding: 1rem;
    }

    .donate-btn {
        width: 100%;
        height: 55px;
        margin-top: 10px;
    }
}

/* 4. PREMIUM HOMEPAGE STYLES */
.overlay-gradient {
    pointer-events: none;
}

.premium-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.text-shadow-sm {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.icon-circle {
    transition: transform 0.3s ease;
}

.premium-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

/* COLORS */
.bg-fouta-primary { background-color: #0a5928; }
.bg-fouta-secondary { background-color: #178a41; }
.bg-fouta-dark { background-color: #063b1a; }

/*Misbaou*/

.hero-card {
    background-color: #FCEBE9;
    padding-top: 70px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F5D6D3;
}

.hero-card p{
    max-width: 700px;
}

.registredUserCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}


.registredUserCard {
    border: none;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profilePictureSize{
    width: 130px;
    height: 130px;
}

.user-profession{
    color: #D23836;
    letter-spacing: 1px;
}

.search-button {
    background-color: #D23836;
    color: white;
    padding: 10px 28px;
    font-weight: 600;
}

.search-button:hover {
    background-color: #B02A29;
    color: white;

}

.empty-list-card{
    width: 80px;
    height: 80px;
}

/* BUTTONS */
.btn-custom {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: #1f3c88;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 2rem;
}

.btn-compact {
    padding: 5px 10px;
    font-size: 0.75rem;
    background-color: #1f3c88;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-custom:hover, .btn-compact:hover {
    background-color: #4aa3df;
    color: #ffffff;
}

.btn-custom-grey {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: #8a8a8a;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-compact-grey {
    padding: 5px 10px;
    font-size: 0.75rem;
    background-color: #8a8a8a;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-custom-grey:hover, .btn-compact-grey:hover {
    background-color: #7a7a7a;
    color: #ffffff;
}

.btn-custom-fouta {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: #0a5928;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-compact-fouta {
    padding: 5px 10px;
    font-size: 0.75rem;
    background-color: #0a5928;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}



.editButtonIcon-fouta {
    color: #0a5928 !important;
}

.editButtonIcon-fouta:hover {
    color: #178a41 !important;
}


.btn-custom-fouta:hover, .btn-compact-fouta:hover{
    background: #178a41;
    color: #ffffff;
}


.btn-custom-yellow {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: #ffd74b;
    color: #444;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-custom-yellow:hover {
    background: #af9432;
    color: #444;
}


.profilePictureSizeLarge {
    width: 100%;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
}

/* DASHBOARD CARDS STYLE */
.dashboard-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #1b1b1b; /* black */
    border: 1px solid #343a40;
}

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

/* rand colors hover */
.card-income:hover {
    border-color: #198754; /* Success Green */
}

/* --- NEW PREMIUM SUBPAGE STYLES --- */
.premium-hero {
    padding-top: 90px;
    padding-bottom: 30px;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.premium-hero .hero-card-text {
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 700px;
}

/* Subtiel andere kleuren per thema */
.premium-hero-projects { background: linear-gradient(135deg, #212529 0%, #2f4f4f 100%); }
.premium-hero-events { background: linear-gradient(135deg, #212529 0%, #3e4a3d 100%); }
.premium-hero-finances { background: linear-gradient(135deg, #212529 0%, #1e3b2b 100%); }
.premium-hero-mission { background: linear-gradient(135deg, #212529 0%, #2c3e50 100%); }
.premium-hero-users { background: linear-gradient(135deg, #212529 0%, #0a5928 100%); }

.btn-premium {
    background: linear-gradient(135deg, #212529, #343a40);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-premium:hover {
    background: linear-gradient(135deg, #343a40, #495057);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-premium-outline {
    background: transparent;
    color: #495057 !important;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #212529 !important;
    border-color: #adb5bd;
} .custom-date-input {
      outline: none;
      color: inherit;
      width: 130px;
  }

.btn-clear-filter {
    border: 1px dashed #aaa;
    color: #888;
    transition: all 0.2s ease-in-out;
}

.btn-clear-filter:hover {
    color: #555;
    border-color: #888;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Event Visibility Badges */

.badge-visibility {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    border-radius: 50rem; /* pill shape */
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
    display: inline-block;
}

.badge-admins-only {
    background-color: #D23836; /* Using your custom red */
    color: #ffffff;
}

.badge-members-only {
    background-color: #ffd74b; /* Using your custom yellow */
    color: #444;
}

.badge-public {
    background-color: #8CBF77; /* Using your custom green */
    color: #ffffff;
}

.photo-card {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.photo-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform .15s ease-in-out;
    display: block;
}

.photo-card:hover .photo-thumb {
    transform: scale(1.05);
}

.photo-card form {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
}




.contact-hero-card {
    background: linear-gradient(135deg, #212529 0%, #1f3c88 100%);
    padding-top: 100px;
    padding-bottom: 40px;
    color: white;
}


@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        display: inline-block;
    }
}
