/*
Theme Name: Swanswing Boutique Cattery
Theme URI: https://swanswing.com
Description: A calm, boutique single-page WordPress theme for Swanswing Cattery. Designed for one-family-at-a-time cat boarding with a warm, refined aesthetic.
Version: 1.0.0
Author: Swanswing
Tags: one-page, single-page, cattery, pet, boutique, custom-logo, custom-colors
Text Domain: swanswing
*/

/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --cream:       #f5f0e8;
  --cream-dark:  #ede7d9;
  --sage:        #4a6741;
  --sage-light:  #6b8f62;
  --sage-pale:   #e8ede6;
  --warm-white:  #faf8f4;
  --charcoal:    #2c2c2a;
  --mid-grey:    #6b6b67;
  --light-grey:  #d4cfc6;
  --accent:      #c4a882;
  --accent-dark: #a88960;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;
  --max-width:    1100px;
  --section-pad:  90px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 1rem;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--cream { background: var(--cream); }
.section--sage-pale { background: var(--sage-pale); }
.section--charcoal { background: var(--charcoal); color: var(--cream); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
  background: rgba(250, 248, 244, 0.97);
  box-shadow: 0 1px 0 var(--light-grey);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}

.site-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 2px;
}

.site-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--sage); }

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn--sage {
  background: var(--sage);
  color: #fff;
}
.btn--sage:hover {
  background: var(--sage-light);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn--outline-light:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.nav-cta { margin-left: 10px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(74,103,65,0.06) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(196,168,130,0.08) 0%, transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-content {}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--sage);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-title em {
  font-style: italic;
  color: var(--sage);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--mid-grey);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-reassurance {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--mid-grey);
  letter-spacing: 0.03em;
}

.hero-image-frame {
  position: relative;
}

.hero-image-frame .image-placeholder {
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.hero-image-frame .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: #fff;
  padding: 20px 24px;
  border-radius: 3px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  max-width: 220px;
}

.hero-card p {
  font-size: 0.78rem;
  color: var(--mid-grey);
  line-height: 1.5;
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 6px;
}

/* ============================================================
   WHY CHOOSE — FEATURE CARDS STRIP
   ============================================================ */
#why-choose {
  background: var(--warm-white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}

.why-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}

.why-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.why-header p {
  color: var(--mid-grey);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  overflow: hidden;
}

.why-card {
  padding: 36px 32px;
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  transition: background 0.2s;
}
.why-card:hover { background: var(--cream); }
.why-card:nth-child(2n) { border-right: none; }
.why-card:nth-child(3), .why-card:nth-child(4) { border-bottom: none; }

.why-card .card-icon {
  width: 36px;
  height: 36px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card .card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.65;
}

/* Additional bullet list in why section */
.why-highlights {
  margin-top: 10px;
  padding-left: 0;
}
.why-highlights li {
  font-size: 0.85rem;
  color: var(--mid-grey);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.why-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 0.75rem;
}

/* ============================================================
   CONCEPT — PRIVATE BOARDING
   ============================================================ */
#concept {
  background: var(--charcoal);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

#concept::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: rgba(74,103,65,0.12);
}

.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.concept-content h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 24px;
}

.concept-content p {
  color: rgba(245,240,232,0.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.concept-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.pillar {
  padding: 20px;
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 3px;
  background: rgba(245,240,232,0.04);
}

.pillar h4 {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.6;
  margin: 0;
}

.concept-image {
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.concept-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.concept-image .image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(44,44,42,0.85);
  backdrop-filter: blur(8px);
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 0.78rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}

/* ============================================================
   ACCOMMODATION
   ============================================================ */
#accommodation {
  background: var(--cream);
}

.accomm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.accomm-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}

.accomm-content > p {
  color: var(--mid-grey);
  margin-bottom: 36px;
}

.accomm-features {}

.accomm-feature {
  padding: 24px 0;
  border-bottom: 1px solid var(--light-grey);
}
.accomm-feature:first-child { padding-top: 0; }
.accomm-feature:last-child { border-bottom: none; }

.accomm-feature h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.accomm-feature p {
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.65;
}

.accomm-image-stack {
  position: relative;
  padding-top: 20px;
}

.image-main {
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  border-radius: 3px;
  overflow: hidden;
}

.image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  top: -10px;
  right: -15px;
  background: var(--sage);
  color: #fff;
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.accomm-tabs {
  margin-top: 20px;
  display: flex;
  gap: 0;
  border: 1px solid var(--light-grey);
  border-radius: 2px;
  overflow: hidden;
}

.accomm-tab {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  background: var(--warm-white);
  color: var(--mid-grey);
  border-right: 1px solid var(--light-grey);
  cursor: default;
}
.accomm-tab:last-child { border-right: none; }
.accomm-tab.active {
  background: var(--sage);
  color: #fff;
}

/* ============================================================
   CHECKS & ASSURANCE
   ============================================================ */
#assurance {
  background: var(--warm-white);
}

.assurance-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 60px;
}

.assurance-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.assurance-header p { color: var(--mid-grey); }

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

.assurance-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 32px;
  border: 1px solid var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.assurance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--sage);
}

.assurance-card h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.assurance-card p {
  font-size: 0.88rem;
  color: var(--mid-grey);
  line-height: 1.65;
}

/* ============================================================
   ENQUIRY / BOOKING
   ============================================================ */
#enquiry {
  background: var(--sage);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#enquiry::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}

.enquiry-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.enquiry-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 20px;
}

.enquiry-content p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}

.owner-journey {
  counter-reset: step;
}

.journey-step {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2px;
}

.journey-step p {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.enquiry-form-panel {
  background: #fff;
  border-radius: 4px;
  padding: 40px;
}

.enquiry-form-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.enquiry-form-panel .form-lead {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--light-grey);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--warm-white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
}

.form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--sage);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--charcoal); }

/* Contact details below form */
.contact-details {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.contact-item .label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  min-width: 60px;
  padding-top: 1px;
}

.contact-item .value {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--charcoal);
  color: rgba(245,240,232,0.5);
  padding: 32px 40px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

#site-footer a {
  color: rgba(245,240,232,0.5);
  transition: color 0.2s;
}
#site-footer a:hover { color: var(--cream); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(245,240,232,0.7);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 60px; }

  .hero-inner,
  .concept-inner,
  .accomm-inner,
  .enquiry-inner { grid-template-columns: 1fr; gap: 48px; }

  .hero-image-frame { order: -1; }
  .hero-image-frame .image-placeholder { aspect-ratio: 16/9; }
  .hero-card { left: 0; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none !important; }
  .why-card:nth-child(3) { border-bottom: 1px solid var(--light-grey) !important; }

  .assurance-grid { grid-template-columns: 1fr; }
  .concept-pillars { grid-template-columns: 1fr; }

  .site-nav { display: none; }
  .site-nav.open { display: block; position: fixed; inset: 0; background: var(--warm-white); z-index: 99; padding: 100px 40px 40px; }
  .site-nav.open ul { flex-direction: column; gap: 24px; }
  .site-nav.open a { font-size: 1.2rem; }
  .menu-toggle { display: flex; z-index: 101; }

  .form-row { grid-template-columns: 1fr; }
  .enquiry-form-panel { padding: 28px 24px; }

  #site-header { padding: 16px 24px; }
  .container { padding: 0 24px; }
}
