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

:root {
    --color-terracotta: #C4623A;
    --color-terracotta-dark: #A84E2C;
    --color-sand: #F5F0EB;
    --color-sand-light: #FAF7F4;
    --color-sand-dark: #E8E0D6;
    --color-cream: #FFFDF9;
    --color-text: #2C2420;
    --color-text-light: #6B5B52;
    --color-text-muted: #9A8A80;
    --color-white: #FFFFFF;
    --color-black: #1A1410;
    
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

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

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

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

.text-accent {
    color: var(--color-terracotta);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 520px;
    line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
    border: 1.5px solid transparent;
}

.btn-primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

.btn-primary:hover {
    background-color: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 98, 58, 0.25);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-sand-dark);
}

.btn-ghost:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
}

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

.btn-ghost-light:hover {
    border-color: var(--color-white);
    background-color: rgba(255,255,255,0.1);
}

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

.btn-outline:hover {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-sand-dark);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(44, 36, 32, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-terracotta);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-light);
    transition: color var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--color-terracotta);
}

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

.nav-cta {
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--color-terracotta);
    border-radius: var(--radius-sm);
    color: var(--color-terracotta);
    transition: all var(--transition);
}

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

.nav-cta:hover {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--color-text);
    position: relative;
    transition: all var(--transition);
}

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

.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 {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-cream);
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero-content {
    padding-right: var(--space-md);
}

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

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

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

.hero-subtext {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
}

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

.hero-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--color-sand-dark);
    border-radius: 50%;
    z-index: -1;
}

.hero-line {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-line::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-sand-dark);
}

/* ─── Intro ─── */
.intro {
    padding: var(--space-2xl) 0;
    background-color: var(--color-sand-light);
}

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

.intro-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5/4;
}

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

/* ─── Features ─── */
.features {
    padding: var(--space-2xl) 0;
    background-color: var(--color-cream);
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.features-header .section-subtitle {
    margin: 0 auto;
}

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

.feature-card {
    padding: var(--space-md);
    background-color: var(--color-sand-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-sand-dark);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44, 36, 32, 0.08);
    border-color: var(--color-terracotta);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: rgba(196, 98, 58, 0.08);
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ─── Split Section ─── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-sand);
}

.split-image {
    aspect-ratio: 6/5;
    overflow: hidden;
}

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

.split-content {
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.detail-marker {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background-color: var(--color-terracotta);
    border-radius: 50%;
    margin-top: 0.6rem;
}

/* ─── Gallery ─── */
.gallery {
    padding: var(--space-2xl) 0;
    background-color: var(--color-cream);
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

/* ─── CTA Section ─── */
.cta-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.cta-content .section-title {
    color: var(--color-white);
}

.cta-content .text-accent {
    color: rgba(255, 255, 255, 0.9);
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    line-height: 1.75;
}

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

/* ─── Visit ─── */
.visit {
    padding: var(--space-2xl) 0;
    background-color: var(--color-sand-light);
}

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

.visit-info {
    padding-right: var(--space-md);
}

.info-block {
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.info-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--space-sm);
    align-items: start;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding-top: 0.25rem;
}

.info-value {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
}

.info-link {
    font-size: 1.1rem;
    color: var(--color-terracotta);
    font-weight: 400;
    transition: color var(--transition);
}

.info-link:hover {
    color: var(--color-terracotta-dark);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 24px rgba(44, 36, 32, 0.08);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
}

/* ─── Footer ─── */
.footer {
    background-color: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
}

.footer-logo .logo-mark {
    color: var(--color-terracotta);
}

.footer-logo .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-sm);
}

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

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

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.25rem;
}

.footer-link {
    color: var(--color-terracotta);
    transition: color var(--transition);
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
}

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

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

/* ─── Mobile Menu ─── */
@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(255, 253, 249, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-md);
        gap: 0;
        border-bottom: 1px solid var(--color-sand-dark);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-sand-dark);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        text-align: center;
        margin-top: var(--space-sm);
        border-bottom: none;
    }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-img-wrapper {
        aspect-ratio: 4/3;
    }
    
    .intro-grid,
    .split-section {
        grid-template-columns: 1fr;
    }
    
    .split-image {
        aspect-ratio: 16/9;
    }
    
    .split-content {
        padding: var(--space-lg) var(--space-md);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-info {
        padding-right: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
