/* ========================================
   Logan Village Center — Styles
   Plum + Amber · Clean Minimalist
   ======================================== */

/* ---------- Custom Properties ---------- */
:root {
    --plum: #7B2D8B;
    --plum-deep: #5A1F6B;
    --plum-light: #9B4DB8;
    --plum-50: #F9F0FD;
    --plum-100: #F3E0FB;
    --plum-200: #E8C5F5;

    --amber: #F5C518;
    --amber-deep: #D4A800;
    --amber-light: #FFD952;
    --amber-50: #FFFBF0;
    --amber-100: #FFF5D6;

    --ink: #1A1A2E;
    --ink-light: #3D3D5C;
    --ink-muted: #6B6B8A;
    --paper: #FEFEFE;
    --paper-warm: #FAFAF8;
    --paper-cool: #F7F7FA;
    --line: #E8E8EE;
    --line-light: #F0F0F5;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Lora', 'Georgia', serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 26, 46, 0.10);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--plum-light);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--plum);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

/* ---------- Typography ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum);
    margin-bottom: var(--space-md);
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--ink-light);
    max-width: 560px;
    line-height: 1.7;
}

.lead {
    font-size: 1.0625rem;
    color: var(--ink-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.text-plum {
    color: var(--plum);
}

.text-amber {
    color: var(--amber-deep);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 2px;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem;
}

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

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

.btn-amber {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber);
}

.btn-amber:hover {
    background: var(--amber-deep);
    border-color: var(--amber-deep);
    color: var(--ink);
}

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

.btn-outline-plum:hover {
    background: var(--plum);
    color: #fff;
}

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

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

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

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
}

/* ---------- Nav ---------- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.main-nav a {
    color: var(--ink-light);
    font-size: 0.875rem;
    font-weight: 400;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--plum);
    background: var(--plum-50);
}

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 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);
}

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        padding: var(--space-lg);
        transform: translateY(-110%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xs);
    }

    .main-nav a {
        padding: var(--space-md);
        font-size: 1rem;
    }
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--paper);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding: var(--space-4xl) 0;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: var(--space-xl);
}

.hero-body {
    font-size: 1.0625rem;
    color: var(--ink-light);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.hero-meta-item a {
    color: var(--plum);
}

.hero-meta-item a:hover {
    color: var(--plum-light);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 680 / 820;
}

.hero-accent-line {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 3px;
    background: var(--amber);
    border-radius: 2px;
    z-index: -1;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }

    .hero-body {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        align-items: center;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 72px;
    }

    .hero-grid {
        padding: var(--space-2xl) 0;
    }

    .hero-image-wrapper img {
        aspect-ratio: 4 / 5;
    }
}

/* ---------- Section Divider ---------- */
.section-divider {
    display: flex;
    justify-content: center;
    padding: var(--space-xl) 0;
}

/* ---------- Sections ---------- */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-lead {
    margin-left: auto;
    margin-right: auto;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-content {
    max-width: 520px;
}

.about-image-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 560 / 640;
}

.about-stat {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    padding-left: var(--space-md);
    border-left: 2px solid var(--amber);
}

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

.stat-label {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.4;
}

@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-content {
        max-width: 100%;
    }

    .about-image img {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- Services ---------- */
.services {
    background: var(--paper);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    background: var(--paper);
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.service-card:hover .service-icon {
    background: var(--plum);
}

.service-card:hover .service-icon svg {
    stroke: var(--amber);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.service-body {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

@media (max-width: 960px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Community ---------- */
.community {
    background: var(--paper-cool);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

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

.community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600 / 700;
}

.community-content {
    max-width: 520px;
}

.community-values {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.value-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.value-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--amber-deep);
    line-height: 1;
    min-width: 32px;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--space-xs);
}

.value-body {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .community-content {
        max-width: 100%;
    }

    .community-image img {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- Visit ---------- */
.visit {
    background: var(--plum);
    padding: var(--space-4xl) 0;
}

.visit-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.visit .section-eyebrow {
    color: var(--amber);
}

.visit .section-heading {
    color: #fff;
}

.visit-body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 420px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.visit-detail {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 197, 24, 0.15);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: var(--space-xs);
}

.visit-detail-value {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
}

.visit-detail-value a {
    color: #fff;
}

.visit-detail-value a:hover {
    color: var(--amber);
}

@media (max-width: 960px) {
    .visit-card {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
}

/* ---------- Contact ---------- */
.contact {
    background: var(--paper-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-content {
    max-width: 480px;
}

.contact-body {
    font-size: 1.0625rem;
    color: var(--ink-light);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--ink-light);
}

.contact-info-item a {
    color: var(--plum);
}

.contact-info-item a:hover {
    color: var(--plum-light);
}

/* Form */
.contact-form-wrap {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 3px var(--plum-100);
    background: var(--paper);
}

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

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

.form-note {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    text-align: center;
    margin-top: var(--space-md);
}

.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.form-success svg {
    margin: 0 auto var(--space-lg);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--ink-muted);
    margin-bottom: var(--space-xl);
}

.btn-send-again {
    font-size: 0.8125rem;
    padding: 0.625rem 1.25rem;
}

@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .contact-content {
        max-width: 100%;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: var(--space-md);
}

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

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

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

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-phone a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ---------- Focus visible ---------- */
:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 2px;
}
