/* ============================================
   NORTHEAST VINTAGE — Brand Styles
   Color Palette: Teal (#0D7377) + Slate Grey (#3D4F5F)
   Typography: Playfair Display (headlines) + Inter (body)
   ============================================ */

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

:root {
    --teal-900: #064E52;
    --teal-800: #086367;
    --teal-700: #0D7377;
    --teal-600: #10858A;
    --teal-500: #14979C;
    --teal-100: #D1EEF0;
    --teal-50:  #E8F7F8;
    
    --slate-900: #1A2332;
    --slate-800: #2C3E50;
    --slate-700: #3D4F5F;
    --slate-600: #526777;
    --slate-500: #6B8294;
    --slate-200: #C5D5E0;
    --slate-100: #E2ECF2;
    --slate-50:  #F2F7FA;
    
    --cream: #FAFAF8;
    --warm-white: #FDFCFA;
    --off-white: #F5F4F0;
    
    --text-dark: #1A2332;
    --text-mid: #3D4F5F;
    --text-light: #6B8294;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --container-max: 1280px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--teal-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-600);
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-mid);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(26, 35, 50, 0.08);
}

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

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

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--teal-700);
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal-700);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--teal-700);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: block;
    position: relative;
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(13, 115, 119, 0.6) 50%,
        rgba(26, 35, 50, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-100);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--slate-200);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-200);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--slate-200), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* --- Features Bar --- */
.features-bar {
    background-color: var(--teal-700);
    padding: var(--space-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

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

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.feature-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.125rem;
}

.feature-item span {
    font-size: 0.8rem;
    color: var(--teal-100);
    line-height: 1.4;
}

/* --- Collection --- */
.collection {
    padding: var(--space-3xl) 0;
    background-color: var(--warm-white);
}

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

.section-header .section-desc {
    margin: 0 auto;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.collection-card {
    background-color: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(26, 35, 50, 0.12);
}

.card-image {
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover .card-image img {
    transform: scale(1.03);
}

.card-body {
    padding: var(--space-lg);
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.collection-cta {
    text-align: center;
    padding: var(--space-xl);
    background-color: var(--slate-50);
    border-radius: var(--radius-lg);
}

.collection-cta p {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: var(--space-md);
}

/* --- About --- */
.about {
    padding: var(--space-3xl) 0;
    background-color: var(--off-white);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 7 / 9;
}

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

.about-content .section-title {
    margin-bottom: var(--space-sm);
}

.about-divider {
    width: 60px;
    height: 3px;
    background-color: var(--teal-700);
    border-radius: 2px;
    margin-bottom: var(--space-lg);
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--slate-200);
}

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

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

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

/* --- Quote Section --- */
.quote-section {
    padding: var(--space-3xl) 0;
    background-color: var(--slate-900);
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    width: 48px;
    height: 48px;
    color: var(--teal-700);
    margin: 0 auto var(--space-md);
    opacity: 0.6;
}

.quote-content blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.quote-attr {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-500);
}

/* --- Visit --- */
.visit {
    padding: var(--space-3xl) 0;
    background-color: var(--warm-white);
}

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

.visit-info .section-title {
    margin-bottom: var(--space-sm);
}

.visit-divider {
    width: 60px;
    height: 3px;
    background-color: var(--teal-700);
    border-radius: 2px;
    margin-bottom: var(--space-lg);
}

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

.visit-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

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

.detail-link {
    font-size: 1rem;
    color: var(--teal-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.detail-link:hover {
    color: var(--teal-600);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 7 / 5;
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Contact --- */
.contact {
    padding: var(--space-3xl) 0;
    background-color: var(--off-white);
}

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

.contact-content .section-title {
    margin-bottom: var(--space-sm);
}

.contact-divider {
    width: 60px;
    height: 3px;
    background-color: var(--teal-700);
    border-radius: 2px;
    margin-bottom: var(--space-lg);
}

.contact-content > p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

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

.contact-direct-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.75rem 1rem;
    background-color: var(--warm-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    transition: all 0.2s ease;
}

.contact-direct-item:hover {
    border-color: var(--teal-700);
    color: var(--teal-700);
    transform: translateX(4px);
}

.contact-direct-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--teal-700);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--warm-white);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background-color: var(--off-white);
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-700);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

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

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

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

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--teal-700);
    margin: 0 auto var(--space-sm);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* --- Footer --- */
.site-footer {
    background-color: var(--slate-900);
    color: var(--slate-200);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-200);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--teal-500);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}

.footer-col a {
    color: var(--slate-500);
}

.footer-col a:hover {
    color: var(--teal-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    font-size: 0.8rem;
    color: var(--slate-600);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom a {
    color: var(--slate-500);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--teal-500);
}

/* --- Reveal Animations --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collection-grid {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(253, 252, 250, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--slate-100);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .about-layout,
    .visit-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        aspect-ratio: 4 / 3;
    }
    
    .about-stats {
        gap: var(--space-lg);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }
    
    .hero-scroll {
        display: none;
    }
}
