﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    background: #000;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    position: relative;
    font-family: Georgia, serif;
    color: #d7d7d7;
    background: transparent;
}

/* ACTUAL VISUAL BACKGROUND */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient( circle at top, #5a1f28 0%, #2a0d12 45%, #120507 75%, #000000 100% );
    z-index: -1;
}

/* =============================
              FOG
============================= */

.fog {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient( circle at 20% 30%, rgba(255,255,255,.03), transparent 35% ), radial-gradient( circle at 80% 70%, rgba(255,255,255,.02), transparent 40% );
}

/* =============================
            CONTENT
============================= */

.content {
    width: min(950px, 92%);
    margin: auto;
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.hero {
    text-align: center;
    margin-bottom: 140px;
}

.hero h1 {
    font-size: clamp(4rem, 8vw, 6rem);
    letter-spacing: 5px;
    font-weight: 300;
    text-transform: uppercase;
    color: #050505;
    text-shadow: 0 0 1px rgba(255,255,255,.02), 0 0 25px rgba(0,0,0,.6);
}

.hero p {
    margin-top: 12px;
    color: #9a9a9a;
    letter-spacing: 3px;
}

.hero p:first-of-type {
    font-size: 1.35rem;
    font-weight: 400;
}

.hero p:last-of-type {
    font-size: 1.05rem;
    margin-top: 8px;
}

.contact-link a {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: inherit;
    transition: all 0.25s ease;
}

.contact-link a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

/* =============================
             Gallery Headings
    ============================= */
.gallery-heading {
    text-align: center;
    margin: 120px 0 50px;
}

.gallery-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 3px;
    color: #d7b46a;
    margin-bottom: 12px;
}

.gallery-heading p {
    color: #9f9f9f;
    letter-spacing: 1px;
}

.sold-heading h2 {
    color: #8d7a7a;
}

/* =============================
          ARTWORK
============================= */

.art-piece {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 90px 0;
}

.art-frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #140b0d;
    border: 1px solid rgba(255,220,220,.12);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 0 60px rgba(0,0,0,.65);
    text-align: center;
}

    /* Artwork image sizing */
    .art-frame img {
        display: block;
        max-width: 50vw;
        max-height: 50vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 6px;
        cursor: zoom-in;
    }

/* =============================
         ART PLAQUES
============================= */
.art-plaque {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.art-title {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 26px;
    background: linear-gradient( to bottom, #8a6a2f, #5e461d );
    color: #e7d7a5;
    border: 1px solid #3b2a12;
    border-radius: 4px;
    font-size: .95rem;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,.7);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.15), inset 0 -1px 1px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.45);
}

/* Decorative brass brads */
.art-title::before,
.art-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: radial-gradient( circle at 30% 30%, #f2d98a, #8b6928 70%, #4a3512 );
    box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.6);
}

.art-title::before {
    left: 10px;
}

.art-title::after {
    right: 10px;
}

.art-size {
font-size: .82rem;
letter-spacing: 1px;
color: #a79b8a;
text-transform: uppercase;
opacity: .9;
}

/* =============================
        GLOBAL IMAGE ZOOM
============================= */

.zoom-target {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: rgba(0,0,0,.85);
    z-index: 9999;
}

    .zoom-target:target {
        display: flex;
    }

    .zoom-target img {
        max-width: 99vw;
        max-height: 99vh;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 0 80px rgba(0,0,0,.9);
        cursor: zoom-out;
    }

/* =============================
         EVENT PANELS
============================= */

.event-piece {
    display: flex;
    justify-content: center;
    margin: 110px 0;
}

.event-frame {
    width: min(100%, 1100px);
    margin: 50px auto;
    padding: 28px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient( to bottom, rgba(40,15,15,.82), rgba(18,5,5,.88) );
    border: 3px solid #4d2a2a;
    border-radius: 14px;
    box-shadow: 0 0 60px rgba(0,0,0,.65), inset 0 0 20px rgba(255,255,255,.03);
}

/* subtle inner glow */
.event-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at top, rgba(255,255,255,.04), transparent 45% );
    pointer-events: none;
}

.event-label {
    font-size: .8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #8e6a70;
    margin-bottom: 18px;
}

.event-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #d6d0d0;
    margin-bottom: 14px;
    font-weight: 300;
    letter-spacing: 2px;
}

.event-host {
    color: #9a9a9a;
    font-size: 1rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.event-details {
    color: #b8b0b0;
    line-height: 1.9;
    font-size: 1.05rem;
}

    .event-details p {
        margin-bottom: 18px;
    }

.event-location {
    color: #c7b2b2;
    font-style: italic;
}

/* =============================
      MACABRE MARKET GALLERY
============================= */

.event-header {
    text-align: center;
    margin-bottom: 28px;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #d7b46a;
    text-shadow: 2px 2px 6px rgba(0,0,0,.8);
}

.event-gallery {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 22px;
}

.event-gallery img {
    width: 300px;
    max-width: 100%;
    border: 8px solid #2c1a1a;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,.5);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: zoom-in;
}

.event-gallery img:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.65);
}

/* =============================
    Informational Frame
============================= */
.informational-frame {
    max-width: 80vw;
    width: calc(100% - 32px);
    margin: 50px auto;
    padding: 28px;
    text-align: center;
    background: linear-gradient( to bottom, rgba(40,15,15,.82), rgba(18,5,5,.88) );
    border: 3px solid #4d2a2a;
    border-radius: 14px;
    box-shadow: 0 0 60px rgba(0,0,0,.65), inset 0 0 20px rgba(255,255,255,.03);
    position: relative;
    overflow: hidden;
}

.informational-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at top, rgba(255,255,255,.04), transparent 45% );
    pointer-events: none;
}

/* =============================
             RAVENS
============================= */

.raven {
    position: fixed;
    z-index: 3;
    pointer-events: none;
    opacity: .70;
    will-change: transform;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

    .raven img {
        width: 100%;
        height: auto;
        display: block;
        filter: brightness(.22) contrast(1.1) drop-shadow(0 0 12px rgba(0,0,0,.25));
    }

/* =============================
        RAVEN VARIATIONS
============================= */

.r1 {
    width: 220px;
    animation: fly-diagonal-1 27s linear infinite;
}

.r2 {
    width: 280px;
    animation: fly-diagonal-2 34s linear infinite;
}

.r3 {
    width: 170px;
    animation: fly-horizontal 22s linear infinite;
}

.r4 {
    width: 190px;
    animation: fly-high 18s linear infinite;
}

/* =============================
          FLIGHT PATHS
============================= */

@keyframes fly-horizontal {

    0% {
        transform: translate(-320px, 75vh) rotate(-2deg);
    }

    25% {
        transform: translate(25vw, 70vh) rotate(2deg);
    }

    50% {
        transform: translate(55vw, 73vh) rotate(-1deg);
    }

    75% {
        transform: translate(85vw, 69vh) rotate(3deg);
    }

    100% {
        transform: translate(140vw, 72vh) rotate(-2deg);
    }
}

@keyframes fly-diagonal-1 {

    0% {
        transform: translate(-320px, 20vh) rotate(-3deg);
    }

    30% {
        transform: translate(30vw, 35vh) rotate(2deg);
    }

    60% {
        transform: translate(70vw, 28vh) rotate(-2deg);
    }

    100% {
        transform: translate(140vw, 45vh) rotate(1deg);
    }
}

@keyframes fly-diagonal-2 {

    0% {
        transform: translate(120vw, 60vh) scaleX(-1) rotate(-3deg);
    }

    25% {
        transform: translate(80vw, 55vh) scaleX(-1) rotate(1deg);
    }

    50% {
        transform: translate(45vw, 65vh) scaleX(-1) rotate(-2deg);
    }

    100% {
        transform: translate(-340px, 35vh) scaleX(-1) rotate(2deg);
    }
}

@keyframes fly-high {

    0% {
        transform: translate(120vw, 12vh) scaleX(-1) rotate(-6deg);
    }

    20% {
        transform: translate(85vw, 22vh) scaleX(-1) rotate(4deg);
    }

    40% {
        transform: translate(55vw, 10vh) scaleX(-1) rotate(-3deg);
    }

    60% {
        transform: translate(30vw, 30vh) scaleX(-1) rotate(5deg);
    }

    80% {
        transform: translate(5vw, 18vh) scaleX(-1) rotate(-4deg);
    }

    100% {
        transform: translate(-320px, 35vh) scaleX(-1) rotate(2deg);
    }
}

/* =============================
            MOBILE
============================= */

@media (max-width:768px) {

    .content {
        padding: 70px 0;
    }

    .hero {
        margin-bottom: 90px;
    }

        .hero h1 {
            font-size: clamp(2.5rem, 10vw, 3.8rem);
            letter-spacing: 1px;
            line-height: 1.05;
            padding: 0 10px;
        }

    .art-frame {
        width: fit-content;
        margin: 0 auto;
        padding: 8px;
        border-radius: 10px;
        box-shadow: 0 0 35px rgba(0,0,0,.55);
    }

        .art-frame img {
            max-width: 50vw;
            max-height: 50vh;
        }

    .art-title {
        font-size: .9rem;
        padding: 7px 22px;
    }

        .art-title::before,
        .art-title::after {
            width: 7px;
            height: 7px;
        }

    .event-piece {
        margin: 80px 0;
    }

    .event-frame {
        padding: 18px;
    }

    .event-header {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .event-details {
        font-size: .98rem;
        line-height: 1.75;
    }

    .event-gallery {
        gap: 16px;
    }

        .event-gallery img {
            width: 100%;
            max-width: 340px;
        }

    .r1 {
        width: 120px;
    }

    .r2 {
        width: 170px;
    }

    .r3 {
        width: 100px;
    }

    .r4 {
        width: 90px;
    }
}
