/* =========================================================
   GLOBAL RESET & BASE LAYOUT
   ========================================================= */

/* Use border-box everywhere for sane sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
    color: #111;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Sticky footer anchor */
#site-footer {
    margin-top: auto;
}


/* =========================================================
   NAVIGATION BAR
   ========================================================= */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    position: relative;
    min-height: 76px;
    max-width: 1600px;
    margin: 0 auto;
}

nav .logo img {
    height: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav ul li {
    font-size: 18px;
}

nav ul li a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Navbar link appearance */
.nav-link {
    position: relative;
    padding: 6px 0;
    font-weight: 600;
    font-size: 20px;
    color: #000;
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Default: no underline */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* slight gap */
    width: 0%;
    height: 2px;
    background-color: #0c1a3b; /* choose your underline color */
    transition: width 0.25s ease;
}

/* Hover underline */
.nav-link:hover::after {
    width: 100%;
}

/* Active page underline */
.nav-link.active::after {
    width: 100%;
}

/* Optional: active text color */
.nav-link.active {
    color: #0c1a3b;
}

/* Mobile hamburger toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    padding: 0;
    z-index: 100;
    color: #000;
    position: relative;
    overflow: visible;
}

.nav-toggle img {
    width: 34px;
    height: 34px;
    max-width: 100%;
    max-height: 100%;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    position: relative;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 180px 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    max-width: 1200px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 10px;
    max-width: 1200px;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

/* Frosted dark button */
.btn-black {
    background: rgba(20, 20, 20, 0.58);
    border: 2px solid #fff;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(2.5px);
    transition: background 0.2s;
    border-radius: 9999px;
    text-decoration: none;
}

.btn-black:hover {
    background: rgba(40, 40, 40, 0.76);
    color: #e60000; 
    border: 2px solid #e60000;
}


/* =========================================================
   HOME – EVENTS SECTION
   ========================================================= */

.events-heading {
    text-align: center;
    margin: 70px 0 -30px;
    padding: 0 20px;
}

.events-heading h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 6px;
}

.events-heading p {
    font-size: 18px;
    color: #555;
    margin: 0;
}

/* Event card grid */
.events {
    max-width: 980px;
    margin: 70px auto 60px;
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 0 12px;
}

/* Event card */
.card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    min-width: 280px;
    overflow: hidden;
    margin-bottom: 18px;
    height: 400px;
}

.card img {
    width: 100%;
    height: 100%;
    border-radius: 14px 14px 0 0;
    max-height: 400px;
    object-fit: cover;
    transition: filter 0.18s;
}

.card:hover img {
    filter: brightness(30%);
}

/* Hover overlay title */
.card-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: rgba(27, 33, 49, 0.33);
    opacity: 0;
    transition: opacity 0.18s;
    pointer-events: none;
    text-align: center;
}

.card:hover .card-title {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================================
   HOME – EVENTS FOOTER BUTTON
   ========================================================= */

.events-footer {
    text-align: center;
    margin: -30px 0 60px;
}

.btn-wide-black {
    width: 100%;
    max-width: 300px;
    padding: 16px 10px;
    background: #000;             
    color: #fff !important;
    border-radius: 9999px;          
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    transition: 
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    text-decoration: none;
}

.btn-wide-black:hover {
    background: #111;   
    color: #e60000 !important;      
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}



/* =========================================================
   FOOTER
   ========================================================= */

footer {
    border-top: 1px solid #e5e5e5;
    background: #f8f8f8;
    padding: 20px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 15px;
}

/* Centered container */
.footer-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 22px 0 32px;
    gap: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-bottom: 0;
}

.footer-nav a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #1a2d4e; /* subtle high-quality hover */
}

.footer-links a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #888;
    text-decoration: underline;
}

.footer-linkedin {
    color: #888;
    text-decoration: underline dotted;
}

.footer-linkedin:hover {
    color: #888;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 26px;
    font-size: 14px;
    color: #555;
}

.footer-bottom a {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Social icon container */
.footer-links-right {
    display: flex;
    align-items: center;
    padding-left: 40px;   /* adds breathing room */
}

/* Icon size */
.linkedin-logo {
    width: 20px;       /* smaller + cleaner */
    height: 20px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.footer-links-right:hover .linkedin-logo {
    opacity: 1;
}

.footer-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-header-row h4 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 8px 20;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-section {
    max-width: 900px;
    margin: 10px auto;
    padding: 20px;
    text-align: center;
}

.contact-section h1 {
    font-size: 42px;
    font-weight: 700;
}

.contact-faq-intro {
    margin: 30px 0 45px;
    padding: 24px 28px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.contact-faq-intro h2 {
    margin-top: 0;
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-faq-intro p {
    margin: 10px 0 20px;
    color: #444;
    line-height: 1.5;
    font-size: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.contact-description {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
}

.contact-card {
    margin: 30px 0 45px;
    padding: 24px 28px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    text-align: left;
}

.contact-card h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.legal-section a,
.faq-container a,
.contact-card a {
    color: #0066cc;
    text-decoration: none;
}

.legal-section a:hover,
.faq-container a:hover,
.contact-card a:hover {
    text-decoration: underline;
}

.contact-card form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #f9f9f9;
    font-size: 17px;
    resize: vertical;
    box-sizing: border-box;   /* critical: prevents overflow */
    font-family: "Inter", sans-serif !important;
}

.contact-card input:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
}

.contact-card textarea {
    min-height: 110px;
    max-height: 220px;
}

.contact-card button[type="submit"] {
    padding: 16px 0;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
        transition: 
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    width: 100%;
}

.contact-card button[type="submit"]:hover {
    background: #000000;
    color: #e60000;
}

/* Remove contact/password suggestion icons (but don't break layout) */
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button,
input::-webkit-password-auto-fill-button,
input::-webkit-autofill-strong-password-view-button,
input::-ms-reveal,
input::-ms-clear {
    display: none !important;
    pointer-events: none !important;
}


/* =========================================================
   LEGAL PAGE
   ========================================================= */

.legal-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 32px;
}

.legal-section h1 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.legal-updated {
    font-size: 15px;
    color: #888;
    margin-bottom: 26px;
}

.legal-section h2 {
    margin-top: 34px;
    font-size: 21px;
}

.legal-section p,
.legal-section ul li {
    color: #222;
    font-size: 16px;
    font-family: arial, sans-serif;
    line-height: 1.5rem;
    margin-bottom: 18px;
}

.legal-section ul li:last-child {
    margin-bottom: 0;
}

.image-attribution {
    font-size: 13px;
    color: #888;
    margin: 14px 8px 0;
    line-height: 1.7;
}

.image-attribution a {
    color: #888;
    text-decoration: underline;
}

.history-scroll-trigger {
    cursor: pointer;
    color: #111;
    font-weight: 500;
    transition: color 0.25s ease;
}

.history-scroll-trigger:hover {
    color: #888;
    text-decoration: underline;
}

/* =========================================================
   FAQ PAGE
   ========================================================= */

summary::-webkit-details-marker,
summary::marker {
    display: none !important;
}

.faq-container {
    width: 100%;
    max-width: 900px;     
    margin: 60px auto;    
    padding: 0 20px;      
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.faq-container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

/* Section titles */
.faq-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Each FAQ block */
details {
    border-bottom: 1px solid #dcdcdc;
    padding: 18px 0;
}

summary {
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    padding-right: 24px;
    position: relative;
}

/* Remove default marker */
summary::-webkit-details-marker,
summary::marker {
    display: none;
}

/* Arrow icon to right */
summary::after {
    content: "";
    width: 11px;
    height: 11px;
    background: url('icons/arrow-down.svg') no-repeat center/contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

/* Rotate arrow on open */
details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Answer text */
details > div {
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 12px 0 4px;
    color: #555;
}

/* =========================================================
   EVENT LIST PAGE / SMALL CARDS
   ========================================================= */

.events-section {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 12px;
}

#events-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.event-card:hover {
    filter: brightness(0.97); /* slightly darker */
}

.event-card h2 {
    margin-top: 0;
}

/* Status badges */
.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
}

.status.on-sale {
    background: #2ecc71;
    color: #fff;
}

.status.sold-out {
    background: #e74c3c;
    color: #fff;
}

/* Small BUY button */
.btn-buy-small {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 9999px;
    background: #111;
    color: #fff !important;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-buy-small:hover {
    background: #111;
    color: #e60000 !important;
    text-decoration: none !important;
}


/* =========================================================
   CONCERT DETAIL PAGE
   ========================================================= */

.concert-detail-wide {
    max-width: 1150px;
    margin: 0 auto;
}

.concert-header,
.concert-header-small {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.concert-header {
    margin-bottom: 30px;
}

.concert-poster {
    width: 280px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.concert-poster-small {
    width: 200px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.concert-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.concert-description {
    flex: 1;
    white-space: pre-line;
    font-size: 16px;
    line-height: 1.55;
    color: #222;
}

/* Expand/collapse description */
.concert-description.collapsed {
    max-height: 350px;
    overflow: hidden;
    position: relative;
}

.concert-description.collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 90px;
    background: linear-gradient(to bottom, transparent, #ffffff);
}

.btn-toggle-desc {
  background: none;
  border: none;
  color: #111;
  font-size: 16px;
  cursor: pointer;
  margin-top: 12px;
  padding: 4px 0;
  display: inline-block;
  text-align: center;
  gap: 6px;
  font-weight: 500;
}

.btn-toggle-desc::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  background: url("icons/arrow-down.svg") center/contain no-repeat;
  transition: transform 0.3s ease;
}

.btn-toggle-desc.open::after {
  transform: rotate(180deg);
}

/* Concert summary card */

.event-card,
.legal-section.event-card {
    display: flex;
    flex-direction: row; /* ensure side-by-side */
    gap: 30px;
    padding: 30px;
    position: relative;
    border-radius: 12px;
}

.concert-summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
    justify-content: space-between; /* pushes button to bottom */
}

.concert-summary-text {
    margin-bottom: 20px; /* optional, for breathing room */
}

.concert-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px;
}

.concert-btn {
    padding: 12px 28px;
    width: fit-content;
    min-width: max-content;
    align-self: center;
    text-decoration: none !important;
    position: absolute;
    bottom: 30px; /* ← exactly what you want */
    right: 30px;  /* matches card padding */
    z-index: 2;
    left: 50%;             /* move to the horizontal center */
}

.concert-filter-bar {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    flex-wrap: wrap;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.concert-filter-bar input,
.concert-filter-bar select {
    margin-top: 6px;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 9999px;
    width: 240px;
    max-width: 100%;
}

/* Wrapper for animated arrow */
.select-wrap {
    position: relative;
    display: inline-block;
    width: 240px;
}

.select-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 55%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url("icons/arrow-down.svg") no-repeat center / contain;
    transition: transform 0.15s ease;
    pointer-events: none;
}

.select-wrap.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.select-wrap select {
    width: 100%;
    padding: 10px 14px;
    padding-right: 40px;
    border: 1px solid #ccc;
    border-radius: 9999px;
    background: #fff;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

/* Checkbox styling inside filter bar */
.availability-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    user-select: none;
}

.availability-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Align checkbox and label text properly */
.concert-filter-bar .filter-availability {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

.concert-filter-bar .filter-availability input {
    margin: 0;
    transform: translateY(1px); /* small optical correction */
}

.concert-filter-bar input[type="checkbox"] {
    width: auto !important;
    height: auto;
    padding: 0;
    margin: 0;
    box-sizing: content-box !important;
}

/* Align checkbox + label nicely */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-top: 6px;
    white-space: nowrap;
}

/* =========================================================
   LOCATION GRID
   ========================================================= */

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    margin-top: 20px;
}

.location-card {
    padding: 24px 26px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.location-card:hover {
    filter: brightness(0.97); /* slightly darker */
}

.location-card h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.location-card p {
    margin: 3px 0 10px;
    font-size: 15px;
}


/* =========================================================
   404 ERROR PAGE
   ========================================================= */

.error-card {
    max-width: 600px;
    margin: 80px auto 0;
    background: #f5f7faee;
    border-radius: 18px;
    padding: 32px 20px;
    text-align: center;
    font-family: arial, sans-serif;
    box-shadow: 0 8px 32px rgba(30, 30, 60, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.12);
}

.error-card h1 {
    font-size: 5rem;
    margin-bottom: 0.6em;
}

.error-card p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1em;
}

.error-button {
    display: inline-block;
    padding: 11px 32px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.15s;
}

.error-button:hover {
    background: #191970;
}

.error-card img {
    width: 250px;
    display: block;
    margin: 20px auto;
}


/* =========================================================
   MEDIA QUERIES
   ========================================================= */

/* Small cards + mobile layout */
.mobile-slider {
    display: none;
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 40px auto;
    aspect-ratio: 2 / 3; /* Keeps proper poster shape */
}

.mobile-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.mobile-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-slide img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Show slideshow only on mobile */
@media (max-width: 900px) {
    .events {
        display: none !important;  /* hide desktop grid */
    }

    .mobile-slider {
        display: block;
    }

    .events-heading h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
}
}

/* FAQ & small-screen adjustments */
@media (max-width: 600px) {
    .faq-container {
        max-width: 100%;
        width: 100%;
        padding: 0 16px;
        margin: 40px auto;
    }

    details {
        padding: 14px 0;
    }

    .faq-section h2 {
        margin-top: 35px;
        font-size: 1.25rem;
    }
}

/* Footer & legal stacking */
@media (max-width: 700px) {
    .footer-links,
    .footer-nav,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .legal-section {
        max-width: 98vw;
        padding: 18px 10px;
        margin: 34px 0 24px;
    }
}

@media (max-width: 900px) {

    /* Show hamburger */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999999 !important;
        color: #000;
    }

    /* Reset nav */
    nav {
        padding: 12px 16px;
        min-height: 70px;
        align-items: center;
    }

    .nav-link {
        font-size: 25px;
    }


    /* FULL-SCREEN MOBILE MENU */
    nav ul {
        position: fixed;
        inset: 0;
        height: 100%;
        width: 100vw;

        background: #fff;
        padding: 120px 30px;
        margin: 0;

        flex-direction: column;
        gap: 22px;

        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;

        transition: transform .28s ease, opacity .28s ease;
        z-index: 90;

        backdrop-filter: blur(8px);
    }

    nav ul.nav-open li:nth-child(1) { animation-delay: 0.10s; }
    nav ul.nav-open li:nth-child(2) { animation-delay: 0.16s; }
    nav ul.nav-open li:nth-child(3) { animation-delay: 0.22s; }
    nav ul.nav-open li:nth-child(4) { animation-delay: 0.28s; }
    nav ul.nav-open li:nth-child(5) { animation-delay: 0.34s; }

    @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
    }

    .nav-icon {
    display: block;
    width: 34px;
    height: 34px;
    stroke: #000;
    stroke-width: 2;
    stroke-linecap: round;
    transition: transform 1s ease;
    position: relative;
    z-index: 9999;
    }

    .nav-icon .line {
       transition: transform 1s ease, opacity 1s ease;
       stroke-width: 2.5;
       stroke: #000 !important; 
    }

    /* When menu is open → animate lines */
    .menu-open .nav-icon .top {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-open .nav-icon .bottom {
        transform: translateY(-8px) rotate(-45deg);
    }


    nav ul.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav ul li {
        font-size: 26px;
    }
    nav .logo {
        display: flex;
        align-items: center;
    }
}

    .hero {
        padding: 0 30px;
        height: 380px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .concert-detail-wide {
        max-width: 95vw;
    }

/* Ensure all main content boxes center properly on mobile */
@media (max-width: 900px) {
    .legal-section,
    .concert-detail-wide,
    .faq-card,
    .error-card {
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 0px;
    }
}

.concert-title-wrap {
    position: relative;
    padding-left: 45px;
    padding-right: 45px;
}

.share-button {
    position: absolute;
    top: 0;
    right: 0;

    width: 40px;
    height: 40px;

    background: #000;
    color: #fff;

    border: none;
    border-radius: 9999px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: transform .25s ease, box-shadow .25s ease;
}

.share-button:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
    color: #e60000;
}

.share-icon {
    width: 20px;
    height: 20px;
}

.share-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.share-modal.open {
    display: block;
}

.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
}

.share-modal-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 420px;
    padding: 28px 32px;
    border: 2px solid #e60000;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.share-modal-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 600;
    color: #e60000;
}

.share-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    background: url('icons/close.svg') center/contain no-repeat;
    border: none;
    cursor: pointer;
    opacity: 0.7;
}

.share-modal-close:hover {
    filter: brightness(0) saturate(100%) invert(12%) sepia(93%) saturate(7486%) hue-rotate(2deg) brightness(104%) contrast(107%);
}

.share-icon-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.copy-label {
    margin-bottom: 6px;
    font-size: 14px;
    opacity: 0.7;
}

.copy-box {
    display: flex;
    border: 1px solid #e60000;
    border-radius: 9999px;
    overflow: hidden;
}

#share-copy-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

#share-copy-btn {
    width: 70px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #f4f4f4;
    font-weight: 600;
}

#share-copy-btn:hover {
        color: #e60000;
}

/* Container: the row of icons inside the modal */
.share-modal-panel .share-icon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 20px;
}

/* Buttons inside the modal */
.share-modal-panel .share-icon {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #f4f4f4;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.2s ease;
    overflow: hidden;     /* prevents WhatsApp blowing out */
}

/* Hover */
.share-modal-panel .share-icon:hover {
    background: #e9e9e9;
}

/* The actual SVG icons */
.share-modal-panel .share-icon img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;  /* keeps aspect ratio */ 
    pointer-events: none;
}

/* Hover = red */
.share-modal-panel .share-icon:hover img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(93%) saturate(7486%) hue-rotate(2deg) brightness(104%) contrast(107%);

}

/* MOBILE: Center poster image */
@media (max-width: 768px) {
  .concert-header-small {
    text-align: center;       /* Centers inline elements like <img> */
  }

  .concert-poster-small {
    display: block;           /* Makes image respond to margin auto */
    margin: 0 auto;           /* Centers horizontally */
  }
  /* Concert summary card */
  .concert-summary {
    gap: 20px;
  }
}

/* MOBILE: Center the poster on the concert detail page */
@media (max-width: 768px) {

  .legal-section.concert-detail-wide .concert-title-wrap h1{
    font-size: 20px !important;
  }

  .concert-header {
    text-align: center;      /* makes the <img> center-friendly */
    display: block;          /* overrides desktop flex layouts if used */
  }

  .concert-poster {
    display: block;
    margin: 0 auto 20px;     /* center + keep breathing room under it */
    max-width: 90%;          /* optional: prevents giant posters on small screens */
  }

  .concert-text-wrap {
    text-align: left;        /* keeps text readable & not centered */
    margin: 0 auto;
  }

  .concert-btn {
    transform: translateX(-50%); /* correct centering */
  }
}

.no-dates-message {
    font-weight: bold;
    color: #000000;
    padding: 20px;
    text-align: center;
    font-size: 25px !important;
    line-height: normal !important;
}

/* Mobile layout fix */
@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links-right {
        margin-top: 16px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 26px;
    }

    .footer-bottom {
        margin-top: 26px; /* matches link spacing */
    }
}

/* =========================================================
   DARK MODE — activated when <body class="dark">
   ========================================================= */

.dark {
    background: #111;
    color: #eee;
}

.dark #site-logo {
    content: url("images/logo-dark.png");
}

/* Generic text */
.dark h1,
.dark h2,
.dark p,
.dark small,
.dark li {
    color: #e6e6e6;
}

.dark a {
    color: #2492ff;
}

.dark .btn-black {
    color: #fff;
}

.dark .btn-black:hover {
    color: #e60000;
}

/* Navbar */
.dark nav {
    background: #111;
}
.dark nav ul {
    background: #111;
}
.dark .nav-link {
    color: #eee;
}
.dark .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* slight gap */
    width: 0%;
    height: 2px;
    background-color: #eee; /* choose your underline color */
    transition: width 0.25s ease;
}

/* Hover underline */
.dark .nav-link:hover::after {
    width: 100%;
}

/* Active page underline */
.dark .nav-link.active::after {
    width: 100%;
}

/* Optional: active text color */
.dark .nav-link.active {
    color: #eee;
}

.dark .nav-toggle {
    color:#eee;
}

/* Footer */
.dark footer {
    background: #1b1b1b;
    border-top-color: #333;
}
.dark .footer-header-row { color: #e6e6e6; }
.dark .footer-nav a { color: #e6e6e6; }
.dark .footer-bottom { color: #bbb; }

/* Cards, panels, sections */
.dark .card,
.dark .contact-card,
.dark .location-card,
.dark .legal-section,
.dark .legal-section li,
.dark .concert-summary,
.dark .event-card,
.dark .faq-container details,
.dark .contact-faq-intro,
.dark .concert-filter-bar {
    background: #111;
    border-color: #333;
    color: #eee;
}

.dark .event-card:hover,
.dark .location-card:hover {
    filter: brightness(1.2);
}

.dark details > div {
    color: #bbb
}

.dark .concert-description {
    color: #ddd;
}

/* Inputs */
.dark input,
.dark textarea,
.dark select {
    background: #222;
    border-color: #444;
    color: #eee;
}

/* Buttons that were originally black */
.dark .btn-wide-black,
.dark .contact-card button,
.dark .btn-buy-small {
    background: #333;
    color: #eee !important;
    border-color: #eee;
}

.dark .btn-wide-black:hover,
.dark .contact-card button:hover,
.dark .btn-buy-small:hover {
    background: #222;
    color: #e60000 !important;
    border-color: #eee;
}

.dark .concert-description.collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 90px;
    background: linear-gradient(to bottom, transparent, #111);
}

.dark .btn-toggle-desc {
    color:#ddd;
}

.dark .share-modal-panel {
    background: #111;
    color: #eee;
}

.dark .share-button {
    border: 2px solid #fff;
}

.dark .share-button:hover {
    border: 2px solid #e60000;
}

.dark .share-modal-panel .share-icon {
    background:#333;
}

.dark summary::after,
.dark .btn-toggle-desc::after,
.dark .share-modal-close,
.dark .share-icon img {
    filter: invert(1) brightness(2);
}

.dark .share-modal-close:hover {
    filter: brightness(0) saturate(100%) invert(12%) sepia(93%) saturate(7486%) hue-rotate(2deg) brightness(104%) contrast(107%);
}

/* Dark mode for footer toggle icon (icon swap handled in JS) */
.theme-toggle img {
    width: 45px;
    height: 45px;
    opacity: 0.85;
}
.dark .theme-toggle img {
    opacity: 1;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding-left: 40px;
    display: flex;
    align-items: center;
}

.theme-toggle img {
    width: 45px;
    height: 45px;
    transition: opacity 0.25s, transform 0.25s;
}

.theme-toggle:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.video-embed {
    margin-top: 16px;
    position: relative;
    padding-top: 56.25%; /* 16:9 */
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.poster-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poster-wrap .promo-video-btn {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.poster-wrap .promo-video-btn:hover {
    text-decoration: none;
}