/* ==========================================================================
   Kerstlijst.be - Custom Styles (Bootstrap 5 Compatible)
   ========================================================================== */

/* BASIS & TYPOGRAFIE */
body {
    background-color: #FFFFFF;
    color: #444444;
    font-family: Geneva, Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px; /* Iets groter voor leesbaarheid */
}

a {
    text-decoration: none;
    color: #CC0000;
}

a:hover {
    text-decoration: underline;
    color: #a30000;
}

/* KOPPEN */
h1 { font-size: 24px; font-weight: normal; margin-bottom: 20px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; font-weight: bold; }

/* HEADER (Achtergrond) */
/* Bootstrap regelt breedte/hoogte/flex, hier alleen styling */
#header {
    background-color: #e31f00; /* Fallback kleur */
	background-position: top center;
    background-image: url('/images/topbackground.png');
    /* background-size etc. staat inline in de PHP voor flexibiliteit */
    position: relative;
    overflow: hidden;

	background-size: cover; 
	
	background-repeat: no-repeat; 
	min-height: 300px;
}

/* MENU LOGIN (Naam rechtsboven) */
/* De positie wordt nu geregeld door Bootstrap classes in topmenu.php */
#menulogin {
    /* Oude positionering verwijderd */
    font-weight: bold;
    color: #ffffff;
}

/* NAVIGATIE (Aanvullingen op Bootstrap Navbar) */
.navbar-nav .nav-link {
    color:#ffffff !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2); /* Subtiel effect */
    border-radius: 4px;
    text-decoration: none;
}

/* FORMULIEREN */
.formbox {
    /* Legacy class, Bootstrap gebruikt .form-control */
    border: 1px solid #CCCCCC;
    padding: 5px;
    color: #222222;
}

/* ALERTS & MELDINGEN */
/* Oude classes .error en .info gemapt naar Bootstrap stijl, 
   voor het geval ze nog ergens in oude PHP code staan */
.error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.info {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.new {
    background-color: #fff3cd; /* Geelachtig voor nieuws */
    border: 1px solid #ffecb5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* TABELLEN */
/* Oude tabel styling */
.lijsttabel td, .rijonderlijn {
    border-bottom: 1px solid #EEEEEE;
    padding: 8px 5px;
}

/* NAAM TITELS */
.naamtitel {
    font-size: 14px;
    font-weight: bold;
    padding: 3px 0px 3px 15px;
    border-bottom: 2px solid #CC0000;
    margin-bottom: 10px;
}

/* ZOEK AFBEELDINGEN */
.zoekimage {
    margin: 5px;
    border: 2px solid #eeeeee;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.zoekimage:hover, .zoekimageover {
    border-color: #CC0000; /* Rood randje */
    opacity: 0.8;
}

/* ACCORDION (FAQ) */
.inner {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dotted #CC0000;
}

.inner:last-child {
    border-bottom: none;
}

/* VRIENDENBOX (Oude scrollbox, gemoderniseerd) */
.vriendenbox {
    width: 100%; /* Responsive */
    max-height: 400px;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    overflow-y: auto;
    padding: 10px;
    border-radius: 4px;
}

/* FOOTER */
/* Oude footer styles verwijderd, wordt nu geregeld door Bootstrap classes in footer.php */
#footer a {
    color: #ffffff;
    text-decoration: underline;
}
#footer a:hover {
    color: #cccccc;
    text-decoration: none;
}

/* OVERIGE */
.cluetip {
    cursor: help;
    vertical-align: middle;
    margin-left: 5px;
}

.divider {
    background-color: #000000;
    height: 1px;
    margin: 10px 0;
}

/* VERWIJDERD:
   - #container width: 900px
   - #menu styles (vervangen door navbar)
   - .col1, .col2 floats (vervangen door grid)
*/

/* 1. Het gouden lintje in de hoek */
    .ribbon-wrapper {
        width: 85px;
        height: 88px;
        overflow: hidden;
        position: absolute;
        top: -3px;
        right: -3px;
        z-index: 10; /* Zorg dat hij boven de foto ligt */
    }

    .ribbon {
        font-family: sans-serif;
        font-weight: bold;
        color: #333; /* Donkere tekst op goud leest goed */
        text-align: center;
        transform: rotate(45deg);
        position: relative;
        padding: 5px 0;
        left: -5px;
        top: 15px;
        width: 120px;
        background-color: #FFD700; /* Goudgeel */
        background-image: linear-gradient(to bottom, #FFD700, #FDB931); /* Goud effectje */
        box-shadow: 0px 2px 3px rgba(0,0,0,0.3);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* 2. De kaart zelf een gouden rand geven als het een favoriet is */
    .card-favoriet {
        border: 2px solid #FFD700 !important;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;
    }




/* Specifieke kleur: Goud voor Favoriet */
.ribbon-gold {
    background: #FFD700;
    background: linear-gradient(to bottom, #FFD700 0%, #FDB931 100%);
    color: #333; /* Donkere tekst leest beter op goud */
}

/* kleur voor admintips */
.ribbon-green {
    background: #00ff0d;
    background: linear-gradient(to bottom, #00ff0d 0%, #1f9f11 100%);
    color: #fff; /* Donkere tekst leest beter op goud */
}

/* Specifieke kleur: Rood voor Concept */
.ribbon-red {
    background: #dc3545;
    background: linear-gradient(to bottom, #dc3545 0%, #b02a37 100%);
    color: #fff;
}

/* 2. Kaart Styling */
    .gift-card {
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
        border: none; /* Geen standaard rand, we gebruiken shadow */
    }

    .gift-card:hover {
        transform: translateY(-5px); /* Komt iets omhoog */
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    }

    /* 3. Afbeelding netjes centreren */
    .card-img-wrapper {
        height: 220px; /* Vaste hoogte */
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        padding: 15px;
        overflow: hidden;
    }

    .card-img-wrapper img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain; /* Zorgt dat de foto nooit vervormt */
    }

    .dashboard-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 10px;
}
.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
    cursor: pointer;
}
.icon-box {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.article-content h2{
   /* font-size: 1.75rem;
    font-weight: bold;*/
    margin-bottom: 20px;
    color: rgba(220,53,69,1);
}
.article-content h3{
   /* font-size: 1.5rem;
    font-weight: bold;*/
    margin-bottom: 15px;
}
.article-content h2,
.article-content h3, .article-content hr{
    clear: both;
}

.article-content p{
   /* font-size: 1rem;
    line-height: 1.6;*/
    margin-bottom: 15px;
}

/* Cookie-melding: vast onderaan, zonder overlay zodat de pagina bruikbaar blijft */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    padding: 0.85rem 0;
    background-color: #ccc;
    color: #fff;
}
.cookie-consent[hidden] {
    display: none;
}
