/* ============================================================
   Sol du Mazel — solmazel.com
   Shared stylesheet — Brand Guidelines v2
   Cormorant Garamond Italic + Source Sans 3
   Terracotta #B5511A · Antique gold #C9963A · Warm ivory #FAF7F2 · Deep wine #2C1810
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ── Variables ── */
:root {
  --terracotta:   #B5511A;
  --gold:         #C9963A;
  --gold-accent:  #C8963C;
  --ivory:        #FAF7F2;
  --wine:         #2C1810;
  --near-black:   #1C1714;
  --stone:        #c4a882;
  --sage:         #7a9e7e;
  --warm-grey:    #8a7d74;
  --divider:      rgba(180,140,100,0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Source Sans 3', sans-serif;

  --nav-h: 72px;
  --max-w: 1180px;
  --section-pad: 96px 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--near-black);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-style: italic; color: var(--ivory); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-style: italic; color: var(--wine); }
h3 { font-size: 1.35rem; font-weight: 600; color: var(--wine); }
h4 { font-size: 1.1rem; font-weight: 600; color: var(--terracotta); font-style: normal; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.gold-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold-accent);
  margin: 12px 0 20px;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-nav.scrolled {
  background: var(--wine);
  box-shadow: 0 2px 24px rgba(44,24,16,0.18);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.88);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-accent); }
.nav-cta {
  background: var(--terracotta) !important;
  color: var(--ivory) !important;
  padding: 9px 22px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold-accent) !important; }

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ivory);
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
  filter: brightness(0.62);
}
@keyframes kenburns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.08) translate(-2%, 1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(44,24,16,0.45) 0%, rgba(181,81,26,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.hero-content .section-label { color: var(--gold-accent); }
.hero-content h1 { margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(250,247,242,0.9);
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 300;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,247,242,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(250,247,242,0.4);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 3px;
  transition: all 0.22s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--ivory);
}
.btn-primary:hover { background: #c55e20; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(181,81,26,0.35); }
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 2px solid rgba(250,247,242,0.6);
}
.btn-outline:hover { border-color: var(--gold-accent); color: var(--gold-accent); }
.btn-gold {
  background: var(--gold-accent);
  color: var(--wine);
}
.btn-gold:hover { background: #b8862c; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,150,60,0.35); }
.btn-dark {
  background: var(--wine);
  color: var(--ivory);
}
.btn-dark:hover { background: #3d2015; transform: translateY(-2px); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
section { padding: var(--section-pad); }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-intro { max-width: 640px; }
.section-header { margin-bottom: 56px; }
.section-header.centred { text-align: center; }
.section-header.centred .gold-rule { margin: 12px auto 20px; }

/* ── SVG Dividers ── */
.divider-angled {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.divider-angled svg { display: block; width: 100%; }

/* ── Dark section ── */
.section-dark {
  background: var(--wine);
  color: var(--ivory);
}
.section-dark h2 { color: var(--ivory); }
.section-dark h3 { color: var(--gold-accent); }
.section-dark p { color: rgba(250,247,242,0.85); }
.section-dark .section-label { color: var(--gold-accent); }
.section-dark .gold-rule { background: var(--gold-accent); }

/* ── Stone section ── */
.section-stone {
  background: #efe8dc;
}

/* ── Card grid ── */
.card-grid {
  display: grid;
  gap: 28px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,24,16,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(44,24,16,0.14); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 6px; font-size: 1.2rem; }
.card-body p { font-size: 0.95rem; color: var(--warm-grey); margin: 0; }

/* ── Pull quote ── */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  color: var(--wine);
  border-left: 4px solid var(--gold-accent);
  padding: 16px 0 16px 32px;
  margin: 48px 0;
}
.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 12px;
}

/* ── Parallax divider ── */
.parallax-section {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.55);
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivory);
  padding: 0 24px;
}
.parallax-content h2 { color: var(--ivory); font-size: clamp(2rem, 4vw, 3.2rem); }
.parallax-content p { color: rgba(250,247,242,0.85); font-size: 1.15rem; max-width: 560px; margin: 12px auto 28px; }

/* ── Two-col layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { }
.two-col img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 3px;
}

/* ── Amenity list ── */
.amenity-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.amenity-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
}
.amenity-list li::before {
  content: '✦';
  color: var(--gold-accent);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ── Review cards ── */
.review-card {
  background: var(--ivory);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 28px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(44,24,16,0.1); }
.review-stars { color: var(--gold-accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--wine);
  margin-bottom: 16px;
}
.review-meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ── Pricing table ── */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  padding: 12px 16px;
  border-bottom: 2px solid var(--gold-accent);
  text-align: left;
}
.price-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--divider);
  font-size: 0.95rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: rgba(201,150,58,0.06); }
.price-peak td:first-child { color: var(--terracotta); font-weight: 600; }
.price-highlight td { background: rgba(181,81,26,0.05); }
.price-amount { font-weight: 700; color: var(--wine); }
.price-barrier td { color: var(--warm-grey); font-style: italic; }

/* ── Contact form ── */
.contact-form { max-width: 660px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(180,140,100,0.35);
  border-radius: 3px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--near-black);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold-accent); box-shadow: 0 0 0 3px rgba(200,150,60,0.12); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── Map placeholder ── */
.map-embed {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 4px;
}

/* ── Footer ── */
.site-footer {
  background: var(--wine);
  color: rgba(250,247,242,0.75);
  padding: 64px 40px 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,247,242,0.12);
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-accent);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.65; color: rgba(250,247,242,0.65); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 0.9rem; color: rgba(250,247,242,0.65); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-accent); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250,247,242,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ── Booking strip ── */
.booking-strip {
  background: var(--terracotta);
  padding: 28px 40px;
  text-align: center;
}
.booking-strip p {
  color: rgba(250,247,242,0.9);
  font-size: 1.05rem;
  margin: 0 0 16px;
}
.booking-strip h3 {
  color: var(--ivory);
  font-size: 1.8rem;
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 8px;
}

/* ── Stat strip ── */
.stat-strip {
  background: var(--wine);
  padding: 40px 40px;
}
.stat-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  color: var(--gold-accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.6);
  margin-top: 6px;
}

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.05); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--warm-grey);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--terracotta); }
.breadcrumb span { color: var(--warm-grey); }

/* ── Page hero (shorter) ── */
.page-hero {
  height: 54vh;
  min-height: 340px;
}

/* ── Shared JS nav scroll ── */

/* ── Responsive ── */
@media (max-width: 960px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .amenity-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --section-pad: 64px 20px; --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--wine);
    padding: 24px 32px 32px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .nav-links.open a { font-size: 1rem; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .stat-strip-inner { gap: 24px; }
}
