/* Styling voor de navbar */
.navbar {
    position: fixed; /* Vast bovenaan */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* Boven andere content */
    transition: top 0.3s ease-in-out;
    background: rgba(255, 153, 51, 0.2) !important; /* Glass-effect rgba(28, 28, 28, 0.85)*/
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid #ff9933;
}

/* Styling voor nav-links */
.custom-nav-link {
    transition: all 0.3s ease-in-out; /* Vloeiende overgang voor alle eigenschappen */
    position: relative; /* Voor onderstrepingseffect */
    color: #1c1c1c; /* Standaardkleur */
    padding-bottom: 5px; /* Ruimte voor onderstreping */
}

.custom-nav-link:hover {
    color: #ff9933; /* Oranje hoverkleur */
    background-color: rgba(255, 153, 51, 0.1); /* Subtiele achtergrondkleur */
    transform: translateY(-2px); /* Lichte opwaartse beweging */
}

.custom-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff9933; /* Oranje onderstreping */
    transition: width 0.3s ease-in-out;
}

.custom-nav-link:hover::after {
    width: 100%; /* Onderstreping groeit naar volledige breedte */
}

.custom-nav-link.active {
    color: #ff9933 !important; 
    font-weight: 500; /* Lichte nadruk met iets dikkere tekst */
}


/* Algemene styling voor dropdown-items */
.custom-nav-ddlink {
    color: #1c1c1c !important;
}

.custom-nav-ddlink:hover {
    color: #ff9933 !important; /* $success */
    background-color: rgba(215, 162, 30, 0.2) !important; /* $success met transparantie */
}


/* Standaardkleur van de dropdown-toggle knop */
.custom-dropdown .dropdown-toggle {
    color: #f5f5f5 !important; /* $primary */
}

/* Kleur als de dropdown actief/geopend is */
.custom-dropdown .dropdown-toggle:focus,
.custom-dropdown .dropdown-toggle:active,
.custom-dropdown .show > .dropdown-toggle {
    color: #ff9933 !important; /* $success */
    background-color: transparent !important;
    border: none !important;
}

/* Navbar toggler icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%231c1c1c' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Verwijder zwarte rand van navbar toggle knop */
.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Responsive aanpassingen */
@media (max-width: 767px) {
    .custom-nav-link {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        margin-top: 0.2rem;
    }
    .navbar-collapse {
        /* background: rgba(28, 28, 28, 0.85) !important; Solide achtergrond voor mobiele menu */
        padding: 1rem;
    }
}

/* Voorkom overlap van inhoud door fixed navbar */
body {
    padding-top: 70px; /* Pas aan op basis van navbar hoogte */
}

/* Styling voor de footer */
.footer {
    position: relative; /* Voor flexibele positionering */
    width: 100%;
    background: #1c1c1c; /* Tint van #ff9933 voor glass-effect rgba(255, 153, 51, 0.3) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border-top: 2px solid #ff9933;  */
    padding: 2rem 0;
    margin-top: 2rem;
    color: #f5f5f5;
}

/* Styling voor footer-links */
.footer-link {
    color: #ff9933; /* #ff9933 als $primary */
    text-decoration: none;
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: #f5f5f5; /* $success, vervang door je complementaire kleur */
    text-decoration: underline;
}

.footer {
    padding: 2rem 0; /* Extra ruimte boven en onder de footer */
}

.footer p,
.footer a {
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Copyright-tekst */
.footer-copyright {
    color: #f5f5f5;
    font-size: 0.9rem;
}

/* Responsive aanpassingen */
@media (max-width: 767px) {
    .footer {
        padding: 1rem 0;
    }
    .footer-link {
        display: block;
        margin: 0.5rem 0;
    }
    .footer-social-icon {
        margin: 0.5rem;
    }
}


/* sidebar */
#sidebar {
    position: sticky;
    top: 100px;
    right: 10px;
    width: 300px;
    height: 80vh;
    overflow-y: auto;
}

@media (max-width: 992px) {
    #sidebar {
        position: static;
        width: 100%;
    }
}

/* Styling voor knoppen */
.btn-primary {
    color: #ff9933 !important;
    border-color: #ff9933 !important;
    background-color: transparent !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #ff9933 !important;
    border-color: #ff9933 !important;
    background-color: rgba(215, 162, 30, 0.2) !important;
}

.btn-success {
    color: #ff9933 !important;
    border-color: #ff9933 !important;
    background-color: transparent !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    color: #ff9933 !important;
    border-color: #ff9933 !important;
    background-color: rgba(215, 162, 30, 0.2) !important;
}

.welcome-section {
    background: rgba(255, 153, 51, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 153, 51, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Google Ads */

/* Standaard stijlen (optioneel, voor fallback) */
.hide-ad-container-on-mobile {
    display: block; /* Standaard tonen, tenzij anders gespecificeerd */
}

.hide-ad-container-on-desktop {
    display: block; /* Standaard tonen, tenzij anders gespecificeerd */
}

/* Mobiele schermen (max-width: 767px) */
@media only screen and (max-width: 767px) {
    .hide-ad-container-on-mobile {
        display: none;
    }
    .hide-ad-container-on-desktop {
        display: block;
    }
}

/* Desktop schermen (min-width: 768px) */
@media only screen and (min-width: 768px) {
    .hide-ad-container-on-mobile {
        display: block;
    }
    .hide-ad-container-on-desktop {
        display: none;
    }
}

/* dropdown for AITastingHelper for the long text */
.dropdown-responsive .Select-control {
    width: 100% !important;
}

.dropdown-responsive .Select-menu-outer {
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.dropdown-responsive .Select-menu {
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.dropdown-responsive .Select-option {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.dropdown-responsive .Select-placeholder,
.dropdown-responsive .Select-value-label {
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .dropdown-responsive .Select-control {
        font-size: 14px !important;
    }

    .dropdown-responsive .Select-menu-outer {
        font-size: 14px !important;
    }

    .dropdown-responsive .Select-option {
        font-size: 14px !important;
    }
}


/* Styling voor de Ko-fi-container */
.kofi-container {
    background: rgba(255, 153, 51, 0.1); /* Subtiele #ff9933-tint */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 153, 51, 0.3); /* Optionele border */
}
