/* ============================================================
   The Pimlico Gardener — shared stylesheet
   Palette drawn from the KSOLIMAN business card
   ============================================================ */

:root {
  --cream:        #F3EDCF;
  --cream-soft:   #EDE6C1;
  --ink:          #1A2713;
  --leaf-dark:    #15331B;
  --leaf-mid:     #345E2E;
  --leaf-light:   #7A9A5B;
  --sage-dot:     #9CB280;
  --rule:         #1A2713;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* ---------- Fern framing (top band + two bottom corner pieces) ---------- */
.fern-top {
  position: fixed;
  top: 58px; left: 0;
  width: 100vw;
  height: clamp(90px, 13vh, 150px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,1) 30%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,1) 30%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

.fern-bl,
.fern-br {
  position: fixed;
  bottom: 0;
  width: clamp(110px, 14vw, 180px);
  max-height: clamp(110px, 15vh, 180px);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  object-fit: contain;
}
.fern-bl { left: 0;  object-position: left bottom; }
.fern-br { right: 0; object-position: right bottom; }

@media (max-width: 640px) {
  .fern-top { height: clamp(70px, 10vh, 110px); opacity: 0.65; }
  .fern-bl, .fern-br {
    width: clamp(80px, 20vw, 120px);
    max-height: clamp(90px, 12vh, 130px);
    opacity: 0.62;
  }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  padding: 1.3rem 2.4rem;
  z-index: 10;
  background: var(--cream);
}

.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.nav a:hover,
.nav a.active {
  border-bottom-color: var(--leaf-mid);
  color: var(--leaf-dark);
}

@media (max-width: 560px) {
  .nav { padding: 1.2rem 1.2rem; }
  .nav ul { gap: 1.2rem; }
  .nav a { font-size: 0.7rem; letter-spacing: 0.18em; }
}

/* ---------- Page wrapper ---------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(10rem, 22vh, 13rem) 8vw clamp(8rem, 20vh, 11rem);
  text-align: center;
}

.page.landing {
  padding: 7rem 6vw 7rem;
}

/* ---------- Landing ---------- */
.hero {
  max-width: 900px;
}

.hero h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.05;
  white-space: nowrap;
}

.hero .rule {
  width: min(72%, 580px);
  height: 2.4px;
  background: linear-gradient(to right,
    rgba(26,39,19,0) 0%,
    rgba(26,39,19,0.95) 15%,
    rgba(26,39,19,1) 50%,
    rgba(26,39,19,0.95) 85%,
    rgba(26,39,19,0) 100%);
  margin: 1.4rem auto 1.8rem;
  border: none;
  border-radius: 2px;
}

.content .rule {
  width: 200px;
  height: 1.3px;
  background: linear-gradient(to right,
    rgba(26,39,19,0) 0%,
    rgba(26,39,19,0.9) 50%,
    rgba(26,39,19,0) 100%);
  margin: 1.2rem auto 2rem;
  border: none;
}

.hero .tagline {
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .services {
  margin-top: 1.2rem;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: center;
}

@media (max-width: 560px) {
  .hero .services { letter-spacing: 0.18em; gap: 0.5em; font-size: 0.72rem; }
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-dot);
  flex-shrink: 0;
}

/* ---------- Inner page heading (About, Contact) ---------- */
.content {
  max-width: 680px;
  width: 100%;
  position: relative;
}

.content::before {
  content: "";
  position: absolute;
  inset: -1.5rem -2rem;
  background: radial-gradient(ellipse at center,
    rgba(243, 237, 207, 0.85) 0%,
    rgba(243, 237, 207, 0.7) 60%,
    rgba(243, 237, 207, 0) 100%);
  z-index: -1;
  border-radius: 12px;
  pointer-events: none;
}

.content h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.content p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.content p + p { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: "Raleway", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
}

.contact-list li span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: var(--leaf-mid);
  margin-bottom: 0.3rem;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.contact-list .email {
  font-size: clamp(0.68rem, 1.9vw, 0.88rem);
  letter-spacing: 0.08em;
  text-transform: none;
  font-family: "Raleway", sans-serif;
}

.contact-list a:hover {
  border-bottom-color: var(--leaf-mid);
}

/* ---------- Contact form ---------- */
.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form label span {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--leaf-mid);
  font-family: "Raleway", sans-serif;
}

.contact-form input,
.contact-form textarea {
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: rgba(255, 253, 240, 0.55);
  border: 1px solid rgba(26, 39, 19, 0.25);
  border-radius: 2px;
  padding: 0.65rem 0.8rem;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--leaf-mid);
  background: rgba(255, 253, 240, 0.9);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form button {
  margin-top: 0.5rem;
  align-self: center;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.85rem 2.4rem;
  background: var(--leaf-dark);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: var(--leaf-mid);
}

/* ---------- Gallery carousel ---------- */
.gallery {
  max-width: 1000px;
  width: 100%;
}

.carousel-wrap {
  position: relative;
  margin: 1.6rem auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.carousel {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 3 / 2;
  max-height: 70vh;
  background: transparent;
  border: none;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-btn {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--leaf-dark);
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover {
  opacity: 1;
  color: var(--leaf-mid);
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.55rem;
}

.carousel-dots button {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(26, 39, 19, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots button.active {
  background: rgba(26, 39, 19, 0.55);
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .carousel { aspect-ratio: 4 / 5; }
  .carousel-btn { width: 26px; font-size: 1.4rem; }
}

/* ---------- Footer service strip ---------- */
.strip {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--leaf-dark);
  opacity: 0.75;
}
