/* Ensure native [hidden] works even when components set display */
[hidden] { display: none !important; }

/* Maison Zohr — site styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Nunito+Sans:wght@300;400;500;600&display=swap');

:root {
  --garnet: #6a2427;
  --ivory: #fdfcf1;
  --travertine: #e2dac9;
  --gold: #bc9d76;
  --white: #ffffff;
  --char: #111111;

  --max-width: 1120px;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Avenir', 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ivory);
  color: var(--char);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; padding-bottom: 4rem; }

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

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden { display: none; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 252, 241, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  height: 38px;
  width: auto;
}

.brand-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

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

.nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 180ms ease-out;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav a[aria-current="page"] { color: var(--garnet); }

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.65);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.nav-toggle-lines {
  display: inline-block;
  width: 22px;
  height: 14px;
  background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)) 0 0 / 100% 2px,
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)) 0 6px / 100% 2px,
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)) 0 12px / 100% 2px;
  background-repeat: no-repeat;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease-out, color 160ms ease-out,
    border-color 160ms ease-out, transform 120ms ease-out,
    box-shadow 120ms ease-out;
}

.button-primary {
  background: var(--garnet);
  color: var(--ivory);
  border-color: var(--garnet);
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.button-ghost {
  background: transparent;
  color: var(--char);
  border-color: rgba(0, 0, 0, 0.2);
}

.button-ghost:hover {
  border-color: var(--garnet);
  color: var(--garnet);
}

/* Hero */
.hero { padding: 4rem 0 3rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--garnet);
  margin: 0 0 1.25rem;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-quote {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(0, 0, 0, 0.75);
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  padding-left: 1rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-media { position: relative; }

.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--travertine);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.hero-card img { display: block; width: 100%; height: auto; }

.hero-tag {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(106, 36, 39, 0.93);
  color: var(--ivory);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.1rem;
  padding: 0.8rem 0.9rem;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--garnet);
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.72);
}

/* Sections */
.section { padding: 1.5rem 0 0; }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.55);
}

.section-title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.1rem;
  margin: 0;
}

.section-actions { margin-top: 1.25rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-meta { padding: 0.75rem 1rem 1rem; }

.gallery-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

.gallery-meta p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.7);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  padding: 1.1rem 1.2rem 1.15rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--garnet);
}

.card p { margin: 0; line-height: 1.6; font-size: 0.92rem; color: rgba(0,0,0,0.75); }

/* Owner */
.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 1.5rem;
}

.owner-title {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--garnet);
  font-size: 1.2rem;
  margin: 0.3rem 0 0.8rem;
}

.owner-body { margin: 0 0 1.2rem; line-height: 1.7; max-width: 46rem; }

.owner-photo {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--travertine);
}

.owner-photo img { display: block; width: 100%; height: auto; }

/* About page */
.about-intro { padding: 3rem 0 2rem; }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0.25rem 0 1rem;
  color: var(--garnet);
}

.about-body p { margin: 0 0 1rem; line-height: 1.7; font-size: 0.98rem; }

.about-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

.about-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(226, 218, 201, 0.95);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.about-aside {
  padding: 1.4rem 1.5rem 1.7rem;
  border-radius: 1.5rem;
  background: var(--travertine);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.about-aside h3 {
  margin: 0.1rem 0 0.6rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.about-aside ul { margin: 0.2rem 0 0.8rem; padding-left: 1.1rem; font-size: 0.9rem; line-height: 1.6; }

.about-intro {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.about-content .eyebrow {
  letter-spacing: 2px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--garnet);
}

.about-content p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  color: var(--char);
}

.signature {
  font-style: italic;
  margin-top: 2rem;
  color: var(--garnet);
}

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

.divider { height: 1px; background: rgba(0,0,0,0.08); margin: 1rem 0; }

/* Contact page */
.contact-hero { padding: 3rem 0 2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0.25rem 0 0.75rem;
  color: var(--garnet);
}

.contact-body { font-size: 0.96rem; line-height: 1.7; margin: 0 0 1.5rem; }

.contact-items { display: grid; gap: 0.75rem; font-size: 0.92rem; }

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.6);
}

.contact-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.contact-value a:hover { border-color: var(--garnet); color: var(--garnet); }

.note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Form */
.form-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 1.5rem;
  padding: 1.6rem 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.form-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: 'Cormorant Garamond', serif;
}

.form-card p { margin: 0 0 1.4rem; font-size: 0.88rem; color: rgba(0, 0, 0, 0.7); }

.form-grid { display: grid; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; }

.form-field label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.form-field input,
.form-field textarea {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.65rem 0.9rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.form-field textarea {
  border-radius: 1rem;
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--garnet);
  box-shadow: 0 0 0 1px rgba(106, 36, 39, 0.18);
}

.form-hint { margin: 0; font-size: 0.85rem; color: rgba(0,0,0,0.75); }

/* CTA */
.cta { padding: 2.2rem 0 0; }

.cta-inner {
  margin-top: 1.8rem;
  background: var(--travertine);
  border-radius: 1.8rem;
  padding: 1.6rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta h2 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--garnet);
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.cta p { margin: 0; color: rgba(0,0,0,0.75); }

/* Thank you */
.thankyou { padding: 4rem 0 0; }

.thankyou-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255,255,255,0.82);
  border-radius: 1.8rem;
  padding: 2.2rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.thankyou-card h1 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--garnet);
  margin: 0 0 0.75rem;
}

.thankyou-actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.3rem 0 1.6rem;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.6);
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.footer-tagline { text-transform: uppercase; letter-spacing: 0.22em; }
.footer-sub { margin-top: 0.25rem; }

.footer-links { display: flex; align-items: center; gap: 0.5rem; }

.footer-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.82);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox-image {
  max-width: min(1000px, 92vw);
  max-height: 82vh;
  border-radius: 1.2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-layout,
  .contact-grid,
  .owner-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero { padding-top: 3rem; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
}

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

  .nav {
    position: fixed;
    top: 72px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.9rem;
    background: rgba(253,252,241,0.98);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1.2rem;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open { display: flex; }

  .brand-tagline { display: none; }
}

@media (max-width: 640px) {
  .site-header-inner { padding-inline: 1rem; }
  .container { padding-inline: 1rem; }

  .hero-grid { gap: 2rem; }
  .hero-title { font-size: 2rem; }
  .hero-media { order: -1; }

  .hero-stats { grid-template-columns: 1fr; }
}

/* =========================
   Landing animations (soft)
========================= */

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-card img { transform: none !important; }
}

/* initial hidden state */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal-up { transform: translateY(14px); }
.reveal-left { transform: translateX(-14px); }
.reveal-right { transform: translateX(14px); }

/* when visible */
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* Slight lift on cards */
.gallery-card,
.card,
.hero-card {
  transition: transform 350ms ease, box-shadow 350ms ease;
}

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

/* Hero image gentle float + zoom on load */
.hero-card img {
  transform: scale(1.01);
  transition: transform 1200ms ease;
}
.hero-card.reveal.is-visible img {
  transform: scale(1);
}

/* CTA button micro-interaction */
.button {
  transition: transform 180ms ease, filter 180ms ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0px);
}
