/* ─── ABOUT SPLIT ───────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.about-text {
  background: #f0ecf0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  text-align: left;
}

.about-label {
  margin-bottom: 0.5rem;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}


.about-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #6b6068;
  margin: 0 0 1.25rem;
}

.about-image {
  overflow: hidden;
  position: relative;
  padding: 3rem 2rem;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.about-image {
  background: #f0ecf0;
}

.about-photo-placeholder {
  background: linear-gradient(135deg, #c9bfb5 0%, #a89080 50%, #c8a882 100%);
  min-height: 500px;
}

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

  .about-text {
    padding: 3.5rem 1.5rem;
  }

  .about-photo-placeholder {
    min-height: 320px;
  }
}

/* ─── IMAGE PROTECTION ──────────────────────────── */
img {
  -webkit-user-drag: none;
  user-select: none;
}

.hero-image-left,
.contact-right {
  position: relative;
}

.hero-image-left::after,
.about-image::after,
.coverflow-item::after,
.contact-right::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
}

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

:root {
  --ink:       #1a1714;
  --off-white: #f7f4ef;
  --warm-mid:  #e8e1d6;
  --stone:     #9a8f82;
  --gold:      #b8924a;
  --dark-bg:   #141210;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── NAVBAR ────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm-mid);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stone);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-shop {
  color: var(--gold) !important;
}

.nav-shop:hover {
  color: var(--ink) !important;
}

/* ─── HERO ──────────────────────────────────────── */
.hero {
  padding-top: 68px;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 68px);
}

.hero-image-left {
  overflow: hidden;
}

.hero-image-right {
  position: relative;
  overflow: hidden;
}

.hero-image-left img,
.hero-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.50);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* ─── BUTTONS ───────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--ink);
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.hero-overlay .btn-primary {
  background: var(--ink);
  color: var(--off-white);
  border-color: var(--ink);
}

.hero-overlay .btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

/* ─── SECTIONS ──────────────────────────────────── */
.section {
  padding: 6rem 3rem;
}

.section-dark {
  background: var(--dark-bg);
  color: var(--off-white);
}

.section-accent {
  background: var(--warm-mid);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  align-items: start;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.4rem;
}

.section-label.light {
  color: var(--gold);
  margin-bottom: 1rem;
}


.section-body h2,
.section-inner > h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-body p {
  color: var(--stone);
  max-width: 520px;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ─── PORTFOLIO ─────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.portfolio-img.placeholder {
  background: #2a2521;
  border: 1px solid #333;
}

.portfolio-caption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  text-transform: uppercase;
}

/* ─── PORTFOLIO CAROUSEL ────────────────────────── */
.coverflow-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.coverflow-stage {
  flex: 1;
  position: relative;
  height: 780px;
  overflow: hidden;
}

.coverflow-item {
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  transition: left 0.5s ease, width 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
}

.coverflow-item img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 700px;
  object-fit: contain;
}

.coverflow-item .portfolio-caption {
  text-align: center;
  margin-top: 0.6rem;
}

.coverflow-item.is-active {
  left: 50%;
  width: 58%;
  opacity: 1;
  filter: none;
  z-index: 3;
}

.coverflow-item.is-prev {
  left: 19%;
  width: 28%;
  opacity: 0.45;
  filter: blur(2.5px);
  z-index: 2;
}

.coverflow-item.is-next {
  left: 81%;
  width: 28%;
  opacity: 0.45;
  filter: blur(2.5px);
  z-index: 2;
}

.coverflow-item.is-hidden {
  left: 50%;
  width: 28%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.carousel-btn {
  background: none;
  border: 1px solid var(--stone);
  color: var(--stone);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  font-family: inherit;
}

.carousel-btn:hover {
  border-color: var(--off-white);
  color: var(--off-white);
}

/* ─── REVIEWS ───────────────────────────────────── */
.review-carousel {
  display: grid;
  margin-top: 2.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.review-slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.review-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.review-card {
  text-align: center;
  padding: 2rem 1rem;
}

.review-card p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.review-card cite {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  font-style: normal;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.review-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--warm-mid);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.review-dot.is-active {
  background: var(--gold);
  transform: scale(1.3);
}

.review-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.review-carousel {
  flex: 1;
  margin-top: 0;
}

.review-btn {
  background: none;
  border: 1px solid var(--warm-mid);
  color: var(--stone);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  font-family: inherit;
}

.review-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-shop-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

/* ─── CONTACT ───────────────────────────────────── */
.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.contact-sub {
  color: var(--stone);
  margin-bottom: 2.5rem;
  max-width: 460px;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-link-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-link-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-link-note {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
}

.contact-link-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.contact-link-value:hover {
  color: var(--gold);
}

/* ─── FOOTER ────────────────────────────────────── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: var(--ink);
  color: var(--stone);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ─── THEME TOGGLE ──────────────────────────────── */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--stone);
  display: flex;
  align-items: center;
  padding: 0.2rem 0.1rem;
  transition: color 0.2s ease;
  line-height: 1;
}

.theme-toggle:hover {
  color: var(--ink);
}

.nav-hamburger {
  display: none;
}

/* ─── DARK MODE ─────────────────────────────────── */
[data-theme="dark"] {
  --ink:       #e0d4c4;
  --off-white: #0d0b09;
  --warm-mid:  #1d1813;
  --stone:     #7a6e65;
  --dark-bg:   #060402;
}

[data-theme="dark"] body {
  background-color: var(--off-white);
  color: var(--ink);
}

[data-theme="dark"] .navbar {
  background: rgba(13, 11, 9, 0.92);
  border-bottom-color: #2a2018;
}

[data-theme="dark"] .about-text {
  background: #131109;
}

[data-theme="dark"] .about-text p {
  color: var(--stone);
}

[data-theme="dark"] .section-dark {
  background: #060402;
  color: #e0d4c4;
}

[data-theme="dark"] .section-dark h2 {
  color: #e0d4c4;
}

[data-theme="dark"] .portfolio-img.placeholder {
  background: #160f0a;
  border-color: #2a2018;
}

[data-theme="dark"] .review-card {
  border-top-color: #2a2018;
}

[data-theme="dark"] .review-card p {
  color: var(--ink);
}

[data-theme="dark"] .section-accent {
  background: #1d1813;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background: #1a1510;
  border-color: #2a2018;
  color: var(--ink);
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
  color: var(--stone);
}

[data-theme="dark"] .btn-primary {
  background: #2a2018;
  color: var(--ink);
  border-color: #3a3020;
}

[data-theme="dark"] .btn-primary:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

[data-theme="dark"] .footer {
  background: #060402;
  color: var(--stone);
}

[data-theme="dark"] .hero-title {
  color: #1a1714;
}

[data-theme="dark"] .hero-overlay .btn-primary {
  background: #1a1714;
  color: #f7f4ef;
  border-color: #1a1714;
}

[data-theme="dark"] .hero-overlay .btn-primary:hover {
  background: transparent;
  color: #1a1714;
}

[data-theme="dark"] .about-image {
  background: #131109;
}

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
  }

  /* ── Hamburger ── */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    width: 2rem;
    height: 2rem;
  }

  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-hamburger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* ── Mobile nav dropdown ── */
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 2rem 2rem;
    background: rgba(247, 244, 239, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--warm-mid);
    z-index: 99;
  }

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

  .nav-links a {
    font-size: 0.85rem;
  }

  [data-theme="dark"] .nav-links {
    background: rgba(13, 11, 9, 0.97);
    border-bottom-color: #2a2018;
  }

  /* ── Hero ── */
  .hero-images {
    grid-template-columns: 1fr;
    height: calc(100vh - 68px);
  }

  .hero-image-left {
    display: none;
  }

  .hero-image-right img {
    display: none;
  }

  .hero-image-right {
    background-image: url('images/hero-horse.jpg');
    background-size: cover;
    background-position: 90% center;
  }

  /* ── Portfolio carousel ── */
  .coverflow-stage {
    height: 360px;
    touch-action: pan-y;
  }

  .coverflow-item img {
    max-height: 280px;
  }

  .coverflow-item.is-active {
    width: 60%;
  }

  .coverflow-item.is-prev {
    left: 14%;
    width: 24%;
  }

  .coverflow-item.is-next {
    left: 86%;
    width: 24%;
  }

  /* ── Reviews carousel ── */
  .review-carousel {
    touch-action: pan-y;
  }

  /* ── General ── */
  .section {
    padding: 4rem 1.5rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}