/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Theme Colors */
:root {
    /* Primary brand color (purple) */
    --color-primary: #933D83;
    --color-primary-600: #7E3572;
    /* darker for hover */
    --color-primary-400: #A65297;
    /* lighter */
    --color-primary-200: #D9BCD3;
    /* tint */
    --color-primary-100: #F6EFF4;
    /* very light background tint */
    --color-primary-rgb: 147, 61, 131;
    /* for rgba usage */

    /* Base neutrals */
    --color-text: #333333;
    --color-bg: #ffffff;
    --color-muted: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    /* above image & base overlay, below content */
    pointer-events: none;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.1) 60%,
            rgba(0, 0, 0, 0) 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 1rem 1.25rem;
}

.hero-logo {
    height: 150px;
    width: auto;
    margin: 0 auto 0.75rem;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.band-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(var(--color-primary-rgb), 1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 30px rgba(var(--color-primary-rgb), 0.25);
    position: relative;
}

.band-name::after {
    content: "";
    display: block;
    width: 120px;
    max-width: 40vw;
    height: 4px;
    margin: 0.75rem auto 0;
    background: linear-gradient(90deg, var(--color-primary-400), var(--color-primary));
    border-radius: 2px;
}

.band-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.4rem 0.9rem;
    color: #fff;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(var(--color-primary-rgb), 0.1);
    border: 2px solid rgba(var(--color-primary-rgb), 0.4);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary-600);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.35);
}

.hero-social-link:focus-visible {
    outline: none;
    background: var(--color-primary);
    border-color: var(--color-primary-600);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.25);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: var(--color-primary-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.3);
}

/* Improve CTA readability on hero */
.hero-content .cta-button {
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(var(--color-primary-rgb), 0.15) inset;
}

.hero-content .cta-button:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(var(--color-primary-rgb), 0.25) inset;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(-100%);
}

.main-nav.visible {
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #333;
}

.nav-logo {
    height: 36px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

/* On top of hero, make nav brand readable */
.main-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Content Sections */
.main-content {
    padding-top: 0;
}

.content-section {
    padding: 80px 0;
    min-height: 50vh;
}

.content-section:nth-child(even) {
    background: var(--color-muted);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contact / Booking */
.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-lead {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact-note {
    color: #666;
    margin: 0.75rem 0 0.25rem;
}

.contact-inline-mail {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.25rem;
}

.contact-inline-mail:hover {
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
    border-color: rgba(var(--color-primary-rgb), 0.35);
}

.contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: #2c3e50;
}

.contact-link {
    display: block;
    color: var(--color-primary);
    text-decoration: none;
    margin: 0.25rem 0;
    font-weight: 600;
}

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

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem;
    border-radius: 5px;
}

.social-link:hover {
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

.footer-legal {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-legal .separator {
    margin: 0 0.5rem;
    color: #777;
}

/* Legal Pages */
.legal-page-header {
    background: linear-gradient(135deg, #712E67, var(--color-primary));
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-page-content {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.legal-content h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
}

.legal-content h2 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

.btn-back {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.btn-back:hover {
    background: var(--color-primary-600);
}

/* Responsive Design */
@media (max-width: 768px) {
    .band-name {
        font-size: 2.5rem;
    }

    .band-tagline {
        font-size: 1.2rem;
    }

    .hero-social-links {
        gap: 1rem;
    }

    .hero-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .section-title {
        font-size: 2rem;
    }

    .content-section {
        padding: 60px 0;
    }

    .hero-logo {
        height: 56px;
        margin-bottom: 0.6rem;
    }

    /* Legal Pages Mobile */
    .page-title {
        font-size: 2.5rem;
    }

    .legal-content {
        padding: 2rem;
        margin: 0 1rem 2rem;
    }

    /* Contact / Booking mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .band-name {
        font-size: 2rem;
    }

    .band-tagline {
        font-size: 1rem;
    }

    .hero-social-links {
        gap: 0.8rem;
    }

    .hero-social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Legal Pages Small Mobile */
    .page-title {
        font-size: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }
}

/* Tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Bandsintown widget tweaks (scoped to Shows section) */
/* Ensure location and text columns are left-aligned inside the embed */
#shows .show-list,
#shows .show-list * {
    text-align: left !important;
}

/* Specifically ensure the location lines render left-aligned on all layouts */
#shows .bit-location-under-desktop,
#shows .bit-location-under-mobile,
#shows .bit-titleWrapper,
#shows .bit-venue,
#shows a.bit-details,
#shows .bit-details-inner-wrapper {
    text-align: left !important;
}

/* If the widget uses flex to center, push to the start */
#shows .bit-details-inner-wrapper,
#shows .bit-titleWrapper {
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Prevent unexpected centering caused by block-level anchors */
#shows a.bit-details,
#shows .bit-titleWrapper a {
    display: block;
}

/* Explicit order: date → title → location */
#shows .bit-details-inner-wrapper a.bit-details {
    order: 1 !important;
}

#shows .bit-details-inner-wrapper .bit-titleWrapper {
    order: 2 !important;
}

#shows .bit-details-inner-wrapper .bit-location-under-mobile {
    order: 3 !important;
}

#shows .bit-details-inner-wrapper .bit-location-under-tablet {
    order: 3 !important;
}

/* Responsive layout for the Bandsintown widget */
/* Large screens: keep date, event name, and location in one line */
@media (min-width: 1025px) {
    #shows .bit-details-inner-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        /* separators provide spacing */
        white-space: nowrap !important;
    }

    /* Prevent wrapping and force inline sizing for the three parts */
    #shows .bit-details-inner-wrapper a.bit-details,
    #shows .bit-details-inner-wrapper .bit-titleWrapper,
    #shows .bit-details-inner-wrapper .bit-location-under-mobile {
        display: inline-block !important;
        vertical-align: baseline !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        float: none !important;
        clear: none !important;
    }

    #shows .bit-date,
    #shows .bit-titleWrapper,
    #shows .bit-venue,
    #shows .bit-location-under-mobile {
        white-space: nowrap !important;
    }

    /* Let the date wrapper shrink to content instead of a fixed column */
    #shows .bit-date-wrapper {
        display: inline-block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 auto !important;
    }

    #shows .bit-date {
        display: inline !important;
        width: auto !important;
    }

    /* Inline layout tweaks */
    #shows .bit-titleWrapper,
    #shows .bit-location-under-mobile {
        margin-top: 0 !important;
    }

    /* Prefer tablet location on large screens and hide mobile to avoid duplicates */
    #shows .bit-location-under-mobile {
        display: none !important;
    }

    #shows .bit-location-under-tablet {
        display: inline !important;
        align-self: auto !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure the title doesn't reserve extra space */
    #shows .bit-titleWrapper {
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    #shows .bit-titleWrapper a {
        display: inline !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Location: no unintended offset */
    #shows .bit-location-under-mobile {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure the anchor inside title is inline, not block */
    #shows .bit-titleWrapper a {
        display: inline !important;
        width: auto !important;
    }
    
    /* Handle div variant of venue in second tab */
    #shows .bit-titleWrapper div.bit-venue {
        display: inline !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Add dash separators between date → name → location */
    #shows .bit-details-inner-wrapper .bit-date::after {
        content: " — ";
        margin: 0 6px;
    }

    #shows .bit-details-inner-wrapper .bit-titleWrapper::after {
        content: " — ";
        margin: 0 6px;
    }
}

/* Small screens: keep stacked but center only the location line */
@media (max-width: 480px) {
    #shows .bit-details-inner-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    #shows .bit-details-inner-wrapper .bit-location-under-mobile {
        text-align: center !important;
        align-self: center !important;
        display: block !important;
        width: 100% !important;
    }
}

/* Dates: brand purple and not bold (desktop + mobile) */
#shows .bit-date,
#shows .bit-mobile-date {
    color: var(--color-primary) !important;
    font-weight: 400 !important;
}

/* Event name: bold (both anchor and div variants) */
#shows .bit-venue {
    font-weight: 700 !important;
}

/* Handle second tab format where venue is a div instead of anchor */
#shows .bit-titleWrapper div.bit-venue {
    font-weight: 700 !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Swap order: on small/mid screens hide desktop loc and use mobile/tablet */
@media (max-width: 1024px) {
    #shows .bit-location-under-desktop {
        display: none !important;
    }

    #shows .bit-location-under-mobile {
        display: block !important;
    }
}

/* Arrange inner content order: date (1) → title (2) → location (3) */
@media (max-width: 1024px) {
    #shows .bit-details-inner-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* Light spacing between rows when stacked */
@media (max-width: 1024px) {
    #shows .bit-titleWrapper {
        margin-top: 2px;
    }

    #shows .bit-location-under-mobile {
        margin-top: 2px;
    }
}

/* Live section: widen section content only for the Shows section */
#shows .section-content {
    max-width: 1000px;
}