/* ============================================
   Harbor Moon Tattoo — Editorial Style
   Charcoal + Coral Palette
   ============================================ */

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

:root {
    --charcoal-900: #0d0d0d;
    --charcoal-800: #1a1a1a;
    --charcoal-700: #2a2a2a;
    --charcoal-600: #3a3a3a;
    --charcoal-500: #555555;
    --charcoal-400: #888888;
    --charcoal-300: #aaaaaa;
    --coral-500: #e8645a;
    --coral-400: #f0786e;
    --coral-300: #f59e95;
    --coral-200: #fad4d0;
    --coral-100: #fef0ee;
    --cream: #faf8f6;
    --cream-dark: #f3efe9;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s var(--ease-out);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav__logo-icon {
    color: var(--coral-400);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__links a {
    color: var(--charcoal-300);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--coral-400);
    transition: width 0.3s var(--ease-out);
}

.nav__links a:hover {
    color: var(--white);
}

.nav__links a::after:hover {
    width: 100%;
}

.nav__cta {
    background: var(--coral-500) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav__cta::after {
    display: none !important;
}

.nav__cta:hover {
    background: var(--coral-400) !important;
    transform: translateY(-1px);
}

.nav__menu-btn {
    display: none;
    color: var(--white);
    padding: 8px;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--charcoal-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
}

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

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--white);
    padding: 8px;
}

.mobile-menu__link {
    color: var(--charcoal-300);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    padding: 12px 24px;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--coral-400);
}

.mobile-menu__cta {
    margin-top: 16px;
    color: var(--coral-400) !important;
    font-family: var(--font-sans) !important;
    font-size: 0.875rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--coral-500);
    border-radius: 100px;
    padding: 14px 36px !important;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: 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(13, 13, 13, 0.72) 0%,
        rgba(13, 13, 13, 0.55) 40%,
        rgba(13, 13, 13, 0.80) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 72px;
}

.hero__eyebrow {
    color: var(--coral-400);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-bottom: 28px;
}

.hero__accent {
    color: var(--coral-300);
    font-style: italic;
    font-weight: 700;
}

.hero__sub {
    color: var(--charcoal-300);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    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;
    color: var(--charcoal-400);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
    border: 2px solid transparent;
}

.btn--coral {
    background: var(--coral-500);
    color: var(--white);
    border-color: var(--coral-500);
}

.btn--coral:hover {
    background: var(--coral-400);
    border-color: var(--coral-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 100, 90, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

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

/* ============================================
   Section Shared
   ============================================ */
.section-eyebrow {
    color: var(--coral-500);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--charcoal-800);
    letter-spacing: -0.02em;
}

.section-title em {
    color: var(--coral-500);
    font-style: italic;
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--coral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--coral-500);
    color: var(--white);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal-800);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card__desc {
    color: var(--charcoal-500);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--charcoal-900);
    overflow: hidden;
}

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

.about__image {
    position: relative;
}

.about__image img {
    border-radius: 16px;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--coral-500);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.4;
}

.about__content {
    color: var(--white);
}

.about__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.about__title em {
    color: var(--coral-300);
    font-style: italic;
}

.about__text {
    color: var(--charcoal-300);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--coral-400);
    line-height: 1;
    margin-bottom: 6px;
}

.stat__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-400);
}

.about__content .btn {
    margin-top: 8px;
}

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

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

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

.gallery__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: auto;
    cursor: pointer;
}

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

.gallery__item:nth-child(1) { grid-row: span 2; }
.gallery__item:nth-child(1) img { height: 100%; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item:nth-child(4) img { height: 100%; }

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.gallery__note {
    text-align: center;
    margin-top: 48px;
    color: var(--charcoal-500);
    font-size: 0.9375rem;
}

/* ============================================
   Quote Section
   ============================================ */
.quote-section {
    padding: 100px 0;
    background: var(--charcoal-800);
}

.quote {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.quote__mark {
    color: var(--coral-500);
    margin-bottom: 32px;
    opacity: 0.6;
}

.quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 28px;
}

.quote__attribution {
    color: var(--coral-400);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-style: normal;
}

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

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

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

.faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0;
    text-align: left;
    color: var(--charcoal-800);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: var(--coral-500);
}

.faq__icon {
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out);
    color: var(--coral-500);
}

.faq__item.open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq__item.open .faq__answer {
    max-height: 300px;
    padding-bottom: 28px;
}

.faq__answer p {
    color: var(--charcoal-500);
    font-size: 0.9375rem;
    line-height: 1.8;
}

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

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

.contact__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--charcoal-800);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.contact__title em {
    color: var(--coral-500);
    font-style: italic;
}

.contact__text {
    color: var(--charcoal-500);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--charcoal-700);
    font-size: 0.9375rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact__detail:hover {
    color: var(--coral-500);
}

.contact__detail svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--coral-500);
}

.contact__hours {
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact__hours h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal-800);
    margin-bottom: 8px;
}

.contact__hours p {
    color: var(--charcoal-500);
    font-size: 0.875rem;
}

/* Form */
.contact__form-wrap {
    background: var(--cream);
    border-radius: 20px;
    padding: 48px;
}

.contact__form h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--charcoal-800);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.form__group {
    margin-bottom: 24px;
}

.form__group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-600);
    margin-bottom: 8px;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal-800);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(232, 100, 90, 0.1);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--charcoal-300);
}

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

.form__success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 10px;
    color: #2e7d32;
    font-size: 0.875rem;
    font-weight: 500;
}

.form__success svg {
    color: #2e7d32;
    flex-shrink: 0;
}

/* ============================================
   Map
   ============================================ */
.map-section {
    background: var(--charcoal-900);
}

.map-section__inner {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.map-section__inner:hover {
    opacity: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal-900);
    padding: 72px 0 40px;
    color: var(--charcoal-300);
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer__brand p {
    color: var(--charcoal-400);
    font-size: 0.875rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__links a {
    color: var(--charcoal-400);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--coral-400);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 32px;
    font-size: 0.8125rem;
    color: var(--charcoal-500);
    flex-wrap: wrap;
}

.footer__bottom a {
    color: var(--charcoal-400);
    transition: color 0.3s ease;
}

.footer__bottom a:hover {
    color: var(--coral-400);
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__layout {
        gap: 48px;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery__item:nth-child(1),
    .gallery__item:nth-child(4) {
        grid-row: span 1;
    }
    
    .contact__layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    
    .nav__menu-btn {
        display: flex;
    }
    
    .hero__headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
    
    .hero__sub {
        font-size: 1rem;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image img {
        height: 350px;
    }
    
    .about__image-accent {
        display: none;
    }
    
    .about__stats {
        gap: 24px;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .quote-section {
        padding: 72px 0;
    }
    
    .faq {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__form-wrap {
        padding: 32px 24px;
    }
    
    .footer__top {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        flex-wrap: wrap;
    }
    
    .footer__links {
        flex-direction: column;
        gap: 16px;
    }
}
