/* ==============================
   BCCosmos77 Open 2026 – site.css
   ============================== */

:root {
    --pb-green:        #396BC7;
    --pb-green-light:  #5A87D6;
    --pb-green-dark:   #2A509A;
    --pb-yellow:       #ff6d00;
    --pb-yellow-dark:  #e65100;
    --pb-dark:         #0d1b2a;
    --pb-card-shadow:  0 4px 16px rgba(0,0,0,.10);
}

html {
  font-size: 16px;
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #212529;
}

/* ---- Navbar ---- */
.pb-navbar {
    background: linear-gradient(135deg, var(--pb-green-dark) 0%, var(--pb-green) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.pb-navbar .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 500; }
.pb-navbar .nav-link:hover,
.pb-navbar .nav-link.active { color: #fff !important; }
.pb-navbar .nav-link.active { border-bottom: 2px solid var(--pb-yellow); padding-bottom: 2px; }

.btn-pb-accent {
    background-color: var(--pb-yellow);
    border-color: var(--pb-yellow-dark);
    color: var(--pb-green-dark) !important;
    border-radius: 6px;
}
.btn-pb-accent:hover {
    background-color: var(--pb-yellow-dark);
    border-color: var(--pb-yellow-dark);
    color: var(--pb-green-dark);
}

/* ---- Hero ---- */
.pb-hero {
    background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('/images/background-header.png') center/cover no-repeat;
    color: #fff;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}
.pb-hero::before {
    content: "";
    position: absolute;
    font-size: 18rem;
    opacity: .06;
    right: -2rem;
    top: -2rem;
    line-height: 1;
}
.pb-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
.pb-hero .lead { font-size: 1.25rem; opacity: .9; }

/* ---- Section headings ---- */
.section-title {
    font-weight: 700;
    color: var(--pb-green-dark);
    border-left: 5px solid var(--pb-yellow);
    padding-left: .75rem;
    margin-bottom: 1.5rem;
}

/* ---- Cards ---- */
.pb-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--pb-card-shadow);
    transition: transform .2s, box-shadow .2s;
}
.pb-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.pb-card .card-header {
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-light) 100%);
    color: #fff;
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* ---- Info badges / stats ---- */
.pb-stat {
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-light) 100%);
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
}
.pb-stat .stat-number { font-size: 2.2rem; font-weight: 800; }
.pb-stat .stat-label  { font-size: .85rem; opacity: .85; }

/* ---- Timeline / programma ---- */
.pb-timeline { position: relative; padding-left: 2rem; }
.pb-timeline::before {
    content: "";
    position: absolute;
    left: .6rem;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--pb-green), var(--pb-green-light));
    border-radius: 2px;
}
.pb-timeline-item { position: relative; margin-bottom: 1.5rem; }
.pb-timeline-item::before {
    content: "";
    position: absolute;
    left: -1.65rem;
    top: .4rem;
    width: 13px; height: 13px;
    background: var(--pb-yellow);
    border: 3px solid var(--pb-green);
    border-radius: 50%;
}
.pb-timeline-item .time-badge {
    display: inline-block;
    background: var(--pb-green-dark);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    border-radius: 4px;
    padding: .15rem .55rem;
    margin-bottom: .25rem;
}

/* ---- Map placeholder ---- */
.pb-map-placeholder {
    background: #e3f2fd;
    border: 2px dashed var(--pb-green-light);
    border-radius: 12px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pb-green);
    font-size: 1rem;
    font-weight: 500;
}

/* ---- Prijzen podium ---- */
.podium-card { border-radius: 12px; text-align: center; padding: 1.5rem 1rem; color: #fff; }
.podium-gold   { background: linear-gradient(135deg, #f9a825 0%, #fdd835 100%); color: #333; }
.podium-silver { background: linear-gradient(135deg, #78909c 0%, #b0bec5 100%); }
.podium-bronze { background: linear-gradient(135deg, #8d6e63 0%, #bcaaa4 100%); }
.podium-card .podium-rank { font-size: 2.5rem; }
.podium-card .podium-prize { font-size: 1.5rem; font-weight: 800; }

/* ---- Form ---- */
.pb-form-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 30px rgba(0,0,0,.12);
}
.pb-type-card {
    border-radius: 10px;
    transition: border-color .2s, background .2s;
}
.pb-type-card.active-type {
    background-color: rgba(var(--bs-success-rgb), .06);
}
.pb-form-card .card-header {
    background: linear-gradient(135deg, var(--pb-green-dark) 0%, var(--pb-green) 100%);
    color: #fff;
    border-radius: 14px 14px 0 0 !important;
    padding: 1.25rem 1.5rem;
}
.btn-pb-submit {
    background: linear-gradient(135deg, var(--pb-yellow) 0%, var(--pb-yellow-dark) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: 8px;
    font-size: 1.05rem;
    transition: opacity .2s;
}
.btn-pb-submit:hover { opacity: .88; color: #fff; }

/* ---- Confirmation ---- */
.pb-success-banner {
    background: linear-gradient(135deg, var(--pb-green-dark) 0%, var(--pb-green) 100%);
    color: #fff;
    border-radius: 14px;
    padding: 3rem 2rem;
    text-align: center;
}

/* ---- Footer ---- */
.pb-footer { background: var(--pb-dark); }
.pb-footer a { color: #fff; }
.pb-footer a:hover { color: rgba(255,255,255,.75); }
.text-footer-muted { color: rgba(255,255,255,.55); }
.text-pb-accent { color: var(--pb-yellow) !important; text-decoration: none; }
.text-pb-accent:hover { color: var(--pb-yellow-dark) !important; }

/* ---- Utility ---- */
.text-pb-green { color: var(--pb-green-dark) !important; }
.bg-pb-light   { background-color: #e3f2fd; }

.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--pb-green-light);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}