/* Custom Styles for Edit Leeds */

/* Inter font, hosted on our own server (no Google Fonts = no visitor data sent to Google) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color:#d4d4d4;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #dc2626, #991b1b); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, #ef4444, #dc2626); }

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(-45deg, #dc2626, #ef4444, #f87171, #dc2626);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 0 30px rgba(220, 38, 38, 0.8); }
}
.pulse-glow { animation: pulse-glow 2s infinite; }

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float { animation: float 6s ease-in-out infinite; }

/* =====================================================================
   Navigation
   ===================================================================== */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    /* Same colour and blue line as the footer, so it's readable over any background */
    background: #0a0a0a;
    border-bottom: 1px solid #262626;
    transition: box-shadow 0.3s ease;
}
.site-nav.scrolled, .site-nav.menu-open {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.9);
}
.nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem; max-width: 1200px; margin: 0 auto;
}
.nav-logo img { display: block; width: 118px; height: auto; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-link {
    color: #d1d5db; text-decoration: none; font-weight: 500; font-size: 1rem;
    position: relative; background: none; border: 0; cursor: pointer; font-family: inherit;
    transition: color 0.3s ease; padding: 0.25rem 0;
}
.nav-link:hover, .nav-link.is-active { color: #ffffff; }
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: linear-gradient(to right, #dc2626, #991b1b); transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link .fa-chevron-down { font-size: 0.65rem; margin-left: 2px; vertical-align: middle; }

.dropdown { position: relative; }
.dd-menu {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
    min-width: 190px; padding: 0.5rem 0; border-radius: 12px;
    background: rgba(5, 5, 5, 0.97); border: 1px solid #262626;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8);
    opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s;
}
.dd-menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown:hover .dd-menu, .dropdown:focus-within .dd-menu, .dropdown.open .dd-menu { opacity: 1; visibility: visible; }
.dd-menu a { display: block; padding: 0.55rem 1.2rem; color: #d1d5db; text-decoration: none; white-space: nowrap; }
.dd-menu a:hover { color: #fff; background: #262626; }

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #dc2626, #991b1b);
    color: white; padding: 0.5rem 1.4rem; border-radius: 9999px; font-weight: 600;
    text-decoration: none; transition: all 0.3s ease; white-space: nowrap;
}
.cta-button:hover { transform: scale(1.05); box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4); color: #fff; }

.mobile-menu-button { display: none; background: none; border: none; color: white; cursor: pointer; padding: 0.5rem; margin: -0.5rem; }
.mobile-menu-button svg { display: block; width: 28px; height: 28px; }
.mobile-menu-button .icon-close { display: none; }
.site-nav.menu-open .mobile-menu-button .icon-open { display: none; }
.site-nav.menu-open .mobile-menu-button .icon-close { display: block; }
.mobile-menu { display: none; }

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-menu-button { display: block; }
    .nav-inner { padding: 1rem; }
    .nav-logo img { width: 100px; }
    .site-nav.menu-open .mobile-menu {
        display: flex; flex-direction: column;
        padding: 0.5rem 1rem 1.5rem; border-top: 1px solid #262626;
        max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .mobile-menu a { color: #d1d5db; text-decoration: none; padding: 0.8rem 0; font-size: 1.1rem; border-bottom: 1px solid #ffffff14; }
    .mobile-menu a.mm-sub { padding-left: 1rem; font-size: 1rem; }
    .mobile-menu .mm-heading { color: #737373; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 1rem 0 0.25rem; }
    .mobile-menu a.mm-cta { margin-top: 1.25rem; text-align: center; border: 0; color: #fff; }
}

/* Homepage hero with a background photo */
.hero.has-media { background-size: cover; background-repeat: no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-fade {
    background:
        radial-gradient(ellipse 45% 35% at 50% 50%, rgba(0,0,0,0.55), rgba(0,0,0,0) 100%),
        linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 65%, rgba(23,23,23,1) 100%);
}
.hero.has-media h1 img { filter: drop-shadow(0 4px 18px rgba(0,0,0,0.9)); }
.hero.has-media p { color: #e5e5e5; font-weight: 500; text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 0 24px rgba(0,0,0,0.9); }

/* Page heading band (pages without the big homepage hero) */
.page-hero { padding: 9rem 0 4rem; }
@media (max-width: 768px) { .page-hero { padding: 7.5rem 0 3rem; } }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: #0a0a0a; border-top: 1px solid #262626; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 {
    color: #fff; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 1rem;
    padding-bottom: 0.5rem; border-bottom: 2px solid #dc2626; display: inline-block;
}
.footer-section p, .footer-section a { color: #a3a3a3; text-decoration: none; line-height: 1.6; transition: color 0.3s ease, text-shadow 0.3s ease; }
.footer-section a:hover { color: #fff; }
.footer-section a.cta-button { color: #fff; text-shadow: none; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-bottom { border-top: 1px solid #262626; padding-top: 2rem; text-align: center; color: #a3a3a3; font-size: 0.9rem; }
.footer-bottom a { color: #a3a3a3; text-decoration: underline; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-link {
    background: #111111; color: #a3a3a3; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid #ffffff; display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.footer-section a.social-link:hover { background: #dc2626; border-color: #dc2626; color: #fff; transform: scale(1.1); }
@media (max-width: 768px) { .footer-content { padding: 2rem 1rem; } }

/* =====================================================================
   Event cards
   ===================================================================== */
.type-badge {
    position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.type-badge.club { background: #991b1bdd; color: #fff; }
.type-badge.gig  { background: #f5f5f5e6; color: #111; }
.type-badge.day  { background: #262626e6; color: #f5f5f5; border: 1px solid #525252; }

.tab-row { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.tab-row a { padding: 0.5rem 1.25rem; border-radius: 999px; border: 1px solid #262626; color: #d1d5db; text-decoration: none; transition: all 0.2s; }
.tab-row a:hover { border-color: #dc2626; color: #fff; }
.tab-row a.is-active { background: linear-gradient(to right, #dc2626, #991b1b); border-color: transparent; color: #fff; }

/* =====================================================================
   Text pages (written in Webcontrol)
   ===================================================================== */
.prose-venue { color: #d4d4d4; line-height: 1.75; font-size: 1.05rem; }
.prose-venue h2 { color: #ffffff; font-size: 1.6rem; font-weight: 700; margin: 2.25rem 0 0.75rem; }
.prose-venue h3 { color: #e5e5e5; font-size: 1.25rem; font-weight: 600; margin: 1.75rem 0 0.5rem; }
.prose-venue > :first-child { margin-top: 0; }
.prose-venue p { margin-bottom: 1rem; }
.prose-venue ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.prose-venue li { margin-bottom: 0.35rem; }
.prose-venue strong { color: #fff; }
.prose-venue a { color: #f87171; text-decoration: underline; }
.prose-venue a:hover { color: #fca5a5; }
mark.todo { background: #facc15; color: #111; padding: 0 4px; border-radius: 3px; font-size: 0.9em; }

.panel { background: #000; border: 1px solid #262626; border-radius: 1rem; padding: 2rem; }
@media (max-width: 640px) { .panel { padding: 1.25rem; } }

/* FAQs */
.faq-item { border: 1px solid #262626; border-radius: 0.75rem; margin-bottom: 0.75rem; background: #000; overflow: hidden; }
.faq-item summary {
    cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; color: #fff; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
    color: #dc2626; font-size: 1.5rem; font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item[open] { border-color: #dc2626; }
.faq-item .faq-answer { padding: 0 1.25rem 1rem; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* =====================================================================
   Forms
   ===================================================================== */
.site-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.site-form .field.wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .site-form .fields { grid-template-columns: 1fr; } }
.site-form label { display: block; color: #e5e5e5; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.95rem; }
.site-form .req { color: #f87171; }
.site-form input[type=text], .site-form input[type=email], .site-form input[type=tel], .site-form input[type=date],
.site-form input[type=number], .site-form input[type=url], .site-form select, .site-form textarea {
    width: 100%; background: #0b0b0b; border: 1px solid #404040; border-radius: 0.6rem; color: #fff;
    padding: 0.75rem 0.9rem; font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: none; border-color: #a3a3a3; box-shadow: 0 0 0 3px #ffffff1a; }
.site-form input[type=date] { color-scheme: dark; }
.site-form textarea { resize: vertical; min-height: 120px; }
.site-form .hint { color: #8a8a8a; font-size: 0.85rem; margin-top: 0.3rem; }
.site-form .error { color: #fca5a5; font-size: 0.9rem; margin-top: 0.3rem; }
.site-form .has-error input, .site-form .has-error select, .site-form .has-error textarea { border-color: #ef4444; }
.site-form .form-section { color: #ffffff; font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.75rem; grid-column: 1 / -1; }
.site-form .consent { display: flex; gap: 0.75rem; align-items: flex-start; color: #e5e5e5; }
.site-form .consent input { margin-top: 0.3rem; width: 1.15rem; height: 1.15rem; accent-color: #dc2626; flex-shrink: 0; }
.site-form button[type=submit], .btn-red {
    display: inline-block; background: linear-gradient(to right, #dc2626, #991b1b); color: #fff; border: 0; cursor: pointer;
    padding: 0.85rem 2rem; border-radius: 999px; font-weight: 700; font-size: 1rem; font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s; text-decoration: none;
}
.site-form button[type=submit]:hover, .btn-red:hover { transform: scale(1.04); box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.5); }
.form-note { color: #a3a3a3; font-size: 0.85rem; margin-top: 1rem; }
.form-note a { color: #f87171; text-decoration: underline; }
.alert { border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.alert.ok { background: #052e16; border: 1px solid #166534; color: #bbf7d0; }
.alert.err { background: #450a0a; border: 1px solid #991b1b; color: #fecaca; }
/* Spam trap field - hidden from people */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   Gallery
   ===================================================================== */
.night-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.night-grid.center { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; }
.night-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 1rem; overflow: hidden; border: 1px solid #262626; background: #111; }
.night-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.night-tile:hover img { transform: scale(1.06); }
.night-tile:hover { border-color: #dc2626; }
.night-tile .night-meta {
    position: absolute; inset: auto 0 0 0; padding: 3rem 1.25rem 1.1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0));
}
.night-tile h3 { color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.night-tile p { color: #a3a3a3; font-size: 0.9rem; margin-top: 0.25rem; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
@media (max-width: 480px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } }
.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0.6rem; background: #111; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.3s; }
.photo-grid a:hover img { transform: scale(1.05); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 4px; user-select: none; }
.lightbox button {
    position: absolute; background: rgba(255,255,255,0.08); color: #fff; border: 0; cursor: pointer;
    width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: #dc2626; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #9ca3af; font-size: 0.9rem; }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ===== Edit theme: default backgrounds (black/grey with a hint of red) ===== */
.hero-default {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(ellipse 60% 45% at 50% 115%, rgba(220,38,38,0.22), rgba(220,38,38,0) 70%),
        linear-gradient(135deg, #000 0%, #1c1c1c 50%, #000 100%);
}
.page-hero {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(ellipse 55% 60% at 50% 130%, rgba(220,38,38,0.18), rgba(220,38,38,0) 70%),
        linear-gradient(135deg, #000 0%, #1a1a1a 55%, #000 100%);
    border-bottom: 1px solid #262626;
}
.hero-logo { display: block; margin: 0 auto; width: 300px; height: auto; }
@media (max-width: 640px) { .hero-logo { width: 230px; } }
.poster-placeholder { background: linear-gradient(135deg, #000, #1f1f1f 60%, #000); }
