:root {
    --accent-yellow: #facc15;
    --accent-yellow-dark: #eab308;
    --accent-yellow-soft: rgba(250, 204, 21, 0.12);
    --accent-yellow-border: rgba(250, 204, 21, 0.7);
}

/* GLOBAL BACKGROUND + TYPOGRAFI */
body {
    margin: 0;
    min-height: 100vh;
    background: #e1dedeff;
    position: relative;
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Fixat bakgrundslager så det beter sig som fixed även på iOS */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../img/bg/big-bg.jpg') center center / cover no-repeat;
    will-change: transform;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.18);
    z-index: 0;
}

/* HEADER / TOPPBANNER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.site-header-bar {
    align-items: flex-start;        /* flytta allt uppåt */
    padding-top: 0.4rem;           /* lite mindre padding upptill */
}

.site-header-brand {
    display: flex;
    flex-direction: column;
}

/* HEADER TITLE (Roboto Slab) */
.site-header-title {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111827;
    line-height: 1.1;
}

/* Gör rubriken klickbar utan att det syns */
.site-header-title a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.site-header-title a:hover,
.site-header-title a:focus {
    color: inherit;                /* ingen hover-effekt syns */
    text-decoration: none;
}

/* HEADER TAGLINE (Roboto) */
.site-header-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: #6b7280;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

/* Flytta upp språkväxlare + menyikon så de linjerar med rubriken */
.site-header-right {
    margin-top: -0.15rem;          /* finjustering */
}


.lang-switcher .btn-group-sm .btn,
.lang-switcher.btn-group-sm .btn {
    font-size: 0.7rem;
    padding: 1px 6px;
    line-height: 1.2;
}

.lang-switcher-flag {
    font-size: 0.8rem;
}

.site-header-menu-toggle {
    border: none;
    background: transparent;
    padding: 0.2rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.site-header-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
}

/* NEDFÄLLD MENY */
.site-header-nav {
    display: none;
    border-top: 1px solid rgba(156, 163, 175, 0.35);
    padding: 0.5rem 0 0.75rem;
}

.site-header-nav.is-open {
    display: block;
}

.site-header-nav .nav-link {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: #374151;
    font-family: 'Roboto', sans-serif;
}

.site-header-nav .nav-link:hover {
    color: #111827;
}

/* LAYOUT WRAPPER */
.booking-page {
    position: relative;
    z-index: 1;
    padding-top: 120px; /* plats för headern */
    padding-bottom: 40px;
}

/* HERO */
.hero-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    padding: 2.5rem 0 3rem;
}

.booking-hero {
    max-width: 40rem;
}

/* HERO TITLE */
.booking-hero-title {
    font-family: 'Roboto Slab', sans-serif; /* matcha site-header-title */
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 18px rgba(15, 23, 42, 0.65);
}

/* HERO SUBTITLE */
.booking-hero-subtitle {
    font-family: 'Roboto Slab', serif;
    color: #f9fafb;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-shadow: 0 3px 12px rgba(15, 23, 42, 0.65);
}

/* HERO AREAS – accent-gul */
.booking-hero-areas {
    color: var(--accent-yellow);
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

/* HERO BODY COPY */
.booking-hero-copy {
    color: #e5e7eb;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 36rem;
    margin-bottom: 1.6rem;
}

.hero-cta-btn {
    padding-inline: 1.6rem;
    padding-block: 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.55);
}

/* TRUST-PUNKTER I HERO */
.booking-hero .trust-points {
    text-align: left;
    max-width: 32rem;
    margin: 0.75rem auto 0.9rem auto;
}

.booking-hero .trust-item {
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.2rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

/* OVERRIDE BOOTSTRAP PRIMARY -> TAXI-GUL */
.btn-primary {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #111827;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-yellow-dark);
    border-color: var(--accent-yellow-dark);
    color: #111827;
}

.btn-primary:active {
    background-color: var(--accent-yellow-dark) !important;
    border-color: var(--accent-yellow-dark) !important;
    color: #111827 !important;
}

/* Outline-knappar (t.ex. svensk/engelsk vid inaktiv) */
.btn-outline-secondary {
    color: #374151;
    border-color: rgba(156, 163, 175, 0.7);
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    border-color: var(--accent-yellow);
    color: #111827;
    background-color: rgba(255, 255, 255, 1);
}

/* BOOKING-CONTAINER */
.booking-section {
    padding-bottom: 2rem;
}

.booking-container {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    border: 2px solid var(--accent-yellow-border);
    box-shadow: 0 10px 25px rgba(15,23,42,0.35);
    font-family: 'Roboto', sans-serif;
}

.mb-3 {
    margin-bottom: 0.35rem !important;
}

.card.shadow-sm {
    border-radius: 0.75rem;
}

.main-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* LIVE-STATUS BOX */
.live-status {
    background: rgba(34, 197, 94, 0.06);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.live-status-main {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.live-status-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
    flex-shrink: 0;
}

.live-status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(34, 197, 94, 0.6);
    opacity: 0;
    animation: livePulse 1.6s ease-out infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.6);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.live-status-text-strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #166534;
}

.live-status-sub {
    font-size: 0.8rem;
    color: #065f46;
    padding-left: 1.5rem;
}

/* FOLLOWUP-TEXT UNDER KNAPPEN */
.followup-info {
    font-size: 0.78rem;
    color: #4b5563;
    text-align: center;
    opacity: 0.85;
    line-height: 1.35;
}

/* FOOTER – TAXI-GUL, SAMMA BREDD SOM BOOKING-CONTAINER */
.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 1rem 2rem;
    background: var(--accent-yellow-dark);
    color: #111827;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    font-family: 'Roboto', sans-serif;
    border-radius: 12px 12px 0 0;
}

.site-footer-logo {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    margin: 0 auto 1rem;
    background: #111827;
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(17, 24, 39, 0.35);
    font-size: 1.7rem;
}

.site-footer-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    color: #111827;
    text-transform: uppercase;
}

.site-footer-text {
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.95;
}

.site-footer-meta {
    font-size: 0.78rem;
    opacity: 0.9;
    margin-top: 0.75rem;
}

.site-footer-meta .dot {
    opacity: 0.6;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .site-header-title {
        font-size: 1.4rem;
    }
    .hero-section {
        padding-top: 3rem;
    }
    .booking-hero-title {
        font-size: 2.8rem;
    }
    .booking-hero-subtitle {
        font-size: 1.6rem;
    }

    /* Desktop-optimering: gör texten mindre och tunnare i booking-container */
    .booking-container,
    .booking-container .form-label,
    .booking-container input,
    .booking-container select,
    .booking-container .form-check-label {
        font-weight: 300 !important;
        font-size: 0.92rem !important;
    }

    .booking-container .form-select {
        font-size: 0.92rem !important;
        font-weight: 300 !important;
    }

    .live-status-text-strong {
        font-weight: 500 !important;
    }
}

@media (max-width: 767.98px) {
    body::before {
        background-position: center top;
    }
}

@media (max-width: 575.98px) {
    .site-header-bar {
        padding-inline: 0.75rem;
    }
}
