@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN SYSTEM — MENDOZART
   Spacing: 8px base grid
   Palette: Ink (dark) + Ember (orange accent) + Smoke (text)
   ============================================================ */

:root {
    /* ── Colour ── */
    --ink:        #0a0a0a;
    --ink-2:      #111111;
    --ink-3:      #191919;
    --ink-4:      #232323;
    --ink-5:      #2d2d2d;
    --ember:      #f96a2c;
    --ember-2:    #ff8c42;
    --ember-dim:  rgba(249, 106, 44, 0.18);
    --smoke:      #e6e6e6;
    --smoke-2:    #9a9a9a;
    --smoke-3:    #585858;
    --smoke-4:    #2a2a2a;
    --wire:       rgba(255, 255, 255, 0.07);
    --wire-2:     rgba(255, 255, 255, 0.04);

    /* ── Ambient Glow Colors ── */
    --glow-orange: rgba(249, 106, 44, 0.16);
    --glow-violet: rgba(138, 43, 226, 0.12);
    --glow-amber: rgba(255, 140, 66, 0.14);

    /* ── Gradient ── */
    --grad-ember: linear-gradient(135deg, var(--ember), var(--ember-2));

    /* ── Glass material ── */
    --glass-bg:        rgba(255, 255, 255, 0.04);
    --glass-bg-strong: rgba(255, 255, 255, 0.07);
    --glass-border:    rgba(255, 255, 255, 0.07);
    --glass-edge:      rgba(255, 255, 255, 0.06);
    --glass-blur:      blur(20px) saturate(160%);
    --glass-blur-lg:   blur(32px) saturate(180%);

    /* ── Shadow ── */
    --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg:   0 20px 60px rgba(0, 0, 0, 0.55);
    --shadow-ember: 0 6px 24px rgba(249, 106, 44, 0.32);

    /* ── Spacing — 8px grid ── */
    --s-1: 0.5rem;    /* 8px  */
    --s-2: 1rem;      /* 16px */
    --s-3: 1.5rem;    /* 24px */
    --s-4: 2rem;      /* 32px */
    --s-5: 3rem;      /* 48px */
    --s-6: 4rem;      /* 64px */
    --s-7: 6rem;      /* 96px */
    --s-8: 8rem;      /* 128px */

    /* ── Radius ── */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 32px;

    /* ── Type scale ── */
    --text-xs:   0.72rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.375rem;
    --text-2xl:  1.75rem;
    --text-3xl:  2.25rem;
    --text-4xl:  3rem;
    --text-5xl:  4rem;
    --text-6xl:  5.5rem;

    /* ── Motion ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.22s var(--ease-out);
    --transition-base: 0.22s var(--ease-out);

    /* ── Layout ── */
    --header-height: 90px;
    --container-max: 1200px;
    --container-pad: 24px;

    /* Legacy compat */
    --primary-color:    var(--ember);
    --secondary-color:  var(--ember-2);
    --dark-bg:          var(--ink);
    --dark-secondary:   var(--ink-3);
    --dark-tertiary:    var(--ink-5);
    --text-light:       var(--smoke);
    --text-muted:       var(--smoke-2);
    --text-dark:        var(--smoke-3);
    --border-color:     var(--smoke-4);
    --border-subtle:    var(--wire);
    --gradient-primary: var(--grad-ember);
    --radius-sm: var(--r-sm);
    --radius-md: var(--r-md);
    --radius-lg: var(--r-lg);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Roboto', system-ui, sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 700;
}

body {
    font-family: 'Roboto', system-ui, sans-serif;
    background: var(--ink);
    color: var(--smoke);
    line-height: 1.65;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Container ── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ── Section label (small caps above titles) ── */
.section-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ember);
    margin-bottom: var(--s-1);
}

/* ── Section title ── */
.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--smoke);
    margin: 0 0 var(--s-5);
    text-align: center;
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--grad-ember);
    border-radius: 2px;
    margin: var(--s-2) auto 0;
}

/* ── Divider ── */
.divider {
    width: 100%;
    height: 1px;
    background: var(--wire);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.03em;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.btn:active { transform: scale(0.97) !important; }

/* Primary — ember glass */
.btn-primary {
    background: linear-gradient(135deg, rgba(249,106,44,0.88), rgba(255,140,66,0.88));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border-color: rgba(249,140,80,0.4);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 4px 18px rgba(249,106,44,0.28);
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: 0.8s;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--ember), var(--ember-2));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        0 6px 26px rgba(249,106,44,0.42);
    transform: translateY(-2px);
    color: #fff;
}
.btn-primary:hover::after {
    animation: shimmer 1.2s var(--ease-out) infinite;
}

/* Secondary — frosted glass */
.btn-secondary {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.btn-secondary:hover {
    background: rgba(249,106,44,0.82);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 6px 22px rgba(249,106,44,0.35);
}

.btn-full { width: 100%; }

/* ── Scroll-to-top ── */
.scroll-to-top {
    position: fixed;
    bottom: var(--s-4);
    right: var(--s-4);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    color: rgba(255,255,255,0.65);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow-md);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    z-index: 900;
    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover {
    background: rgba(249,106,44,0.82);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), var(--shadow-ember);
}

/* ── Neon logo text ── */
.tattoo-neon {
    font-family: 'UnifrakturCook', 'Creepster', Verdana, sans-serif;
    color: #c44c00;
    text-shadow:
        0 0 4px rgba(255,145,0,0.7),
        0 0 12px rgba(255,98,0,0.45),
        0 0 24px rgba(255,98,0,0.2);
    letter-spacing: 2px;
    font-weight: bold;
    padding: 0.1em 0.3em;
    animation: neon-pulse 2.5s ease-in-out infinite alternate;
    display: inline-block;
}

/* ── Fade-in on scroll ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ── Keyframes ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes bounce {
    0%, 100%   { transform: translateX(-50%) translateY(0); }
    40%        { transform: translateX(-50%) translateY(-7px); }
    65%        { transform: translateX(-50%) translateY(-3px); }
}
@keyframes neon-pulse {
    from {
        text-shadow:
            0 0 4px rgba(255,145,0,0.7),
            0 0 12px rgba(255,98,0,0.45);
    }
    to {
        text-shadow:
            0 0 6px rgba(255,145,0,0.9),
            0 0 18px rgba(255,98,0,0.65),
            0 0 32px rgba(255,98,0,0.3);
    }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 106, 44, 0.4); }
    50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px 4px rgba(249, 106, 44, 0.7); }
}
@keyframes shimmer {
    0% { left: -60%; }
    100% { left: 125%; }
}
@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes revealText {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
}
