/* ============================================
   The Wreath Body Art — Custom Styles
   Color Palette: Plum (#7B2D5B) + Amber (#C9952D)
   Fonts: Cormorant Garamond (serif) + Inter (sans)
   ============================================ */

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

:root {
    --plum: #7B2D5B;
    --plum-deep: #5A1F43;
    --plum-light: #9B4D7B;
    --plum-pale: #F5E6F0;
    --plum-bg: #FDF8FB;
    --amber: #C9952D;
    --amber-light: #D4A84B;
    --amber-pale: #FDF6E3;
    --cream: #FAFAF8;
    --off-white: #F5F4F1;
    --charcoal: #1A1A1A;
    --dark: #2A2A2A;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --line: #E8E4E0;
    --line-light: #F0ECE8;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.4s var(--ease);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: 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 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--line);
    background: rgba(250, 250, 248, 0.97);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--plum);
    letter-spacing: 0.02em;
}

.nav-logo-icon {
    color: var(--plum);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--plum);
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--plum);
}

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

.nav-cta {
    font-size: 0.78rem !important;
    letter-spacing: 0.1em !important;
    color: var(--plum) !important;
    border: 1px solid var(--plum);
    padding: 0.55rem 1.4rem;
    transition: background var(--transition), color var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--plum) !important;
    color: #fff !important;
}

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--dark);
    transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--cream);
    padding-top: 72px;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(123, 45, 91, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 149, 45, 0.05) 0%, transparent 60%);
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-left {
    padding-right: 1rem;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 5.5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--charcoal);
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
}

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

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 0;
    transition: all var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--plum);
    color: #fff;
    border-color: var(--plum);
}

.btn-primary:hover {
    background: var(--plum-deep);
    border-color: var(--plum-deep);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--line);
}

.btn-outline:hover {
    border-color: var(--plum);
    color: var(--plum);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 0.82rem;
}

/* Hero right — asymmetric image */
.hero-right {
    position: relative;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 40%;
    border: 1px solid var(--amber);
    opacity: 0.3;
    pointer-events: none;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

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

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-number-stat-divider {
    display: none;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---- Section shared ---- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.section-line {
    width: 60px;
    height: 1px;
    background: var(--amber);
    margin: 1.5rem auto 0;
}

/* ---- Services ---- */
.services {
    padding: 8rem 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--line-light);
    transition: all var(--transition);
    position: relative;
    background: var(--cream);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--plum);
    transition: width var(--transition);
}

.service-card:hover {
    border-color: var(--line);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 45, 91, 0.06);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--plum);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-light);
    font-weight: 300;
}

/* ---- About ---- */
.about {
    padding: 8rem 0;
    background: var(--plum-bg);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

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

.about-image-main {
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    aspect-ratio: 7/9;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -3rem;
    right: -2rem;
    width: 55%;
    overflow: hidden;
    border: 6px solid var(--plum-bg);
}

.about-image-secondary img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-text-col {
    padding-top: 3rem;
}

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.about-line {
    width: 60px;
    height: 1px;
    background: var(--amber);
    margin-bottom: 2rem;
}

.about-body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.about-values {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 400;
}

.value-dot {
    width: 6px;
    height: 6px;
    background: var(--amber);
    flex-shrink: 0;
}

/* ---- Gallery ---- */
.gallery {
    padding: 8rem 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1.2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item--tall {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 7;
}

.gallery-item:not(.gallery-item--tall) {
    grid-column: span 6;
}

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

.gallery-item--tall img {
    aspect-ratio: 5/7;
}

.gallery-item:not(.gallery-item--tall) img {
    aspect-ratio: 1;
}

.gallery-item--wide img {
    aspect-ratio: 9/5;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(123, 45, 91, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

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

.gallery-item:hover .gallery-overlay {
    background: rgba(123, 45, 91, 0.25);
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Testimonial ---- */
.testimonial-strip {
    padding: 6rem 0;
    background: var(--plum);
}

.testimonial-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-mark {
    width: 40px;
    height: 40px;
    color: var(--amber);
    opacity: 0.6;
    margin: 0 auto 2rem;
}

.testimonial-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.testimonial-source {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    font-weight: 400;
}

/* ---- Visit ---- */
.visit {
    padding: 8rem 0;
    background: var(--cream);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.visit-info {
    padding-top: 1rem;
}

.visit-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.visit-line {
    width: 60px;
    height: 1px;
    background: var(--amber);
    margin-bottom: 2.5rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.visit-detail {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.visit-icon {
    width: 24px;
    height: 24px;
    color: var(--plum);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.visit-detail-value {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.visit-link {
    color: var(--plum);
    transition: color var(--transition);
    border-bottom: 1px solid transparent;
}

.visit-link:hover {
    color: var(--plum-deep);
    border-bottom-color: var(--plum-deep);
}

.visit-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.visit-map {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--line-light);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    filter: grayscale(0.6) contrast(1.05);
    transition: filter var(--transition);
}

.visit-map:hover .map-placeholder iframe {
    filter: grayscale(0) contrast(1);
}

/* ---- Footer ---- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    color: var(--amber);
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
    font-weight: 300;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        gap: 3rem;
    }
    
    .visit-layout {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        border-left: 1px solid var(--line);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
        padding-bottom: 4rem;
    }
    
    .hero-left {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-right {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-scroll-hint {
        display: none;
    }
    
    .services {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about {
        padding: 5rem 0;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-secondary {
        right: 0;
        bottom: -2rem;
    }
    
    .gallery {
        padding: 5rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item--tall {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item--wide {
        grid-column: span 2;
    }
    
    .gallery-item:not(.gallery-item--tall) {
        grid-column: span 1;
    }
    
    .gallery-item--tall img {
        aspect-ratio: 16/9;
    }
    
    .testimonial-strip {
        padding: 4rem 0;
    }
    
    .visit {
        padding: 5rem 0;
    }
    
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .visit-cta-group {
        flex-direction: column;
    }
    
    .visit-cta-group .btn {
        width: 100%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-inner {
        padding: 0 1.25rem;
    }
    
    .hero-headline {
        font-size: 2.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--tall,
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--tall) {
        grid-column: span 1;
    }
    
    .gallery-item img {
        aspect-ratio: 4/3 !important;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
