@import url("variables.css");

/* ========================================== BUTTONS ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: 2px solid var(--yellow);
    border-radius: 999px;
    background: transparent;
    color: var(--yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    transition: all .35s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--yellow);
    color: black;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 212, 0, .25);
}

.btn.secondary {
    border-color: white;
    color: white;
}

.btn.secondary:hover {
    background: white;
    color: black;
}

/* ========================================== CARDS ========================================== */
.card {
    background: #171717;
    border-radius: 16px;
    overflow: hidden;
    transition: .35s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

/* ========================================== RELEASE CARD ========================================== */
.release-image {
    position: relative;
    overflow: hidden;
}

.release-image img {
    transition: .45s;
}

.release:hover .release-image img {
    transform: scale(1.08);
}

.release-content {
    padding: 2rem;
}

.release-content h3 {
    margin-bottom: .5rem;
}

.release-meta {
    color: var(--grey);
    margin-bottom: 1.5rem;
    font-size: .9rem;
}

/* ========================================== PRESS DOWNLOADS ========================================== */
.press-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.press-card h3 {
    margin-bottom: 1rem;
}

.press-card p {
    flex: 1;
    margin-bottom: 2rem;
}

.download {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--yellow);
    font-weight: 600;
}

.download:hover {
    transform: translateX(6px);
}

/* ========================================== GIG BUTTON ========================================== */
.ticket {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    background: var(--yellow);
    color: black;
    font-weight: 700;
    transition: .3s;
}

.ticket:hover {
    transform: scale(1.05);
}

/* ========================================== EMBEDS ========================================== */
.embed {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.embed iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
}

/* ========================================== IMAGE PLACEHOLDERS ========================================== */
.placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #222, #111);
    display: grid;
    place-items: center;
    color: #666;
    border-radius: 14px;
}

/* ========================================== TAGS ========================================== */
.tag {
    display: inline-block;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: #202020;
    color: var(--yellow);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ========================================== QUOTES ========================================== */
.quote {
    position: relative;
    padding-left: 2rem;
    font-style: italic;
}

.quote::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--yellow);
    line-height: 1;
}

/* ========================================== TABLES ========================================== */
table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    border-bottom: 2px solid var(--yellow);
}

th {
    text-align: left;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #222;
}

/* ========================================== DIVIDERS ========================================== */
.divider {
    width: 80px;
    height: 4px;
    background: var(--yellow);
    margin: 2rem 0;
}

/* ========================================== ICON LINKS ========================================== */
.icon-link {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #181818;
    transition: .3s;
}

.icon-link:hover {
    background: var(--yellow);
    color: black;
    transform: translateY(-4px);
}

/* ========================================== LIGHTBOX ========================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .94);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 9999;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    cursor: pointer;
}

/* ========================================== FORM ========================================== */
input,
textarea {
    width: 100%;
    padding: 1rem;
    background: #151515;
    border: 1px solid #333;
    color: white;
    border-radius: 12px;
    transition: .3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 212, 0, .15);
}

textarea {
    resize: vertical;
    min-height: 180px;
}

/* ========================================== PRODUCTION LIGHTBOX ========================================== */
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 82vh;
    width: auto;
    object-fit: contain;
    transition: opacity .2s ease, transform .2s ease;
}

.lightbox-image.changing {
    opacity: 0;
    transform: scale(.98);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(0, 0, 0, .55);
    color: white;
    cursor: pointer;
    z-index: 10;
    display: grid;
    place-items: center;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--yellow);
    color: #000;
}

.lightbox-close {
    top: 25px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 70px;
    font-size: 2rem;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-caption {
    margin-top: 1rem;
    color: white;
    text-align: center;
    font-size: .9rem;
    max-width: 700px;
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #aaa;
    font-size: .85rem;
    letter-spacing: .1em;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width:600px) {

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 55px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }
}

/* ==========================================
   CUSTOM CURSOR
========================================== */

body.js-ready {

    cursor:pointer;

}

body.js-ready a,
body.js-ready button,
body.js-ready input,
body.js-ready textarea,
body.js-ready select {

    cursor:pointer;

}

.custom-cursor {

    position:fixed;

    top:0;
    left:0;

    width:34px;
    height:34px;

    border:2px solid var(--yellow);

    border-radius:50%;

    pointer-events:none;

    z-index:20000;

    opacity:0;

    transform:
        translate(-50%,-50%)
        scale(1);

    transition:
        width .25s ease,
        height .25s ease,
        border-color .25s ease,
        background-color .25s ease,
        opacity .25s ease;

}

.custom-cursor.visible {

    opacity:1;

}

.custom-cursor.hover {

    width:58px;
    height:58px;

    background:
        rgba(255,212,0,.12);

    border-color:
        var(--yellow-light);

}

.custom-cursor-dot {

    position:fixed;

    top:0;
    left:0;

    width:5px;
    height:5px;

    background:var(--yellow);

    border-radius:50%;

    pointer-events:none;

    z-index:20001;

    opacity:0;

    transition:
        opacity .2s ease;

}

.custom-cursor-dot.visible {

    opacity:1;

}

/*
   Don't use the custom cursor if the
   device doesn't have a precise pointer.
*/

@media (pointer:coarse){

    body.js-ready {

        cursor:auto;

    }

    .custom-cursor,
    .custom-cursor-dot {

        display:none;

    }

}

/* ==========================================
   GIG EMPTY STATE
========================================== */

.gig-empty {

    text-align:center;

    padding:4rem 2rem;

    border:1px solid #292929;

    border-radius:14px;

    background:#111;

}

.gig-empty p {

    margin:0 auto .5rem;

    color:white;

    font-weight:600;

}

.gig-empty span {

    color:var(--grey);

    font-size:.9rem;

}