/* ============================================================
   Tattoo Iași Denis — Dark & Gold Tattoo Studio Theme
   ============================================================ */

:root {
    --black: #0a0908;
    --black-soft: #121110;
    --black-card: #171513;
    --gold: #c9a24b;
    --gold-light: #e8cd82;
    --gold-dark: #8a6d2e;
    --cream: #f3ece0;
    --gray: #b8b0a4;
    --gray-dim: #7a7369;
    --border: rgba(201, 162, 75, 0.18);
    --font-display: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;
    --radius: 14px;
    --shadow-gold: 0 10px 40px rgba(201, 162, 75, 0.12);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--cream);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow { max-width: 820px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--gold-light);
    margin: 0 0 14px;
    letter-spacing: 0.4px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { color: var(--gray); margin: 0 0 14px; }

.section { padding: 84px 0; }
.section-eyebrow, .eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}
.section-title { margin-bottom: 44px; }
.section-cta { text-align: center; margin-top: 44px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
    color: #14110a;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(201,162,75,0.28); }
.btn-outline {
    border-color: var(--border);
    color: var(--gold-light);
    background: transparent;
}
.btn-outline:hover { background: rgba(201,162,75,0.08); border-color: var(--gold); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(10, 9, 8, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 48px; width: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); color: var(--gold-light); font-weight: 700; font-size: 1.05rem; letter-spacing: 1px; }
.brand-sub { font-size: 0.68rem; color: var(--gray-dim); text-transform: uppercase; letter-spacing: 1.5px; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 2px; width: 0;
    background: var(--gold);
    transition: width 0.25s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold-light); }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.btn-nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold); color: #14110a !important;
    padding: 10px 20px; border-radius: 100px; font-weight: 600;
}
.btn-nav-cta svg { width: 16px; height: 16px; }
.btn-nav-cta::after { display: none; }
.btn-nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--gold-light); transition: all 0.25s ease; }

/* Hero */
.hero {
    position: relative;
    padding: 140px 0 110px;
    overflow: hidden;
    text-align: center;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('../images/site/hero-cover.jpg');
    background-size: cover;
    background-position: center 25%;
    z-index: -2;
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(201,162,75,0.18), transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(201,162,75,0.10), transparent 55%),
        linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.78) 55%, rgba(10,9,8,0.95) 100%);
    z-index: -1;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-subtitle { font-size: 1.1rem; max-width: 560px; margin: 0 auto 34px; }
.hero-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-locations { display: flex; justify-content: center; gap: 26px; color: var(--gray-dim); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.hero-locations span { display: inline-flex; align-items: center; gap: 6px; }
.hero-locations svg { width: 16px; height: 16px; color: var(--gold); }

/* Grids */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.icon-badge {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(201,162,75,0.08);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--gold);
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge-lg { width: 68px; height: 68px; }
.icon-badge-lg svg { width: 34px; height: 34px; }

.card-why, .card-service {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card-why:hover, .card-service:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.card-service-lg { display: flex; flex-direction: column; }
.service-cta {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--gold-light); font-weight: 600; font-size: 0.88rem;
    padding-top: 12px;
}
.service-cta svg { width: 18px; height: 18px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid-full { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .gallery-grid, .gallery-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid, .gallery-grid-full { grid-template-columns: 1fr; } }

.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(10,9,8,0.92), transparent);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    transform: translateY(6px);
    opacity: 0;
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); opacity: 1; }
.gallery-item.hidden { display: none; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
    background: transparent; border: 1px solid var(--border); color: var(--gray);
    padding: 9px 20px; border-radius: 100px; cursor: pointer; font-size: 0.85rem;
    transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: #14110a; font-weight: 600; }

.empty-state { text-align: center; padding: 40px 0; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(6,5,4,0.94);
    display: none;
    align-items: center; justify-content: center;
    flex-direction: column;
    padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 92vw; border-radius: 10px; border: 1px solid var(--border); }
.lightbox p { color: var(--gold-light); margin-top: 16px; text-align: center; }
.lightbox-close {
    position: absolute; top: 22px; right: 30px;
    background: none; border: none; color: var(--gold-light);
    font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* Page hero */
.page-hero { padding: 130px 0 60px; text-align: center; }
.page-hero-text { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-images img { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 3/4; object-fit: cover; }
.about-images img:first-child { margin-top: 30px; }
.about-quote {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.3rem;
    border-left: 3px solid var(--gold);
    padding-left: 20px;
    margin: 22px 0;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-images img:first-child { margin-top: 0; } }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-step { position: relative; padding: 30px 22px; background: var(--black-card); border: 1px solid var(--border); border-radius: var(--radius); }
.process-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); color: var(--gold-dark); font-size: 1.6rem; opacity: 0.5; }
@media (max-width: 980px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #14110a, #0a0908); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band-inner { text-align: center; max-width: 640px; margin: 0 auto; }

.note-band { padding: 40px 0; }
.note-band-inner {
    display: flex; align-items: center; gap: 22px;
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px 32px; max-width: 820px; margin: 0 auto;
}
.note-band-inner .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.note-band-inner p { margin: 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: none; border: none; text-align: left;
    padding: 22px 0; cursor: pointer; color: var(--gold-light); font-size: 1.05rem; font-weight: 600;
    font-family: var(--font-body);
}
.faq-toggle { font-size: 1.5rem; color: var(--gold); transition: transform 0.3s ease; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card {
    background: var(--black-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: all 0.3s ease;
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.contact-value { color: var(--gold-light); font-weight: 600; font-size: 0.92rem; }
.contact-info-panel { background: var(--black-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; height: fit-content; }
.footer-locations { list-style: none; padding: 0; margin: 0 0 20px; }
.footer-locations li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--gray); }
.footer-locations svg { width: 16px; height: 16px; color: var(--gold); }
.map-embed { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); margin-top: 16px; filter: grayscale(0.3) invert(0.92) contrast(0.9); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-cards { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--black-soft); border-top: 1px solid var(--border); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { height: 44px; margin-bottom: 14px; }
.footer-brand h3 { margin-bottom: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
    color: var(--gold); transition: all 0.2s ease;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--gold); color: #14110a; }
.footer-col h4 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--gray); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--gray); font-size: 0.9rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--gray-dim); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 900;
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #1ba750);
    display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    animation: pulse-wa 2.6s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Mobile nav */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 490;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.open { display: block; opacity: 1; }

@media (max-width: 940px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        left: auto;
        width: min(85vw, 340px);
        max-width: 100vw;
        height: 100vh;
        background: rgba(10,9,8,0.98);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        gap: 20px;
        z-index: 495;
        visibility: hidden;
        opacity: 0;
        transform-origin: top right;
        transform: scale(0.97);
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .site-nav.open {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
    }
    .site-nav a { width: 100%; font-size: 1.05rem; padding: 10px 0; }
    .btn-nav-cta { margin-top: 10px; width: 100%; justify-content: center; }

    /* Hamburger -> X animation */
    .nav-toggle { position: relative; z-index: 500; }
    .nav-toggle span {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (min-width: 941px) {
    .nav-overlay { display: none !important; }
}
