/* ── Variables ──────────────────────────────────── */
:root {
    --navy: #1a3a5c;
    --navy-dark: #112844;
    --gold: #f0a500;
    --gold-light: #f5c842;
    --water-blue: #4fc3f7;
    --bg-light: #f5f7fa;
}

/* Ensure navbar dropdowns always appear above sticky/fixed elements */
.navbar { z-index: 1030; }
.navbar .dropdown-menu { z-index: 1031; }

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* ── Utilities ──────────────────────────────────── */
.bg-navy      { background-color: var(--navy) !important; }
.text-navy    { color: var(--navy) !important; }
.text-gold    { color: var(--gold) !important; }
.border-gold  { border-color: var(--gold) !important; }

/* ── Buttons ────────────────────────────────────── */
.btn-facebook {
    background-color: #1877f2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
}
.btn-facebook:hover { background-color: #166fe5; color: #fff; }

.btn-gold {
    background-color: var(--gold);
    color: #fff;
    border: none;
}
.btn-gold:hover { background-color: #d9940a; color: #fff; }

/* ── Hero ───────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a6496 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f5f7fa' d='M0,30 C360,60 1080,0 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}
.hero .display-4 { font-weight: 800; }
.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ── Trip Cards ─────────────────────────────────── */
.trip-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.trip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}
.trip-card .card-header {
    background: var(--navy);
    color: white;
    padding: 1rem 1.25rem;
    border: none;
}
.trip-card .card-header .date-badge {
    background: var(--gold);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ── Status Badges ──────────────────────────────── */
.status-available  { background: #28a745; }
.status-almostfull { background: #fd7e14; }
.status-soldout    { background: #dc3545; }

.spots-bar {
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    overflow: hidden;
    margin-top: 0.4rem;
}
.spots-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gold);
    transition: width 0.5s;
}
.spots-bar-fill.full { background: #dc3545; }
.spots-bar-fill.almost { background: #fd7e14; }

/* ── Month Headers ──────────────────────────────── */
.month-header {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.4rem;
    border-left: 4px solid var(--gold);
    padding-left: 0.75rem;
    margin-bottom: 1.25rem;
    margin-top: 2rem;
}

/* ── Pricing Cards ──────────────────────────────── */
.pricing-card {
    border-radius: 16px;
    border: 2px solid #e9ecef;
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}
.pricing-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, #fffbf0, #fff);
    box-shadow: 0 4px 20px rgba(240,165,0,0.2);
}
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: #888; }

/* ── Gallery Grid ───────────────────────────────── */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem 0.75rem 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.gallery-item:hover .overlay { transform: translateY(0); }

/* ── Section Titles ─────────────────────────────── */
.section-title {
    font-weight: 800;
    color: var(--navy);
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-top: 0.3rem;
}

/* ── Stat Cards ─────────────────────────────────── */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-align: center;
}
.stat-card .stat-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

/* ── Admin Tables ───────────────────────────────── */
.admin-table th { background: var(--navy); color: white; }

/* ── Location Badge ─────────────────────────────── */
.location-roskilde { background: #17a2b8; color: white; }
.location-oresund  { background: #6610f2; color: white; }
.location-badge    { background: #17a2b8; color: white; }

/* ── General spacing ────────────────────────────── */
body { background-color: var(--bg-light); }
.page-section { padding: 4rem 0; }
.page-section.bg-white { background: white !important; }

.btn-navy { background-color: var(--navy); color: white; border: none; }
.btn-navy:hover { background-color: var(--navy-dark); color: white; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background-color: var(--navy); color: white; }
.bg-gold { background-color: var(--gold) !important; }



.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.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;
}