/* =========================================================================
   🎨 DESIGN SYSTEM (VARIABLES)
   ========================================================================= */
:root {
    --bg-main: #100e0c;
    --bg-surface: #1b1714;
    --bg-surface-alt: #26211c;
    --text-primary: #f4efe8;
    --text-muted: #c3b6a6;
    --line: rgba(214, 176, 122, 0.22);
    --accent-primary: #a86832;
    --accent-hover: #c4844d;
    --accent-translucent: rgba(168, 104, 50, 0.72);
    --accent-hover-translucent: rgba(196, 132, 77, 0.72);
    --success: #8dcea8;
    --danger: #ff8f86;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --radius: 16px;
    --header-offset: 4.6rem;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Cinzel', serif;
    --fs-h1: clamp(2.2rem, 5vw, 3.4rem);
    --fs-h2: clamp(1.7rem, 3vw, 2.2rem);
    --fs-h3: 1.35rem;
}

/* =========================================================================
   🤠 SECTION 1: RESET, CORE THEME & BASE LAYOUT
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 2000;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.35rem 0 0.65rem;
}

.captcha-box img {
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #120f0d;
}

.captcha-box button {
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
    .sound-wave.playing span {
        animation: none;
    }
}

html {
    color-scheme: dark;
}

body {
    background:
        radial-gradient(900px 420px at 50% -80px, rgba(168, 104, 50, 0.22), transparent 70%),
        var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: none;
}

main {
    max-width: 1120px;
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem 2rem;
}

/* Unified Typography Baseline */
h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--accent-hover);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

h1 { 
    font-size: var(--fs-h1); 
    color: var(--text-primary);
} 

h2 { 
    font-size: var(--fs-h2); 
    text-align: center;
    margin-bottom: 1.5rem;
}

h3 { 
    font-size: var(--fs-h3); 
}

/* =========================================================================
   👑 SECTION 2: HEADER, NAVIGATION & MOBILE HAMBURGER
   ========================================================================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16, 14, 12, 0.86);
    backdrop-filter: blur(16px);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--line);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1000;
}

.logo-image {
    height: 30px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.logo-text {
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 30px;
    text-transform: none;
    letter-spacing: normal;
}

.logo:hover .logo-text,
.logo-text:hover {
    color: var(--accent-hover);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 auto;
    z-index: 1100;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #fff8ef;
    background: rgba(168, 104, 50, 0.28);
}

.hamburger {
    display: none;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1200;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* =========================================================================
   🎸 SECTION 3: HERO BANNER & FEATURED AUDIO CAROUSEL
   ========================================================================= */
.hero {
    text-align: center;
    padding: 7rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    position: relative;
    overflow: hidden;
    min-height: 460px;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, #000 0%, transparent 15%, transparent 85%, #000 100%),
        linear-gradient(to bottom, transparent 70%, #000 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero h1 {
    color: var(--text-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.hero .hero-kicker {
    margin: 0.55rem 0 0;
    color: #f4efe8;
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.15rem;
    margin-top: 1rem;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
    display: inline-block;
    color: #fff8ef;
    text-decoration: none;
    background: var(--accent-primary);
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
    text-transform: none;
    letter-spacing: 0.03em;
}

.hero-tagline:hover {
    background: var(--accent-hover);
    text-decoration: none;
    transform: translateY(-1px);
}

.featured-single {
    padding: 2rem 1rem;
    text-align: center;
}

.single-carousel {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    touch-action: pan-y;
}

.single-item {
    display: none;
}

.single-item.active {
    display: block;
}

.cover-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background-color: #111;
}

.single-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    border-radius: 6px;
}

/* Audio Player Animation */
.sound-wave {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 50px;
    justify-content: space-between;
    align-items: flex-end;
}

.sound-wave.playing {
    display: flex;
    background: rgba(128, 128, 128, 0.85);
    padding: 0.5rem;
    border-radius: 5px;
}

.sound-wave.playing span {
    width: 10px;
    height: 20px;
    background: var(--accent-primary);
    animation: sound-wave 0.5s infinite alternate;
}

.sound-wave.playing span:nth-child(2) { animation-delay: 0.2s; }
.sound-wave.playing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes sound-wave {
    0% { height: 20px; }
    100% { height: 35px; }
}

.player-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(128, 128, 128, 0.85);
    padding: 0.5rem;
    border-radius: 5px;
}

.play-pause {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.3rem 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.play-pause:hover {
    background: var(--accent-hover);
}

.volume-slider {
    width: 80px;
    border-radius: 5px;
}

.single-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-sans);
}

.single-link:hover {
    text-decoration: underline;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--accent-hover);
}

.carousel-prev svg, .carousel-next svg {
    width: 16px;
    height: 16px;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* =========================================================================
   📖 SECTION 4: ABOUT PAGE LAYOUT
   ========================================================================= */
.about {
    padding: 20px;
    min-height: calc(100vh - 140px);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 140px);
    max-width: 600px;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

.about-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
}

.bio {
    padding: 0.5rem 1rem;
    text-align: center;
}

/* =========================================================================
   🖼️ SECTION 5: GALLERY GRID SYSTEM
   ========================================================================= */
.gallery {
    padding: 20px;
    position: relative;
    z-index: 0;
    text-align: center;
}

.gallery-container {
    display: block;
    column-count: 3;
    column-gap: 2px;
    margin-bottom: 20px;
    width: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    box-sizing: border-box;
    padding: 5px;
    break-inside: avoid;
    margin-bottom: 2px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Admin Panel Gallery Elements */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 150px));
    gap: 5px;
    margin-top: 20px;
    align-items: baseline;
    justify-content: center;
}

.thumbnail-item {
    text-align: center;
    width: 150px;
    height: auto;
}

.thumbnail-item img {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: auto;
}

/* =========================================================================
   🛍️ SECTION 6: MERCHANDISE PRESENTATION
   ========================================================================= */
.merch {
    text-align: center;
}

.merch p {
    font-family: var(--font-sans);
    font-size: 1.2em;
    line-height: 1.5;
}

.store-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.store-head p,
.store-empty {
    color: var(--text-muted);
}

.store-empty {
    text-align: center;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.store-card {
    display: flex;
    flex-direction: column;
    background: rgba(27, 23, 20, 0.94);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.store-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1b1714;
}

.store-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.store-photo-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent-hover);
}

.store-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1rem 1.15rem;
    text-align: left;
}

.store-card h3 {
    text-transform: none;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0;
}

.store-price {
    color: var(--accent-hover);
    font-weight: 700;
    margin: 0;
}

.store-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.store-body p {
    margin: 0;
    color: var(--text-muted);
}

.store-buy {
    display: inline-block;
    margin-top: 0.7rem;
    align-self: flex-start;
    color: #fff8ef;
    text-decoration: none;
    background: var(--accent-primary);
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.store-buy:hover {
    background: var(--accent-hover);
}

/* =========================================================================
   📅 SECTION 7: EVENTS SCHEDULE, INTERACTIVE CALENDARS & MODALS
   ========================================================================= */
.featured-event, .next-event, .schedule {
    padding: 0.5rem 1rem;
    text-align: center;
}

.view-toggle {
    margin-bottom: 1rem;
    text-align: center;
}

.view-toggle .view-button {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    border-radius: 5px;
}

.view-toggle .view-button.active,
.view-toggle .view-button:hover {
    background: var(--accent-hover);
}

.view-content {
    display: none;
}

.view-content.active {
    display: block;
}

.event-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.event-item {
    display: flex;
    width: 100%;
    max-width: 720px;
    border: 1px solid var(--line);
    padding: 1rem;
    margin: 0.75rem auto;
    background: var(--bg-surface-alt);
    border-radius: var(--radius);
    box-sizing: border-box;
    text-align: left;
    gap: 1rem;
}

.event-link,
.single-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #fff8ef;
    text-decoration: none;
    background: var(--accent-primary);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.event-link:hover,
.single-link:hover {
    background: var(--accent-hover);
    text-decoration: none;
}

.event-date {
    flex: 0 0 20%;
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.2;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-details {
    flex: 1;
    padding-left: 1rem;
}

/* Event Management Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background: var(--bg-surface);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--accent-primary);
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-header button {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.3rem 0.7rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    border-radius: 5px;
}

.modal-header button:hover {
    background: var(--accent-hover);
}

.close {
    color: var(--text-primary);
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
}

.close:hover,
.close:focus {
    color: var(--accent-primary);
    background: var(--accent-hover);
    text-decoration: none;
}

/* Interactive Calendar Components */
.calendar-container {
    border: 1px solid var(--accent-primary);
    border-radius: 5px;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.2rem;
    margin-bottom: 0.5rem;
    background: var(--bg-surface-alt);
}

.calendar-day-header,
.calendar-day {
    padding: 0.3rem;
    text-align: center;
    background: var(--bg-surface-alt);
    border-radius: 5px;
    border: 1px solid #444;
}

.calendar-day-header {
    font-weight: bold;
}

.calendar-day {
    font-size: 0.9rem;
    cursor: pointer;
}

.calendar-day.has-event {
    background: var(--accent-primary);
}

.event-details-modal {
    margin-top: 1rem;
    padding: 0.5rem;
    background: var(--bg-surface-alt);
    border-radius: 5px;
}

/* =========================================================================
   ✉️ SECTION 8: GLOBAL INTERFACE FORMS & ADMIN SYSTEMS
   ========================================================================= */
.contact,
.merch,
.about,
.gallery,
.schedule,
.featured-single,
.featured-event,
.next-event,
.bio {
    background: rgba(27, 23, 20, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.25rem;
    margin-bottom: 1.25rem;
}

.contact,
.merch {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

section.schedule,
section.featured-event,
section.next-event {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0.25rem 0 1rem;
}

.schedule-head {
    max-width: 34rem;
    margin: 0 auto 1.4rem;
    text-align: center;
}

.schedule-kicker {
    margin: 0 0 0.35rem;
    color: var(--accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.schedule-head h1 {
    text-align: center;
    margin-bottom: 0.4rem;
}

.schedule-head p,
.schedule-empty {
    color: var(--text-muted);
}

.show-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
}

.show-card {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 0.95rem;
    align-items: stretch;
    padding: 0.8rem;
    text-align: left;
    background: linear-gradient(180deg, rgba(38, 33, 28, 0.96), #14110f);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.show-card.is-next {
    border-color: rgba(196, 132, 77, 0.7);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.show-when {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 112px;
    border-radius: 14px;
    background: #1b1714;
    border: 1px solid var(--line);
}

.show-month,
.show-weekday {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.show-month {
    color: var(--accent-hover);
}

.show-day {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 0.95;
    color: var(--text-primary);
}

.show-weekday {
    color: var(--text-muted);
}

.show-time {
    margin-top: 0.35rem;
    color: var(--accent-hover);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

.show-body h2 {
    margin: 0 0 0.35rem;
    text-align: left;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.show-meta,
.show-note {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
}

.show-venue {
    color: var(--text-primary);
    font-weight: 700;
}

.show-address {
    color: var(--accent-hover);
    text-decoration: none;
}

.show-address:hover {
    text-decoration: underline;
}

.show-card .event-link {
    margin-top: 0.85rem;
}

@media (max-width: 640px) {
    .show-card {
        grid-template-columns: 88px 1fr;
        gap: 0.7rem;
        padding: 0.7rem;
    }

    .show-when {
        min-height: 96px;
    }

    .show-day {
        font-size: 2rem;
    }

    .show-body h2 {
        font-size: 1.2rem;
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-family: var(--font-sans);
}

/* Standardized all structural site inputs */
input[type="text"],
input[type="password"],
input[type="url"],
input[type="file"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    background: #120f0d;
    color: var(--text-primary);
    font-family: var(--font-sans);
    border-radius: 12px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="file"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-hover);
    box-shadow: 0 0 0 3px rgba(168, 104, 50, 0.25);
    outline: none;
}

.form-group input[type="checkbox"],
.checkbox-container input {
    width: auto;
    accent-color: var(--accent-primary);
}

textarea, 
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
}

button,
.contact button {
    background: var(--accent-primary);
    color: #fff8ef;
    padding: 0.75rem 1.1rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

button:hover,
.contact button:hover {
    background: var(--accent-hover);
}

.form-success,
.msg-success,
.status-message {
    color: var(--success);
    background: rgba(141, 206, 168, 0.1);
    border: 1px solid rgba(141, 206, 168, 0.28);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.form-error,
.msg-error {
    color: var(--danger);
    background: rgba(255, 143, 134, 0.1);
    border: 1px solid rgba(255, 143, 134, 0.28);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.admin-contact .form-group {
    max-width: 400px;
    margin: 0 auto 20px;
    text-align: left;
}

.single-entry {
    border: 1px solid var(--accent-primary);
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-surface);
    border-radius: 5px;
}

.remove-single {
    background: var(--accent-hover);
    margin-top: 0.5rem;
    border-radius: 5px;
}

.remove-single:hover {
    background: var(--accent-primary);
}

/* Force consistent styling on contact form inputs to override any global headers */
.contact form input[type="text"], 
.contact form input[type="password"], 
.contact form input[type="url"], 
.contact form input[type="file"], 
.contact form input[type="email"], 
.contact form input[type="tel"], 
.contact form textarea {
    width: 100% !important;
    padding: 0.5rem !important;
    border: 2px solid var(--accent-primary) !important;
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-sans) !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease !important;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: var(--accent-hover);
    outline: none;
}

.contact form textarea {
    resize: vertical !important;
    min-height: 100px !important;
}
/* =========================================================================
   👑 SECTION 9: FOOTER & SOCIAL CONNECTIVITY LINKS
   ========================================================================= */
footer {
    background: rgba(16, 14, 12, 0.92);
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    position: relative;
    width: 100%;
    clear: both;
    z-index: 10;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.social-links a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-translucent);
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background: var(--accent-hover-translucent);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* =========================================================================
   📱 SECTION 10: RESPONSIVE MEDIA BREAKPOINTS & OVERRIDES
   ========================================================================= */
@media (max-width: 950px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100vw;
        max-height: calc(100vh - 50px);
        position: fixed;
        top: var(--header-offset);
        left: 0;
        background: var(--bg-surface);
        padding: 0.5rem 1rem;
        z-index: 1100;
        overflow-y: auto;
        align-items: center;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    header {
        padding: 0.5rem 1rem;
    }

    .logo {
        flex: 1;
    }

    .logo-image {
        height: 24px;
        margin-right: 0.4rem;
        vertical-align: middle;
    }

    .logo-text {
        font-size: 1.5rem;
        line-height: 24px;
    }

    .carousel-prev, .carousel-next {
        top: 50%;
        width: 24px;
        height: 24px;
    }

    .carousel-prev svg, .carousel-next svg {
        width: 14px;
        height: 14px;
    }

    .player-controls {
        gap: 0.3rem;
        padding: 0.3rem;
    }

    .play-pause {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }

    .volume-slider {
        width: 60px;
    }

    .event-item {
        display: block;
    }

    .event-date {
        width: 100%;
        margin-bottom: 1rem;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .event-details {
        padding-left: 0;
        width: 100%;
    }

    .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .modal-header button {
        padding: 0.2rem 0.5rem;
        font-size: 0.9rem;
    }

    .calendar-header,
    .calendar-day {
        font-size: 0.8rem;
    }

    .close {
        top: 5px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 24px;
    }

    .bio {
        text-align: center;
    }

    .social-links a {
        width: 32px;
        height: 32px;
    }

    .social-links svg {
        width: 18px;
        height: 18px;
    }

    /* About Section Responsive Mix */
    .about-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .about-image {
        margin-bottom: 20px;
        max-width: 600px;
    }
    
    .about-text {
        padding: 10px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .gallery-container {
        column-count: 1;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 100px);
    }
}

@media (min-width: 951px) {
    .bio {
        text-align: center;
    }
}