/* Arriv Valet — luxury California aesthetic */
:root {
  --black: #121210;
  --charcoal: #121210;
  --cream: #f5f2ed;
  --warm-white: #faf8f5;
  --gold: #c9a962;
  --gold-light: #ddc88a;
  --gold-dim: rgba(201, 169, 98, 0.22);
  --text: #252525;
  --text-muted: #5a5a5a;
  --border: rgba(201, 169, 98, 0.35);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", -apple-system, "Segoe UI", sans-serif;
  --space: 1.5rem;
  --container: min(92vw, 1120px);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

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

/* Prevent long strings from causing horizontal scroll */
p, a, li, h1, h2, h3, label {
  overflow-wrap: anywhere;
  word-break: normal;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 60px;
  width: auto;
  mix-blend-mode: screen;
}

.footer-logo-img {
  height: 60px;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(245, 242, 237, 0.92);
  transition: color 0.2s, opacity 0.2s;
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0;
}

.lang-option { opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.lang-option.active { opacity: 1; color: var(--gold-light); }
.lang-divider { opacity: 0.5; }

.header-cta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.header-cta:hover { background: var(--gold); color: var(--black); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--cream); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--charcoal);
  padding: var(--space);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.lang-toggle-mobile { justify-content: flex-start; }

@media (max-width: 860px) {
  .header-inner { padding: 0 1rem; }
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 3.5rem) var(--space) 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero-tagline { letter-spacing: 0.16em; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 80%, var(--gold-dim) 0%, transparent 55%),
    linear-gradient(165deg, var(--charcoal) 0%, var(--black) 55%, var(--black) 100%);
  z-index: -1;
}

.hero-content { max-width: 760px; }

/* Hero text reveal (dramatic) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  animation: arriv-reveal 1600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}

@keyframes arriv-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero-tagline {
  margin: 0 0 1rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-title {
  color: var(--cream);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero-sub {
  margin: 0 auto 2.25rem;
  color: rgba(245, 242, 237, 0.86);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 660px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

@media (max-width: 420px) {
  .hero-cta { gap: 0.75rem; }
  .btn { width: 100%; max-width: 360px; }
}

.hero-fine {
  margin: 0;
  color: rgba(245, 242, 237, 0.58);
  font-size: 1.05rem;
}

/* Slightly larger hero microcopy in Chinese */
html[lang="zh-Hans"] .hero-tagline {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

html[lang="zh-Hans"] .hero-fine {
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 1.75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline { background: transparent; color: var(--cream); border-color: rgba(245,242,237,0.9); }
.btn-outline:hover { background: var(--cream); color: var(--black); border-color: var(--cream); }

/* Sections */
section { padding: 4.75rem 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.25rem;
}
.section-title.left { text-align: left; }

.intro { background: var(--warm-white); }
.intro-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.story {
  background: var(--black);
  border-top: 1px solid rgba(201, 169, 98, 0.22);
  border-bottom: 1px solid rgba(201, 169, 98, 0.22);
}

.story-shell {
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(165deg, rgba(23, 23, 23, 0.9), rgba(13, 13, 13, 0.9));
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.story-copy .section-title.left {
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.story-text {
  margin: 0;
  color: rgba(245, 242, 237, 0.86);
  font-size: 1.05rem;
  text-align: left;
}

.story-sub {
  margin: 1rem 0 0;
  color: rgba(245, 242, 237, 0.75);
  font-size: 1rem;
  text-align: left;
}

.story-media {
  margin: 0;
}

.story-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 98, 0.25);
}

@media (max-width: 980px) {
  .story-shell {
    grid-template-columns: 1fr;
  }
  .story-copy .section-title.left {
    text-align: center;
  }
  .story-text {
    text-align: center;
  }
  .story-sub {
    text-align: center;
  }
}

.services { background: var(--cream); }
.services-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 34px rgba(13, 13, 13, 0.08);
}
.service-icon { display: block; color: var(--gold); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Experience + featured image */
.experience { background: var(--warm-white); }
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.bullets {
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}
.bullets li { margin: 0.65rem 0; }

.featured {
  margin: 0;
  padding: 0;
}

.featured-img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 980px) {
  .experience-grid { grid-template-columns: 1fr; }
  .section-title.left { text-align: center; }
  .bullets { padding-left: 1.1rem; }
}

/* Book form */
.book {
  background: var(--black);
  color: var(--cream);
}
.book .section-title { color: var(--cream); }
.book-lead {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.25rem;
  color: rgba(245, 242, 237, 0.9);
  font-size: 1.05rem;
}

.booking-form { max-width: 640px; margin: 0 auto; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-row-3 {
  grid-template-columns: 1.35fr 0.65fr 0.9fr;
}

.form-group input[readonly] {
  opacity: 0.9;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 242, 237, 0.92);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

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

/* Dropdown menu colors (e.g. event type) */
.form-group select option {
  background: var(--black);
  color: var(--cream);
}

.btn-submit { width: 100%; margin-top: 0.25rem; }

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: rgba(245, 242, 237, 0.62);
}

.form-success {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: var(--gold-dim);
}
.form-success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}
.form-success-text { margin: 0; color: rgba(245, 242, 237, 0.9); }

@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .booking-form { padding: 0 0.25rem; }
}

/* Contact + footer */
.contact { background: var(--cream); }
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin: 1.75rem 0 2rem;
}
.contact-block { text-align: center; }
.contact-label {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.contact-value {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
  transition: color 0.2s;
}
.contact-value:hover { color: var(--gold); }
.contact-tagline {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
}

.footer {
  background: var(--charcoal);
  color: rgba(245, 242, 237, 0.7);
  padding: 2rem 0;
  text-align: center;
}
.footer-brand {
  margin: 0 0 0.5rem;
  display: inline-block;
}
.footer-rights { margin: 0; font-size: 0.82rem; }

