/* ============================================================
   Dancing Paws Gibraltar — site stylesheet
   Palette and typography reproduced from the original site:
   cream #FCF1E5 · rose #D19991 · terracotta #BF6C57 · Work Sans
   ============================================================ */

:root {
  --cream: #fcf1e5;
  --white: #ffffff;
  --rose: #d19991;
  --rose-soft: #dca9a2;
  --terracotta: #bf6c57;
  --btn-solid: #bc7f73;
  --ink: #414141;
  --ink-soft: #6b4f47;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

/* height:auto is required because the img tags carry width/height attributes
   (they prevent layout shift); without it the attribute height would stretch
   images wherever CSS only sets the width */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--terracotta); }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header / nav ---------- */

.site-header {
  background: var(--cream);
  position: relative;
}

.nav-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 88px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- language switcher (flags, top right) ---------- */

.lang-switch {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.lang-switch a {
  display: block;
  opacity: 0.45;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
}

.lang-switch a:hover { opacity: 1; transform: scale(1.1); }

.lang-switch a.lang-active {
  opacity: 1;
  outline: 2px solid var(--rose);
  outline-offset: 1px;
}

.lang-switch img {
  display: block;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--rose);
}

/* ---------- hero (home) ---------- */

.hero {
  background: var(--cream);
  padding: 70px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--rose);
}

.hero-sub {
  margin-top: 36px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 300;
  color: var(--rose);
}

.hero-photo img {
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  margin-left: auto;
}

.hero .btn { margin-top: 56px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 58px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.btn:hover { filter: brightness(0.94); }

.btn-rose { background: var(--rose-soft); color: #4f3b35; }
.btn-solid { background: var(--btn-solid); color: var(--white); }
.btn-wa { background: #25d366; color: #fff; border-radius: 6px; }
.btn-fb { background: #1877f2; color: #fff; border-radius: 6px; }
.btn-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border-radius: 6px;
}

/* narrower padding where four buttons sit side by side */
.service-cta .btn { padding: 13px 28px; }

/* ---------- promo strip + badges ---------- */

.hero-badge {
  display: inline-block;
  background: var(--white);
  color: var(--terracotta);
  font-weight: 600;
  font-size: 16px;
  padding: 9px 20px;
  border-radius: 999px;
  margin-top: 26px;
  box-shadow: 0 3px 12px rgba(191, 108, 87, 0.18);
}

.promo-strip {
  background: var(--terracotta);
  color: #fff;
  text-align: center;
  padding: 18px 24px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.promo-strip strong { font-weight: 700; }

.free-note {
  background: var(--cream);
  border-left: 4px solid var(--rose);
  padding: 14px 20px;
  margin: 26px 0;
  color: var(--terracotta);
  font-weight: 600;
}

/* ---------- price list ---------- */

.price-list {
  background: var(--cream);
  border: 1px solid #eee2d6;
  padding: 26px 28px;
  margin: 26px 0 10px;
  max-width: 480px;
}

.price-list h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 14px;
}

.price-list .price-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px dashed #e6cdbd;
  color: var(--ink);
}

.price-list .price-row:last-child { border-bottom: none; }

.price-list .price-row strong { color: var(--terracotta); white-space: nowrap; }

.price-list .price-note {
  font-size: 14px;
  color: #8d8d8d;
  margin-top: 14px;
}

/* ---------- floating WhatsApp button ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.1); }

.wa-float img { width: 34px; height: 34px; }

/* ---------- live social feed ---------- */

.fb-local-card {
  display: none;
  background: var(--white);
  border: 1px solid #eee2d6;
  padding: 28px 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.fb-local-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.fb-local-card p { color: #6d6d6d; }

.follow-grid {
  display: flex;
  justify-content: center;
}

.follow-grid iframe {
  border: none;
  max-width: 100%;
}

.follow-ig {
  text-align: center;
  margin-top: 30px;
  color: var(--terracotta);
  font-weight: 600;
}

.follow-ig a { color: var(--terracotta); }

/* ---------- testimonials ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.quote-card {
  background: var(--white);
  border: 1px solid #eee2d6;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
}

.quote-stars {
  color: var(--rose);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.quote-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--ink);
  flex: 1;
}

.quote-card figcaption {
  margin-top: 18px;
  font-weight: 600;
  color: var(--terracotta);
}

.quote-card figcaption a {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #8d8d8d;
  margin-top: 4px;
}

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

/* ---------- studio page ---------- */

.studio-photo img {
  width: 100%;
  margin: 10px 0 34px;
}

.studio-highlight {
  background: var(--cream);
  border-left: 4px solid var(--rose);
  padding: 20px 24px;
  margin: 26px 0;
}

.studio-highlight h3 {
  color: var(--rose);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.studio-highlight p { color: var(--terracotta); }

/* ---------- generic sections ---------- */

.section { padding: 80px 0; }
.section-cream { background: var(--cream); }

.display-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--rose);
  text-align: center;
  margin-bottom: 48px;
}

.small-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.body-terra {
  color: var(--terracotta);
  text-align: justify;
  letter-spacing: 0.04em;
}

.body-terra + .body-terra { margin-top: 1em; }

.center { text-align: center; }

.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- two-column story blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split + .split { margin-top: 72px; }

.split-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.split .btn { margin-top: 28px; }

/* ---------- services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid #eee2d6;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(191, 108, 87, 0.15);
  transform: translateY(-3px);
}

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

.card-body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.card-tagline {
  font-size: 15px;
  color: #6d6d6d;
  flex: 1;
}

.card-meta {
  font-size: 15px;
  color: #6d6d6d;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee2d6;
}

.card-more {
  margin-top: 16px;
  font-weight: 600;
  color: var(--terracotta);
}

/* ---------- portfolio gallery ---------- */

.gallery {
  columns: 3;
  column-gap: 14px;
}

.gallery img {
  width: 100%;
  margin-bottom: 14px;
  break-inside: avoid;
}

/* ---------- page banner (inner pages) ---------- */

.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner img.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(63, 40, 33, 0.35);
}

.page-banner h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  text-align: center;
  padding: 60px 24px;
}

.page-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 24px;
}

/* ---------- breadcrumbs ---------- */

.breadcrumb {
  font-size: 14px;
  color: #8d8d8d;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: #8d8d8d;
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--terracotta); }

/* ---------- service detail ---------- */

.service-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #6d6d6d;
  font-size: 16px;
  margin: 18px 0 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee2d6;
}

.service-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact-cols {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px 40px;
  justify-content: start;
}

.contact-cols h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.contact-cols p, .contact-cols a {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-cols a:hover { color: var(--terracotta); }

.contact-area { grid-column: 1 / -1; }

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.social-icons img {
  width: 42px;
  height: 42px;
  transition: transform 0.2s;
}

.social-icons a:hover img { transform: scale(1.1); }

.contact-logo img {
  width: min(100%, 400px);
  margin: 0 auto;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--cream);
  border-top: 1px solid #f0e0d0;
  padding: 26px 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav-bar { justify-content: space-between; }

  .nav-toggle-label {
    display: block;
    font-size: 28px;
    color: var(--terracotta);
    cursor: pointer;
    user-select: none;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0 6px;
  }

  .nav-toggle:checked ~ .nav-links { display: flex; }

  .hero { padding: 40px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo img { margin: 0 auto; }
  .hero .btn { margin-top: 36px; }

  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-photo { order: -1; }

  .cards { grid-template-columns: 1fr; }
  .gallery { columns: 2; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .gallery { columns: 1; }
  .contact-cols { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
