/* ============================================
   The Village — Santa Cruz
   Clean minimalist · Terracotta + Sand
   ============================================ */

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

:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A84E2E;
    --terracotta-light: #D4826A;
    --sand: #F5F0EB;
    --sand-dark: #E8DFD5;
    --sand-mid: #EDE5DB;
    --charcoal: #1E1E1E;
    --charcoal-light: #3A3A3A;
    --grey: #6B6B6B;
    --grey-light: #9A9A9A;
    --white: #FFFFFF;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.4s var(--ease-out);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background-color: var(--sand);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

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

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

.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

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

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

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--terracotta {
    background: var(--terracotta);
    color: var(--white);
    border: 1px solid var(--terracotta);
}

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

.btn--outline {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
}

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

.btn--outline-dark {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal-light);
}

.btn--outline-dark:hover {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

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

.btn--sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

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

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

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

.logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a:not(.btn) {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey);
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease-out);
}

.nav-menu a:not(.btn):hover {
    color: var(--charcoal);
}

.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

/* ── Mobile Nav Toggle ───────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ── Mobile Menu ─────────────────────────── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--sand);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--charcoal);
    padding: 8px;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

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

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.08;
    margin-bottom: 28px;
    font-weight: 400;
    color: var(--charcoal);
}

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

.hero-description {
    font-size: 1.05rem;
    color: var(--grey);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--charcoal-light);
    letter-spacing: 0.03em;
}

.hero-feature svg {
    color: var(--terracotta);
}

/* Hero Image Stack */
.hero-image-stack {
    position: relative;
    height: 600px;
}

.hero-img {
    position: absolute;
    overflow: hidden;
    border-radius: 2px;
}

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

.hero-img--main {
    width: 78%;
    height: 82%;
    top: 0;
    right: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-img--secondary {
    width: 58%;
    height: 45%;
    bottom: 0;
    left: 0;
    border: 6px solid var(--sand);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.hero-badge {
    position: absolute;
    bottom: 42%;
    left: -12px;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--charcoal);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.04em;
}

.hero-divider {
    height: 1px;
    background: var(--sand-dark);
    margin: 0 24px;
}

/* ── Rooms ───────────────────────────────── */
.rooms {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 64px;
}

.section-header p:last-child {
    margin-top: 16px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

.room-card {
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out);
}

.room-card:hover {
    transform: translateY(-4px);
}

.room-card-img {
    overflow: hidden;
    aspect-ratio: 5/3.4;
}

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

.room-card:hover .room-card-img img {
    transform: scale(1.04);
}

.room-card-body {
    padding: 28px 0;
    border-top: 1px solid var(--sand-dark);
}

.room-card-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.room-card-desc {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.65;
    margin-bottom: 20px;
}

.room-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--charcoal-light);
}

.room-features li svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

.rooms-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px 48px;
    background: var(--sand);
    border-radius: 2px;
}

.rooms-cta p {
    font-size: 1rem;
    color: var(--grey);
}

.rooms-cta a {
    flex-shrink: 0;
}

/* ── Amenities ───────────────────────────── */
.amenities {
    padding: 120px 0;
    background: var(--sand);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.amenity-card {
    padding: 44px 36px;
    border: 1px solid var(--sand-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    background: var(--sand);
}

.amenity-card:hover {
    background: var(--white);
    border-color: var(--terracotta-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.amenity-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 24px;
}

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

.amenity-title {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.65;
}

/* ── Location ────────────────────────────── */
.location {
    padding: 120px 0;
    background: var(--white);
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.location-content {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-desc {
    font-size: 1.05rem;
    color: var(--grey);
    line-height: 1.75;
    margin-bottom: 40px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding: 32px 0;
    border-top: 1px solid var(--sand-dark);
    border-bottom: 1px solid var(--sand-dark);
}

.location-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
}

.location-detail-value {
    font-size: 0.9375rem;
    color: var(--charcoal);
}

.location-detail a {
    font-size: 0.9375rem;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.location-detail a:hover {
    color: var(--terracotta);
}

.location-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ── Testimonial ─────────────────────────── */
.testimonial {
    padding: 100px 0;
    background: var(--charcoal);
}

.testimonial-inner {
    max-width: 720px;
    text-align: center;
}

.testimonial-quote {
    color: var(--terracotta-light);
    margin-bottom: 32px;
    opacity: 0.7;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--sand);
    margin-bottom: 28px;
}

.testimonial-source {
    font-size: 0.8125rem;
    color: var(--grey-light);
    letter-spacing: 0.06em;
}

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

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

.contact-info {
    padding-top: 8px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--charcoal);
}

.contact-detail svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-detail a {
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--terracotta);
}

/* ── Contact Form ────────────────────────── */
.contact-form-wrap {
    background: var(--white);
    padding: 44px;
    border-radius: 2px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    padding: 12px 14px;
    border: 1px solid var(--sand-dark);
    border-radius: 2px;
    background: var(--sand);
    color: var(--charcoal);
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--grey);
    text-align: center;
    margin-top: 4px;
}

.form-note a {
    color: var(--terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-note a:hover {
    color: var(--terracotta-dark);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-success svg {
    color: var(--terracotta);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--grey);
    line-height: 1.6;
}

/* ── Footer ──────────────────────────────── */
.footer {
    background: var(--charcoal);
    color: var(--sand);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 240, 235, 0.1);
}

.footer-brand .logo {
    color: var(--sand);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--grey-light);
    line-height: 1.65;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--grey-light);
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-phone {
    font-size: 1rem;
    color: var(--sand);
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: var(--terracotta-light);
}

.footer-contact span {
    font-size: 0.875rem;
    color: var(--grey-light);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--grey);
    letter-spacing: 0.04em;
}

/* ── Scroll Animations (progressive enhancement) ──────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .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; }
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-image-stack {
        height: 480px;
    }

    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-layout {
        gap: 48px;
    }

    .contact-layout {
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-bottom: 40px;
    }

    .hero-content {
        padding-right: 0;
        order: 1;
    }

    .hero-image-stack {
        height: 360px;
        order: 2;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

    .hero-features {
        gap: 16px;
    }

    .rooms {
        padding: 80px 0;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rooms-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 28px 32px;
    }

    .amenities {
        padding: 80px 0;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .location {
        padding: 80px 0;
    }

    .location-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-content {
        padding-right: 0;
    }

    .location-map {
        min-height: 280px;
    }

    .testimonial {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

    .hero-image-stack {
        height: 280px;
    }

    .hero-img--main {
        width: 85%;
        height: 85%;
    }

    .hero-img--secondary {
        width: 62%;
        height: 48%;
    }

    .hero-badge {
        left: -8px;
        padding: 10px 14px;
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 44px;
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }
}
