/* ========================================
   Just Peachy Tattoos — Stylesheet
   Palette: Forest Green (#3A5A40) + Off-White (#F4F1DE)
   Fonts: Playfair Display + Nunito
======================================== */

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

:root {
    --green-dark: #2D4A36;
    --green: #3A5A40;
    --green-light: #52796F;
    --green-pale: #84A98C;
    --peach: #F4A261;
    --peach-light: #FDEBD0;
    --cream: #F4F1DE;
    --cream-dark: #E8E4D0;
    --white: #FEFAE0;
    --text: #2C3E2D;
    --text-light: #5A6B5C;
    --shadow-sm: 0 2px 8px rgba(58, 90, 64, 0.08);
    --shadow-md: 0 4px 20px rgba(58, 90, 64, 0.12);
    --shadow-lg: 0 8px 40px rgba(58, 90, 64, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

em {
    font-style: italic;
    color: var(--green);
}

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

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

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-cta {
    background: var(--peach);
    color: #fff;
    border-color: var(--peach);
    box-shadow: 0 4px 16px rgba(244, 162, 97, 0.4);
}
.btn-cta:hover {
    background: #e8913f;
    border-color: #e8913f;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(244, 162, 97, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn-outline:hover {
    background: var(--green);
    color: var(--cream);
    transform: translateY(-2px);
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(244, 241, 222, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(58, 90, 64, 0.08);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(244, 241, 222, 0.96);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--green);
}

.logo-light { color: var(--cream); }
.logo-light:hover { color: var(--cream); }

.logo-icon { flex-shrink: 0; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: all var(--transition);
}

.nav-links a:hover {
    background: rgba(58, 90, 64, 0.08);
    color: var(--green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--green);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--green) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-inner {
    flex: 1;
    max-width: 580px;
    padding-right: 40px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(58, 90, 64, 0.08);
    color: var(--green);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--green-dark);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-title em {
    color: var(--peach);
    font-style: italic;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--green);
}

.hero-visual {
    flex: 1;
    max-width: 520px;
    position: relative;
    min-height: 500px;
}

.hero-img-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero-img-card--1 {
    width: 300px;
    height: 380px;
    top: 0;
    right: 40px;
}

.hero-img-card--2 {
    width: 260px;
    height: 200px;
    bottom: 20px;
    right: 0;
}

.hero-img-card-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 250, 224, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--green);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--green-light);
    animation: bounce 2s infinite;
}

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

/* ========== SECTION COMMON ========== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--peach);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--green-dark);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ========== SERVICES ========== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(58, 90, 64, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 12px;
}

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

/* ========== ABOUT ========== */
.about {
    padding: 100px 0;
    background: var(--cream);
}

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

.about-images {
    position: relative;
    min-height: 560px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--cream);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    top: 40px;
    right: -10px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.about-floating-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--green-dark);
}

.about-floating-card span {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 24px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(58, 90, 64, 0.1);
    border-bottom: 1px solid rgba(58, 90, 64, 0.1);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--green);
    line-height: 1;
    margin-bottom: 4px;
}

.stat span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    background: rgba(58, 90, 64, 0.15);
    align-self: stretch;
}

/* ========== GALLERY ========== */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

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

.gallery-item:nth-child(2) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 4/5; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 74, 54, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay span {
    color: var(--cream);
    font-weight: 700;
    font-size: 1rem;
}

.gallery-cta {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
}

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

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(58, 90, 64, 0.1);
}

.faq-btn {
    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: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-dark);
    transition: color var(--transition);
}

.faq-btn:hover { color: var(--peach); }

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--green-light);
}

.faq-btn[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

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

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========== CONTACT ========== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    color: var(--cream);
}

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

.contact .section-label { color: var(--peach); }
.contact .section-title { color: var(--cream); }
.contact .section-sub { color: rgba(244, 241, 222, 0.7); margin-bottom: 40px; }

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(244, 241, 222, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--peach);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    color: var(--cream);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-detail a:hover { color: var(--peach); text-decoration: underline; }

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ========== FORM ========== */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text);
}

.contact-form h3 {
    font-size: 1.6rem;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--green);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(58, 90, 64, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(58, 90, 64, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--green-pale);
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 32px;
    background: rgba(58, 90, 64, 0.06);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.form-success strong {
    color: var(--green);
    font-size: 1.1rem;
}

.form-success span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--green-dark);
    color: var(--cream);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: rgba(244, 241, 222, 0.6);
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-links strong,
.footer-contact strong {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--peach);
    margin-bottom: 4px;
}

.footer-links a {
    color: rgba(244, 241, 222, 0.6);
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    color: rgba(244, 241, 222, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.footer-bottom {
    border-top: 1px solid rgba(244, 241, 222, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(244, 241, 222, 0.4);
    font-size: 0.85rem;
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
    }

    .hero-inner {
        padding-right: 0;
        margin-bottom: 48px;
    }

    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }

    .hero-visual {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        min-height: 400px;
    }

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

    .about-images { min-height: 400px; }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(244, 241, 222, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-120%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-md);
        border-bottom-left-radius: var(--radius-md);
        border-bottom-right-radius: var(--radius-md);
    }

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

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .nav-toggle { display: flex; }

    .hero { padding: 100px 20px 60px; }

    .hero-title { font-size: 2rem; }

    .hero-img-card--1 {
        width: 220px;
        height: 280px;
        right: 0;
    }

    .hero-img-card--2 {
        width: 180px;
        height: 140px;
        right: -10px;
    }

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

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

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

    .contact-form-wrap { padding: 28px 20px; }

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

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .hero-visual { min-height: 320px; }
    .hero-img-card--1 { width: 180px; height: 230px; }
    .hero-img-card--2 { width: 150px; height: 110px; }

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

    .about-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 100%; height: 1px; }
}
