﻿/* =========================================
   GLOBAL / LAYOUT
   ========================================= */

main {
    padding-top: 72px; /* adjust to navbar height */
}

html {
    scrollbar-gutter: stable;
}   

/* =========================================
   NAVBAR
   ========================================= */

.navbar {
    background: rgba(255, 0, 0, 0.50);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030; /* stay above content */
}

.navbar-brand {
    font-family: 'Tahoma', Impallari;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.03em;
    color: #f5d7a1 !important;
    text-shadow: 0px 1px 0px #8c6f3a, 0px 2px 2px rgba(0,0,0,0.5), 0px 0px 6px rgba(0,0,0,0.4);
}

.navbar-dark .navbar-nav .nav-link {
    color: #f3f3f3;
}

    .navbar-dark .navbar-nav .nav-link:hover {
        color: #ff4e8a;
    }

.navbar-brand img {
    margin-top: -3px; /* tweak up or down */
}


/* =========================================================
   EPK CTA BUTTON (GLOBAL - guaranteed to apply)
   ========================================================= */

.navbar-dark .navbar-nav .nav-link.nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.42rem 0.95rem !important; /* makes it pill-like */
    line-height: 1.1 !important;
    border-radius: 999px !important;
    background: #d6b25e !important; /* solid gold so it’s obvious */
    border: 1px solid #d6b25e !important;
    color: #111 !important; /* dark text */
    font-weight: 900 !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35) !important;
    text-decoration: none !important;
}

    /* remove your active underline pseudo-element effect for the CTA */
    .navbar-dark .navbar-nav .nav-link.nav-cta.active::after,
    .navbar-dark .navbar-nav .nav-link.nav-cta::after {
        content: none !important;
    }

    .navbar-dark .navbar-nav .nav-link.nav-cta:hover,
    .navbar-dark .navbar-nav .nav-link.nav-cta.active {
        filter: brightness(1.05) !important;
    }



/* Force correct Bootstrap stacking order */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1055 !important;
}

/* Keep navbar sane */
.navbar {
    z-index: 1030 !important;
}


/* =========================================
   GOLD CTA BUTTON (EPK / Primary Actions)
   ========================================= */

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #d6b25e, #f0d28a);
    border: 1px solid #d6b25e;
    color: #111 !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(214, 178, 94, 0.35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

    .btn-gold:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
        box-shadow: 0 10px 26px rgba(214, 178, 94, 0.45);
    }


    /* =========================================
   HEART OUTLINE BUTTON (Meet the Band)
   ========================================= */

.btn-heart-outline {
    display: inline-flex;
    align-items: center;
    gap: .65rem;

    padding: .55rem 1.2rem;
    border-radius: 999px;

    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.35);

    color: #fff !important;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none !important;

    transition: transform .15s ease,
                background-color .15s ease,
                border-color .15s ease,
                box-shadow .15s ease;
}

.btn-heart-outline .icon {
    width: 20px;
    height: 20px;
    fill: #ff4e8a;
    filter: drop-shadow(0 0 4px rgba(255,78,138,.45));
}

.btn-heart-outline:hover {
    transform: translateY(-1px);
    background: rgba(255,78,138,.12);
    border-color: rgba(255,78,138,.7);
    box-shadow: 0 6px 18px rgba(255,78,138,.25);
}

.btn-heart-outline:hover .icon {
    filter: drop-shadow(0 0 8px rgba(255,78,138,.65));
}


/* =========================================
   BODY / BACKGROUND
   ========================================= */

body {
    color: #fafafa;
    font-family: Arial, Helvetica, sans-serif;
    background: none;
}


html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image: url("../images/Audience-BG.png"), radial-gradient(circle at top center, #311018 0%, #050509 55%, #020205 100%);
    background-blend-mode: soft-light, normal;
    background-attachment: fixed;
    background-size: cover, cover;
    background-position: center, center;
}


html::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: rgba(0,0,0,0.22); /* start here; tweak 0.18–0.30 */
}

.home-about,
.updates-wrap {
    margin-bottom: 2rem;
}


/* =========================================
   TYPOGRAPHY / HEADERS
   ========================================= */

h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    border-bottom: 1px solid #555;
    padding-bottom: 0.4rem;
}

section {
    margin-bottom: 2.5rem;
}

/* Use this on hero/tagline areas where readability matters */
.text-contrast {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.65);
}

/* If you have a hero container, apply targeted shadow here too */
.tagline,
.tagline-sub {
    text-shadow: 0 1px 3px rgba(0,0,0,.65);
}

/* Meet the band - gold accents */
.text-gold {
    color: #e7c27a;
}

/* =========================================
   HERO IMAGE
   ========================================= */

.hero-img {
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0,0,0,0.7);
}

/* =========================================
   SHOWS / LIST ITEMS
   ========================================= */

.show-item {
    border-bottom: 1px dashed #333;
    padding: 0.75rem 0;
}

    .show-item small {
        color: #e7c27a !important;
        font-weight: 500;
    }

/* =========================================
   LINKS
   ========================================= */

.contact-link {
    color: #ff68a8;
}

    .contact-link:hover {
        color: #ff2d72;
    }

/* =========================================
   GALLERY
   ========================================= */

.gallery-img {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .gallery-img:hover {
        transform: scale(1.03);
        box-shadow: 0 0 12px rgba(0,0,0,0.6);
    }

/* =========================================
   BIO
   ========================================= */

#bio img {
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(0,0,0,0.6);
}

#bio p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #f0f0f0;
}

#bio strong {
    color: #e7c27a;
}

/* =========================================
   CARDS
   ========================================= */

.card {
    border: 1px solid #333;
    border-radius: 10px;
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    height: 260px;
}

.card:hover {
    transform: translateY(-4px);
    transition: 0.2s ease;
    box-shadow: 0 0 16px rgba(255, 215, 160, 0.18);
}

/* =========================================
   SOCIAL ICONS
   ========================================= */

.social-link {
    display: inline-flex;
    margin: 1em 2em;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ff68a8;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.25);
    transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

    .social-link svg {
        fill: currentColor;
    }

    .social-link:hover {
        transform: translateY(-1px);
        color: #ff4e8a;
        border-color: rgba(255,78,138,.7);
        background: rgba(255,78,138,.12);
    }

/* =========================================
   EMAIL SEND BUTTON
   ========================================= */

.btn-heart-morph {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem 1.25rem;
    border-radius: 999px;
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #b3002d, #ff1f5a);
    font-weight: 500;
    letter-spacing: .04em;
    box-shadow: 0 6px 18px rgba(255,31,90,.35);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

    .btn-heart-morph:hover:not(:disabled) {
        background: linear-gradient(135deg, #d4003a, #ff4e8a);
        transform: translateY(-1px);
        box-shadow: 0 10px 26px rgba(255,31,90,.45);
    }

    .btn-heart-morph:disabled {
        background: #444;
        box-shadow: none;
        opacity: .75;
        cursor: not-allowed;
    }

/* Icon swap container */
.icon-swap {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
}

    .icon-swap .icon {
        position: absolute;
        inset: 0;
        width: 20px;
        height: 20px;
        fill: currentColor;
        opacity: 0;
        transform: scale(.6) rotate(-8deg);
        transition: opacity .18s ease, transform .22s ease;
    }

    /* Default: show heart */
    .icon-swap .icon-heart {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    /* Sending: heart -> arrow */
    .icon-swap.is-sending .icon-heart {
        opacity: 0;
        transform: scale(.6) rotate(-18deg);
    }

    .icon-swap.is-sending .icon-arrow {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    /* Sent: arrow -> check */
    .icon-swap.is-sent .icon-heart,
    .icon-swap.is-sent .icon-arrow {
        opacity: 0;
        transform: scale(.6);
    }

    .icon-swap.is-sent .icon-check {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    /* Tiny “launch” nudge on sending */
    .icon-swap.is-sending .icon-arrow {
        animation: arrow-pop .35s ease both;
    }

@keyframes arrow-pop {
    0% {
        transform: scale(.85) translateX(-1px);
    }

    60% {
        transform: scale(1.08) translateX(1px);
    }

    100% {
        transform: scale(1) translateX(0);
    }
}

/* =========================================
   TAGLINES
   ========================================= */

.tagline {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tagline-sub {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================
   HEART ICONS + HEARTBEAT (CONSOLIDATED)
   ========================================= */

.heart-icon {
    display: inline-block; /* crucial for transforms on <img> */
    height: 1.2em;
    margin: 0 0.35rem;
    vertical-align: -0.15em;
    transform-origin: 50% 50%;
    filter: drop-shadow(0 0 4px rgba(255, 105, 150, 0.35)) drop-shadow(0 0 8px rgba(255, 215, 160, 0.20));
}

.heartbeat {
    animation: heartbeat 1.2s ease-in-out infinite;
    will-change: transform;
}

.tagline-nowrap img.heartbeat:last-of-type {
    animation-delay: .12s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .heartbeat {
        animation: none;
    }
}

/* =========================================
   MOBILE OVERRIDES
   ========================================= */

@media (max-width: 767.98px) {
    .tagline {
        font-size: 1.6rem;
    }

    .heart-icon {
        height: 1em;
        margin: 0 0.2rem;
    }

    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

        .social-icons a,
        .social-icons a:link,
        .social-icons a:visited,
        .social-icons a:active,
        .social-icons a:focus {
            font-size: 2rem !important;
            color: #ff68a8 !important;
            text-decoration: none !important;
        }
}

@media (max-width: 360px) {
    .social-icons {
        gap: 6px;
    }

        .social-icons a {
            font-size: 1.8rem !important;
        }
}

@media (max-width: 576px) {
    .heartbeat {
        animation-duration: 1.4s;
    }
}

/* =========================================
   APPLE / SAFARI TWEAK (WebKit)
   ========================================= */

@supports (-webkit-touch-callout: none) {
    /* strengthen contrast specifically where needed */
    .text-contrast,
    .tagline,
    .tagline-sub {
        text-shadow: 0 2px 12px rgba(0,0,0,.75);
    }
}

/* =========================================
   Heartbeat animations 
   ========================================= */

.heart-icon.heartbeat {
    animation: heartbeat 1.2s ease-in-out infinite !important;
    transform-origin: 50% 50%;
    will-change: transform;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.06);
    }

    20% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.10);
    }

    45% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   Fix contrast issues iPhone
   ========================================= */

.page-scrim {
    position: fixed;
    top: 72px; /* below navbar */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.18);
    pointer-events: none !important;
    /* Keep it above the background layer but below navbar and modals */
    z-index: 1020;
}



.member-card {
    border: 1px solid #333;
    border-radius: 12px;
    background: rgba(0,0,0,.35);
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    color: #fff;
}

    .member-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255,78,138,.55);
        box-shadow: 0 10px 26px rgba(0,0,0,.35);
    }

.member-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 12px rgba(0,0,0,.45);
}

.member-name {
    font-weight: 700;
    letter-spacing: .02em;
}

.member-role {
    color: #e7c27a; /* your warm gold */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .85rem;
}

@media (max-width: 576px) {
    .member-thumb {
        width: 64px;
        height: 64px;
    }
}

/* =========================================
   Bootstrap modal layering (GLOBAL)
   ========================================= */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1055 !important;
}

.navbar {
    z-index: 1030 !important;
}

/* =========================================
   Text contrast helper
   ========================================= */
.text-contrast {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.65);
}

@supports (-webkit-touch-callout: none) {
    .text-contrast,
    .tagline,
    .tagline-sub {
        text-shadow: 0 2px 12px rgba(0,0,0,.75);
    }
}

/* =========================================
   Page scrim (SAFE with Bootstrap modals)
   ========================================= */
.page-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.18);
    pointer-events: none;
    z-index: -1; /* CRITICAL */
}

.page-content {
    position: relative; /* NO z-index */
}

/* =========================================
   SoundCloud wrapper
   ========================================= */

.soundcloud-wrapper {
    border-radius: 10px;
    overflow: hidden; /* clips iframe corners */
    background: linear-gradient(145deg, #1a1a1f, #0f0f14);
    padding: 4px;
    box-shadow: 0 0 0 1px rgba(231, 194, 122, 0.2), 0 0 12px rgba(199, 28, 46, 0.2), 0 10px 25px rgba(0, 0, 0, 0.5);
}

    .soundcloud-wrapper iframe {
        display: block;
        width: 100%;
        border-radius: 8px;
    }

