/* ===== KNEER TATTOO CORE VARIABLES ===== */
:root {
    --accent-gold: #c5a059;
    --accent-gold-glow: rgba(197, 160, 89, 0.3);
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Syncopate', sans-serif;
}

/* ===== BASE & DYNAMIC BACKGROUND ===== */
body {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-main);
    overflow-x: hidden;
    background: linear-gradient(-45deg, #050505, #0f0f0f, #1a160f, #050505);
    background-size: 400% 400%;
    animation: gradientMove 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Luxury Vignette Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.9));
    pointer-events: none;
    z-index: 5;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6) contrast(1.1);
    will-change: opacity, transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 15px;
    margin: 0;
    color: var(--accent-gold);
    text-shadow: 0 0 30px var(--accent-gold-glow);
    text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 20px;
    position: relative;
    z-index: 10;
}

/* ===== IMAGE WRAP ===== */
.img-wrap {
    overflow: hidden;
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.4s ease;
}

.img-wrap img {
    width: 100%;
    display: block;
    filter: grayscale(0.5) brightness(0.8);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--accent-gold);
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.4s ease;
    pointer-events: none;
}

.img-wrap:hover img {
    transform: scale(1.05);
    filter: grayscale(0) brightness(1);
}

.img-wrap:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* ===== ANIMATIONS & UTILITIES ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.gold-text {
    color: var(--accent-gold);
    font-family: var(--font-display);
    letter-spacing: 2px;
}

.cursor-trail {
    display: none;
}

/* ===== GLOBAL TEXT OVERRIDES ===== */
.text-muted, .lead, footer, .hero-subtitle {
    color: #d1d1d1 !important;
    --bs-text-opacity: 1 !important;
    opacity: 1 !important;
}

.text-muted.small, .text-muted p {
    color: #ffffff !important;
}

/* ===== PURE ART SHOWCASE ===== */
.pure-art-showcase {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 460px;
    overflow: hidden;
    background: #000000; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 33% center; 
    filter: grayscale(70%) contrast(120%) brightness(45%) sepia(20%);
    animation: slowBreath 22s ease-in-out infinite alternate;
    transition: filter 1s ease, transform 1s ease;
    display: block;
    z-index: 1;
}

.pure-art-showcase:hover .art-img {
    filter: grayscale(10%) contrast(115%) brightness(80%) sepia(8%);
    transform: scale(1.06);
}

@keyframes slowBreath {
    0%   { transform: scale(1); }
    100% { transform: scale(1.12); }
}

.art-fade-sides {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        var(--bg-dark) 0%,
        transparent 18%,
        transparent 82%,
        var(--bg-dark) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.art-fade-vertical {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        var(--bg-dark) 0%,
        rgba(10, 10, 10, 0.4) 15%,
        transparent 30%,
        transparent 70%,
        rgba(10, 10, 10, 0.4) 85%,
        var(--bg-dark) 100%
    );
    z-index: 3;
    pointer-events: none;
}

.art-gold-tint {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(197,160,89,0.06) 0%, transparent 70%);
    z-index: 4;
    pointer-events: none;
    transition: background 0.8s ease;
}

.pure-art-showcase:hover .art-gold-tint {
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(197,160,89,0.13) 0%, transparent 70%);
}

.art-scanlines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.08) 2px,
        rgba(0,0,0,0.08) 4px
    );
    z-index: 5;
    pointer-events: none;
    opacity: 0.5;
}

.bracket {
    position: absolute;
    width: 36px;
    height: 36px;
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.pure-art-showcase:hover .bracket { opacity: 1; }

.bracket-tl { top: 20px; left: 20px; border-top: 1px solid var(--accent-gold); border-left: 1px solid var(--accent-gold); }
.bracket-tr { top: 20px; right: 20px; border-top: 1px solid var(--accent-gold); border-right: 1px solid var(--accent-gold); }
.bracket-bl { bottom: 20px; left: 20px; border-bottom: 1px solid var(--accent-gold); border-left: 1px solid var(--accent-gold); }
.bracket-br { bottom: 20px; right: 20px; border-bottom: 1px solid var(--accent-gold); border-right: 1px solid var(--accent-gold); }

.showcase-label {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    z-index: 7;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}

.pure-art-showcase:hover .showcase-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.showcase-label span {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 5px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    margin: 8px auto 0;
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

/* ===== PHONE RESPONSIVENESS OVERRIDE ===== */
@media (max-width: 768px) {
    .pure-art-showcase {
        height: 45vh; /* Shortens the display section height slightly so it fits portrait phone screens better */
        min-height: 320px;
    }
    .art-img {
        object-fit: contain; /* Forces the whole image asset to shrink and fit without clipping */
        object-position: center center; /* Standard centers it perfectly since contain scales both axis */
        width: 90%; /* Leaves a beautiful subtle margin on the sides */
        height: 90%;
    }
    /* Gently reduces the side fade on mobile so it doesn't cover up the machine lines */
    .art-fade-sides {
        background: linear-gradient(to right,
            var(--bg-dark) 0%,
            transparent 8%,
            transparent 92%,
            var(--bg-dark) 100%
        );
    }
}