/* =======================
   DJ REFLX — style.css
   Professional palette, Dark/Light mode
   ======================= */

:root {
    /* professional color palette (Gold accent) */
    --bg-dark: #09090a;
    --panel-dark: #0f1113;
    --text-light: #f5f6f7;
    --muted-light: #bfc6cc;
    --accent: #0d94e3;
    /* gold/champagne */
    --glass: rgba(255, 255, 255, 0.03);

    --bg-light: #fafafa;
    --panel-light: #ffffff;
    --text-dark: #111214;
    --muted-dark: #5a6066;
    --section-dark-1: #09090a;
    --section-dark-2: #181a1b;
    --section-light-1: #fafafa;
    --section-light-2: #f0f0f0;
}

/* Base styles */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .25s ease, color .25s ease;
    background: #09090a;
    color: var(--text-light);
    line-height: 1.5;
    overflow-x: hidden;
}

/* containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Sections - full width background with vertical padding */
.section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Dark mode sections - alternating backgrounds (full width) */
body.dark-mode section.section {
    background: var(--section-dark-1);
}

body.dark-mode section.section:nth-of-type(even) {
    background: var(--section-dark-2);
}

body.dark-mode section.section.alt {
    background: var(--section-dark-2) !important;
}

/* Light mode sections - alternating backgrounds (full width) */
body.light-mode section.section {
    background: var(--section-light-1);
}

body.light-mode section.section:nth-of-type(even) {
    background: var(--section-light-2);
}

body.light-mode section.section.alt {
    background: var(--section-light-2) !important;
}

/* === Dark mode (default) === */
body.dark-mode {
    color: var(--text-light);
}

body.dark-mode .panel {
    background: var(--panel-dark);
    color: var(--text-light);
}

body.dark-mode .muted {
    color: var(--muted-light);
}

body.dark-mode .logo {
    color: #fff;
}

body.dark-mode a {
    color: var(--accent);
}

/* === Light mode === */
body.light-mode {
    background: var(--bg-light);
    color: var(--text-dark);
}

body.light-mode .panel {
    background: var(--panel-light);
    color: var(--text-dark);
}

body.light-mode .muted {
    color: var(--muted-dark);
}

body.light-mode .logo {
    color: #111;
}

body.light-mode a {
    color: var(--accent);
}

:root {
    --header-height: 72px;
}

/* Header / Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 10, 12, 0.55);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

body.light-mode .site-header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    display: inline-block;
}

.logo strong {
    font-weight: 800;
}

.nav {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: inherit;
    padding: .45rem .6rem;
    border-radius: 12px;
    transition: transform .25s ease, background .25s ease, color .25s ease;
    font-weight: 500;
}

.nav a:hover {
    transform: translateY(-2px);
    background: var(--glass);
    color: white;
}

body.light-mode .nav a:hover {
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.mode-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: .4rem .55rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
}

/* Hero with blurred background */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    filter: blur(8px) saturate(.95) contrast(.95);
    transform: scale(1.03);
    opacity: .95;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 3rem 1rem;
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: 2.6rem;
    margin: 0 0 .35rem;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, 0.87);
}

.lead {
    color: rgba(255, 255, 255, 0.87);
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: .65rem 1rem;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: inherit;
    color: rgba(255, 255, 255, 0.87);
}

.btn.left {
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.87);
}

/* Sections - padding moved to .container for full-width background */
.section {
    /* padding removed - now handled by .container inside */
}

/* Remove body padding for full-width sections on mobile */
@media (max-width:900px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Verhindert, dass beim Springen per Anker der Inhalt vom Header überlappt wird */
.section,
section {
    scroll-margin-top: 92px;
    /* Höhe des Headers + etwas Puffer */
}

/* Alt class no longer needs gradient - handled by section:nth-of-type */

/* Two-column */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width:900px) {

    /* mobile nav: standard hidden, shown via .open */
    .nav {
        display: none;
        position: fixed;
        right: 12px;
        top: 64px;
        padding: 1rem;
        border-radius: 12px;
        flex-direction: column;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
        gap: 0.5rem;
        min-width: 220px;
        max-width: calc(100% - 48px);
        overflow: auto;
    }

    /* shown state */
    .nav.open {
        display: flex !important;
    }

    /* different background depending on theme */
    body.dark-mode .nav {
        background: rgba(8, 8, 8, 0.96);
        color: var(--text-light);
    }

    body.light-mode .nav {
        background: rgba(255, 255, 255, 0.98);
        color: var(--text-dark);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    }

    /* hamburger icon contrast for both modes */
    .nav-toggle {
        display: inline-block;
        background: transparent;
        border: none;
        font-size: 1.25rem;
        cursor: pointer;
        color: var(--text-light);
        /* dark default */
    }

    body.light-mode .nav-toggle {
        color: var(--text-dark);
    }

    /* more padding from screen edges on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .8rem;
    margin-top: 1rem;
    align-items: start;
}

.gallery-grid img,
.gallery-grid video {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
}

.gallery-grid img:hover,
.gallery-grid video:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.about-top-grid {
    display: flex;
    align-items: center;
    /* vertikal zentrieren */
    gap: 2rem;
    /* Abstand zwischen Bild und Text */
    margin-bottom: 2rem;
}

.about-image {
    flex: 1;
    /* Bild nimmt Hälfte des Platzes ein */
}

.about-image img {
    width: 70%;
    height: auto;
    border-radius: 12px;
    /* optional */
}

.about-text {
    flex: 1;
    /* Text nimmt andere Hälfte */
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.86);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Inner wrapper: stacks media + caption vertically and keeps everything centered */
.lightbox-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    outline: none;
}

/* media (image or video) */
.lightbox-media {
    width: 100%;
    max-width: 1100px;
    max-height: 75vh;
    /* keeps it from overflowing the viewport */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
}

/* caption directly below media */
.lightbox-caption {
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    max-width: 1100px;
    line-height: 1.4;
    padding: 0 10px;
}

/* close button top-right (visible on mobile & desktop) */
.lightbox-close {
    position: fixed;
    top: 80px;
    right: 40px;
    z-index: 160;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
}

.lightbox-close:hover {
    background-color: red;
}

/* Light-mode adjustments */
body.light-mode .lightbox {
    background: rgba(255, 255, 255, 0.96);
}

body.light-mode .lightbox-caption {
    color: var(--text-dark);
}

body.light-mode .lightbox-close {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-dark);
}

body.light-mode .lightbox-close:hover {
    background-color: red;
}

/* ensure clicks on inner don't close (overlay click handler still works) */
.lightbox-inner img,
.lightbox-inner video {
    cursor: default;
}

/* small screens: reduce sizes */
@media (max-width:600px) {
    .lightbox-inner {
        gap: 8px;
        padding: 8px;
    }

    .lightbox-media {
        max-height: 60vh;
        border-radius: 12px;
    }

    .lightbox-caption {
        font-size: .95rem;
        padding: 0 6px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        padding: 6px 8px;
        font-size: .95rem;
    }
}

/* Details list */
.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    padding: .5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 12px;
}

/* Email link styling */
.mail-link {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    transition: color .25s ease, transform .25s;
}

.mail-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

body.light-mode .mail-link:hover,
body.light-mode .mail-link:focus {
    color: black;
}

.tel-link {
    text-decoration: none;
    color: inherit;
}

.tel-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

body.light-mode .tel-link:hover,
body.light-mode .tel-link:focus {
    color: black;
}

/* Social icons */
.socials a {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: .6rem;
    display: inline-block;
    transition: transform .25s ease, color .18s;
}

.socials a:hover {
    transform: translateY(-3px);
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: block;
    margin: 1rem auto 0;
    max-width: 140px;
}

body.light-mode .footer-logo {
    background: var(--section-dark-2);
    /* leichter dunkler Hintergrund */
    padding: 10px;
    /* optional, etwas Abstand um das Logo */
    border-radius: 8px;
    /* optional, weiche Ecken */
    display: block;
    /* sicherstellen, dass es Block-Element ist */
    margin: 1rem auto 0;
    /* zentriert bleiben */
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 16px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 200;
}

body.light-mode .cookie-banner {
    background: linear-gradient(180deg, rgba(231, 230, 230, 0.95), rgba(151, 149, 149, 0.95));
}

.cookie-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-actions {
    display: flex;
    gap: .6rem;
}

/* Fade-in animation util */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: all .5s cubic-bezier(.2, .9, .3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Accessibility focus */
a:focus,
button:focus {
    outline: 3px solid rgba(201, 168, 90, 0.18);
    outline-offset: 3px;
    border-radius: 12px;
}

/* Responsive */
@media(max-width:900px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
        position: fixed;
        right: 12px;
        top: 64px;
        background: rgba(10, 10, 10, 0.95);
        padding: 1rem;
        border-radius: 12px;
        flex-direction: column;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    }

    .nav a {
        padding: .6rem 1rem;
        display: block;
    }

    .nav-toggle {
        display: inline-block;
    }

    .header-actions {
        gap: .3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .gallery-grid img,
    .gallery-grid video {
        height: 160px;
    }

    .about-top-grid {
        flex-direction: column;
    }

    .about-text {
        order: -1;
    }

    .about-image {
        order: 1;
    }

    .about-image img {
        width: 100%;
    }
}

/* =========================
   Social icon brand hover colors + glow
   Targets FontAwesome classes: .fa-youtube, .fa-instagram, .fa-soundcloud
   ========================= */

.socials a {
    transition: transform .25s ease, color .25s ease, text-shadow .25s ease;
    display: inline-block;
}

/* Slight pop on hover */
.socials a:hover,
.socials a:focus {
    transform: translateY(-3px) scale(1.06);
    outline: none;
}

/* YouTube - vivid red */
.socials a .fa-youtube,
.socials a.fab.fa-youtube {
    color: currentColor;
    /* default inherits */
}

.socials a:hover .fa-youtube,
.socials a:focus .fa-youtube,
.socials a.fab.fa-youtube:hover,
.socials a.fab.fa-youtube:focus {
    color: #FF0000;
    text-shadow: 0 6px 18px rgba(255, 0, 0, 0.18), 0 2px 6px rgba(255, 0, 0, 0.12);
}

/* Instagram - gradient-ish (fallback to magenta) */
/* Simple single-color fallback */
.socials a .fa-instagram,
.socials a.fab.fa-instagram {
    color: currentColor;
}

.socials a:hover .fa-instagram,
.socials a:focus .fa-instagram,
.socials a.fab.fa-instagram:hover,
.socials a.fab.fa-instagram:focus {
    color: #E1306C;
    /* Instagram magenta fallback */
    text-shadow: 0 6px 20px rgba(225, 48, 108, 0.18), 0 2px 6px rgba(225, 48, 108, 0.12);
}

/* (Optional) Instagram gradient - uncomment if you prefer a gradient effect.
  .socials a .fa-instagram {
    color: transparent;
    background: linear-gradient(45deg, #405DE6 0%, #5851DB 25%, #833AB4 50%, #C13584 75%, #E1306C 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  */

/* SoundCloud - orange */
.socials a .fa-soundcloud,
.socials a.fab.fa-soundcloud {
    color: currentColor;
}

.socials a:hover .fa-soundcloud,
.socials a:focus .fa-soundcloud,
.socials a.fab.fa-soundcloud:hover,
.socials a.fab.fa-soundcloud:focus {
    color: #FF7700;
    text-shadow: 0 6px 18px rgba(255, 119, 0, 0.18), 0 2px 6px rgba(255, 119, 0, 0.10);
}

/* Ensure focus visible for keyboard users */
.socials a:focus {
    box-shadow: 0 0 0 4px rgba(201, 168, 90, 0.12);
    border-radius: 12px;
}

#music-player {
    margin-top: 2rem;
    text-align: center;
}

/* Accordion Styles */
.accordion {
    margin-top: 1rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
    cursor: pointer;
    padding: 1rem 0;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.25s ease;
}

.accordion-header:hover {
    color: var(--accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 1rem;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Changelog Button and Modal */
.changelog-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.25s ease;
}

.changelog-btn:hover {
    transform: scale(1.1);
}

.changelog-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.changelog-modal.active {
    opacity: 1;
    visibility: visible;
}

.changelog-inner {
    background: var(--panel-dark);
    color: var(--text-light);
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.changelog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
}

.changelog-close:hover {
    color: var(--accent);
}

/* Light mode adjustments */
body.light-mode .changelog-inner {
    background: var(--panel-light);
    color: var(--text-dark);
}

body.light-mode .changelog-close {
    color: var(--text-dark);
}



/* DEV FUNKTION*/
#red,
.changelog-btn {
    display: none;
}

/* Booking Modal Styles */
.booking-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-inner {
    background: var(--panel-dark);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-height: 80vh;
    overflow-y: auto;
}

body.light-mode .booking-inner {
    background: var(--panel-light);
    color: var(--text-dark);
}

.booking-steps .step {
    display: none;
}

.booking-steps .step.active {
    display: block;
}

.booking-steps h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.booking-steps label {
    display: block;
    margin: 0.5rem 0 0.25rem;
    font-weight: 500;
}

.booking-steps input,
.booking-steps select,
.booking-steps textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: inherit;
    margin-bottom: 1rem;
}

body.light-mode .booking-steps input,
body.light-mode .booking-steps select,
body.light-mode .booking-steps textarea {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.booking-steps textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-steps button {
    margin: 0.5rem 0.25rem 0 0;
}

.booking-steps .btn {
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.87);
}

body.light-mode .booking-steps .btn {
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

.booking-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
}

body.light-mode .booking-close {
    color: var(--text-dark);
}

#summary {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

body.light-mode #summary {
    background: rgba(0, 0, 0, 0.05);
}

label[for="privacy-accept"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

#privacy-accept {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ff6b6b;
    /* red for unchecked */
    background: transparent;
    cursor: pointer;
    position: relative;
    box-shadow: none;
    order: -1;
    /* Place checkbox above text */
}

#privacy-accept:checked {
    border-color: #51cf66;
    /* green for checked */
}

#privacy-accept:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #51cf66;
    font-size: 14px;
    font-weight: bold;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.next-btn {
    background-color: var(--accent);
}

/* Select dropdown options styling for dark/light mode */
select option {
    background: var(--panel-dark);
    color: var(--text-light);
}

body.light-mode select option {
    background: var(--panel-light);
    color: var(--text-dark);
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid rgba(201, 168, 90, 0.5);
    outline-offset: 2px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .booking-inner {
        padding: 1rem;
        max-height: 90vh;
    }

    .booking-steps input,
    .booking-steps select,
    .booking-steps textarea {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
}

/* Invert date and time picker icons in dark mode to make them white */
body.dark-mode input[type="date"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* Error message styles */
.error-messages {
    margin-top: 0.5rem;
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.error-messages.show {
    display: block;
}

/* Invalid input styles - only for required fields */
.booking-steps input:invalid:required,
.booking-steps select:invalid:required {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.booking-steps input:valid:required,
.booking-steps select:valid:required {
    border-color: #51cf66;
    box-shadow: 0 0 0 2px rgba(81, 207, 102, 0.2);
}

/* Override default invalid styles for better UX - only for required fields */
.booking-steps input:invalid:required:not(:focus),
.booking-steps select:invalid:required:not(:focus) {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

/* Light mode adjustments for error styles */
body.light-mode .error-messages {
    color: #e03131;
}

body.light-mode .booking-steps input:invalid:required,
body.light-mode .booking-steps select:invalid:required {
    border-color: #e03131;
    box-shadow: 0 0 0 2px rgba(224, 49, 49, 0.2);
}

body.light-mode .booking-steps input:valid:required,
body.light-mode .booking-steps select:valid:required {
    border-color: #40c057;
    box-shadow: 0 0 0 2px rgba(64, 192, 87, 0.2);
}