/* ============================================
   Jay-R Reyes Tattoo Studio — Stylesheet
   Classic & Elegant · Teal + Slate Grey
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-900: #0a3d3d;
    --teal-800: #0D4F4F;
    --teal-700: #1a6b6b;
    --teal-600: #238585;
    --teal-500: #2d9e9e;
    --teal-400: #5bb5b5;
    --teal-100: #d0e8e8;
    --teal-50:  #e8f4f4;

    --slate-950: #0c1520;
    --slate-900: #132030;
    --slate-800: #1e3044;
    --slate-700: #2c4458;
    --slate-600: #4a6274;
    --slate-500: #6b8294;
    --slate-400: #94a8b8;
    --slate-300: #b8c8d4;
    --slate-200: #d4e0e8;
    --slate-100: #e8eff4;
    --slate-50:  #f4f8fa;

    --gold-500: #C9A86E;
    --gold-400: #d4b87e;
    --gold-300: #e0c89e;
    --gold-200: #f0e0c0;
    --gold-100: #f8f0e0;

    --cream: #faf8f5;
    --cream-dark: #f5f0ea;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --easeInOut: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--teal-900);
    margin-bottom: 24px;
    line-height: 1.15;
}

.section-title--light {
    color: #f0f0f0;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    font-style: italic;
    color: var(--slate-600);
    max-width: 560px;
    line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--teal-800);
    color: #f0f0f0;
}

.btn--primary:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 79, 79, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #f0f0f0;
    border: 1px solid rgba(240, 240, 240, 0.4);
}

.btn--ghost:hover {
    border-color: #f0f0f0;
    background: rgba(240, 240, 240, 0.08);
}

.btn--full {
    width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.5s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 18, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 168, 110, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    transition: padding 0.5s var(--ease-out);
}

.navbar.scrolled .nav-container {
    padding: 16px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: 0.05em;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: #f0f0f0;
    letter-spacing: 0.04em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(240, 240, 240, 0.75);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover {
    color: #f0f0f0;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    padding: 10px 24px;
    border: 1px solid rgba(201, 168, 110, 0.5);
    color: var(--gold-400);
    transition: all 0.4s var(--ease-out);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--gold-500);
    color: var(--slate-950);
    border-color: var(--gold-500);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #f0f0f0;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 16, 24, 0.55) 0%,
        rgba(8, 16, 24, 0.45) 40%,
        rgba(8, 16, 24, 0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 300;
    color: #f0f0f0;
    line-height: 1.15;
    margin-bottom: 28px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subheadline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(240, 240, 240, 0.7);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll span {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(240, 240, 240, 0.45);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(201, 168, 110, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---------- Sections ---------- */
.section {
    padding: 120px 0;
}

/* ---------- About ---------- */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
    z-index: -1;
    opacity: 0.5;
}

.about-content {
    padding: 20px 0;
}

.about-body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--slate-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal-800);
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

/* ---------- Artistry ---------- */
.artistry {
    background: var(--slate-950);
}

.artistry-header {
    text-align: center;
    margin-bottom: 72px;
}

.artistry-header .section-subtitle {
    margin: 0 auto;
    color: var(--slate-400);
}

.artistry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.artistry-card {
    background: var(--slate-900);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out);
}

.artistry-card:hover {
    transform: translateY(-6px);
}

.artistry-card-img {
    height: 260px;
    overflow: hidden;
}

.artistry-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.artistry-card:hover .artistry-card-img img {
    transform: scale(1.05);
}

.artistry-card-content {
    padding: 32px 28px;
}

.artistry-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: #f0f0f0;
    margin-bottom: 12px;
}

.artistry-card-desc {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-400);
    line-height: 1.7;
}

/* ---------- Process ---------- */
.process {
    background: var(--cream);
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.process-step {
    position: relative;
    padding-top: 32px;
}

.process-step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--teal-800);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.process-step-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--teal-900);
    margin-bottom: 12px;
}

.process-step-desc {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ---------- Studio ---------- */
.studio {
    background: var(--slate-950);
}

.studio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.studio-content {
    padding: 20px 0;
}

.studio-body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 40px;
}

.studio-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.studio-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.studio-feature-icon {
    width: 22px;
    height: 22px;
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.studio-feature span {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--slate-300);
    line-height: 1.5;
}

.studio-image-group {
    position: relative;
    padding-top: 60px;
}

.studio-image-main {
    border-radius: 2px;
    overflow: hidden;
}

.studio-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.studio-image-secondary {
    position: absolute;
    bottom: 0;
    right: -40px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.studio-image-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ---------- CTA / Contact ---------- */
.cta {
    background: var(--cream-dark);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cta-content {
    padding: 20px 0;
}

.cta-body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--slate-600);
    line-height: 1.8;
}

/* Form */
.cta-form-wrap {
    background: #fff;
    border-radius: 4px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--slate-100);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-600);
}

.form-input,
.form-textarea {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 2px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--teal-600);
    box-shadow: 0 0 0 3px rgba(45, 158, 158, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--slate-400);
    font-style: italic;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 48px;
    height: 48px;
    color: var(--teal-600);
    margin: 0 auto 20px;
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--teal-900);
    margin-bottom: 12px;
}

.form-success-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--slate-950);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: 0.05em;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: #f0f0f0;
    letter-spacing: 0.04em;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-500);
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer-address {
    font-style: normal;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-300);
    line-height: 1.7;
}

.footer-phone,
.footer-email {
    margin-top: 12px;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--slate-300);
}

.footer-phone a,
.footer-email a {
    color: var(--slate-300);
    transition: color 0.3s ease;
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--gold-400);
}

.footer-hours-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: #f0f0f0;
    margin-bottom: 8px;
}

.footer-hours-note {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--slate-500);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
}

.footer-copy {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--slate-600);
    letter-spacing: 0.04em;
}

.footer-location {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate-600);
    font-style: italic;
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .studio-layout,
    .cta-inner {
        gap: 48px;
    }

    .artistry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .studio-image-secondary {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: rgba(10, 18, 26, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .studio-layout,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrap img {
        height: 380px;
    }

    .about-image-accent {
        top: -12px;
        left: -12px;
        right: 12px;
        bottom: 12px;
    }

    .artistry-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .studio-image-group {
        padding-top: 0;
    }

    .studio-image-main img {
        height: 320px;
    }

    .studio-image-secondary {
        position: relative;
        right: 0;
        margin-top: -60px;
        margin-left: auto;
    }

    .studio-image-secondary img {
        height: 180px;
    }

    .cta-form-wrap {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-scroll {
        bottom: 24px;
    }
}
