/* ============================================
   Beautiful Poison Tattoo — Stylesheet
   Palette: Emerald Green (#047857) + Cream (#FDF8F0)
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-900: #022c22;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream:       #FDF8F0;
    --cream-dark:  #f5efe6;
    --cream-light: #fefcf9;
    --text-dark:   #1a1a1a;
    --text-mid:    #3d3d3d;
    --text-light:  #6b6b6b;
    --text-white:  #f8f8f8;
    --line:        rgba(4, 120, 87, 0.15);
    --line-strong: rgba(4, 120, 87, 0.3);
    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Inter', -apple-system, sans-serif;
    --container:   1200px;
    --radius:      4px;
    --transition:  0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--emerald-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--emerald-700);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--emerald-600);
    color: var(--text-white);
    border-color: var(--emerald-600);
}

.btn-primary:hover {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-600);
    border: 1.5px solid var(--emerald-600);
    border-radius: var(--radius);
    padding: 4px 8px;
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.main-nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-600);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--emerald-600);
}

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

.nav-cta {
    background-color: var(--emerald-600);
    color: var(--text-white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    letter-spacing: 0.08em;
}

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

.nav-cta:hover {
    background-color: var(--emerald-700);
    color: var(--text-white) !important;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--emerald-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2, 44, 34, 0.6) 0%,
        rgba(2, 44, 34, 0.75) 50%,
        rgba(2, 44, 34, 0.88) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--emerald-100);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-100);
}

.hero-sub {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(253, 248, 240, 0.8);
    margin-bottom: 40px;
    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: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(253, 248, 240, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   Line Divider
   ============================================ */
.line-divider {
    padding: 0 24px;
}

.line-divider .line {
    height: 1px;
    background: var(--line);
    width: 100%;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 120px 0;
    background-color: var(--cream-light);
}

.services .container {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.service-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(4, 120, 87, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--emerald-600);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background-color: var(--cream);
}

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

.about-image {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1.5px solid var(--emerald-600);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--emerald-600);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 120px 0;
    background-color: var(--cream-light);
}

.gallery .container {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 64px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 44, 34, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-note {
    margin-top: 32px;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 120px 0;
    background-color: var(--cream);
}

.faq .container {
    max-width: 800px;
}

.faq .section-title {
    text-align: center;
    margin-bottom: 56px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--emerald-600);
}

.faq-toggle {
    flex-shrink: 0;
    color: var(--emerald-600);
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.8;
    padding-right: 40px;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 120px 0;
    background-color: var(--emerald-900);
}

.contact .section-eyebrow {
    color: var(--emerald-100);
}

.contact .section-title {
    color: var(--text-white);
}

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

.contact-info p {
    font-size: 1rem;
    color: rgba(253, 248, 240, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    color: var(--emerald-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item .contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-100);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--text-white);
}

.contact-item a:hover {
    color: var(--emerald-400);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 48px;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-100);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(253, 248, 240, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--emerald-900);
    color: var(--text-white);
}

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

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

.form-success svg {
    color: var(--emerald-500);
    margin: 0 auto 16px;
}

.form-success p {
    font-size: 1rem;
    color: var(--text-white);
}

.contact-form.hidden {
    display: none;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--emerald-900);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding: 80px 24px;
}

.footer-brand .logo-mark {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand .footer-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(253, 248, 240, 0.5);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(253, 248, 240, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a,
.footer-contact span {
    font-size: 0.875rem;
    color: rgba(253, 248, 240, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(253, 248, 240, 0.35);
}

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

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

/* Default state: always visible (JS progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 248, 240, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        padding: 24px;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav a {
        font-size: 1rem;
    }

    .nav-cta {
        display: inline-block;
        text-align: center;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 32px 24px;
    }

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

    .about-image img {
        height: 400px;
    }

    .about-stats {
        gap: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 24px;
    }
}

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

    .hero-content {
        padding: 100px 16px 60px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}
