/* Dee's Dog Care Services — brand palette from official logo */
:root {
  --orange: #ff6600;
  --orange-dark: #e55a00;
  --orange-light: #ff8533;
  --yellow: #ffd028;
  --yellow-soft: #fff3c4;
  --blue: #00a8e8;
  --blue-dark: #0088c2;
  --blue-soft: #e8f7fd;
  --ink: #1a1a1a;
  --text: #2d2d2d;
  --muted: #5c5c5c;
  --white: #ffffff;
  --cream: #fffaf5;
  --card: rgba(255, 255, 255, 0.97);
  --shadow: 0 12px 40px rgba(255, 102, 0, 0.1);
  --shadow-blue: 0 8px 24px rgba(0, 168, 232, 0.12);
  --radius: 16px;
  --radius-pill: 999px;
  --font: "Nunito", system-ui, sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-script: "Caveat", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
}

/* Background with soap-bubble accents (like the flyers) */
.bg-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(165deg, var(--blue-soft) 0%, var(--cream) 40%, var(--yellow-soft) 100%);
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(0, 168, 232, 0.15));
  border: 2px solid rgba(0, 168, 232, 0.2);
  pointer-events: none;
}

.bubble-1 { width: 80px; height: 80px; top: 12%; left: 4%; opacity: 0.6; }
.bubble-2 { width: 48px; height: 48px; top: 28%; right: 6%; opacity: 0.5; }
.bubble-3 { width: 64px; height: 64px; top: 55%; left: 8%; opacity: 0.45; }
.bubble-4 { width: 36px; height: 36px; bottom: 20%; right: 10%; opacity: 0.55; }
.bubble-5 { width: 56px; height: 56px; bottom: 8%; left: 15%; opacity: 0.4; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: center;
}

nav a {
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover,
nav a:focus-visible {
  color: var(--orange);
  background: rgba(255, 102, 0, 0.08);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  padding: 2rem 0 3rem;
  text-align: center;
}

.hero-panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow), var(--shadow-blue);
  border: 3px solid var(--orange);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--blue));
}

.hero-logo {
  max-width: min(320px, 85vw);
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 400;
  color: var(--blue-dark);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.35);
  border-color: var(--ink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-dark);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 168, 232, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.btn-ghost {
  color: var(--blue-dark);
  border: 2px solid var(--blue);
  background: var(--white);
}

.btn-ghost:hover {
  background: var(--blue-soft);
}

/* Sections — yellow header bars like the flyers */
section {
  margin-bottom: 3.5rem;
}

section h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.25rem;
  padding: 0.5rem 1.1rem;
  background: var(--yellow);
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: inline-block;
  box-shadow: 2px 2px 0 var(--ink);
}

.pricing-subheading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin: 2rem 0 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 208, 40, 0.45);
  border-radius: 8px;
  display: inline-block;
}

.pricing-subheading:first-of-type {
  margin-top: 0.5rem;
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
  margin: -0.25rem 0 1.5rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 102, 0, 0.15);
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--blue-dark);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-price {
  margin: 0.85rem 0 0;
  font-weight: 800;
  color: var(--orange);
  font-size: 1.05rem;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow-soft), var(--blue-soft));
  border: 2px solid rgba(0, 168, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
}

/* About & contact blocks */
.about-block,
.contact-info,
.form-panel,
.contact-form-wrap,
.guideline-card,
.pricing-table-wrap {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(0, 168, 232, 0.12);
}

.about-block {
  padding: 2rem;
}

.about-block p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.highlight-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.highlight-list li {
  margin-bottom: 0.35rem;
}

.highlight-list li::marker {
  color: var(--orange);
}

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

.contact-info,
.form-panel,
.contact-form-wrap {
  padding: 1.5rem 1.75rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--blue-dark);
}

.contact-info p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Pricing tables */
.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.pricing-table th,
.pricing-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 102, 0, 0.1);
}

.pricing-table th {
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--yellow-soft);
}

.price-cell {
  font-weight: 800;
  color: var(--orange);
  white-space: nowrap;
}

.details-cell {
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-table-grooming th[scope="row"] {
  font-weight: 700;
  color: var(--blue-dark);
}

.grooming-note {
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.pricing-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-note a {
  color: var(--orange);
  font-weight: 700;
}

/* Guidelines */
.guidelines-list {
  display: grid;
  gap: 1rem;
}

.guideline-card {
  padding: 1.5rem 1.75rem;
}

.guideline-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  color: var(--blue-dark);
}

.guideline-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

/* Forms */
.site-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-dark);
}

.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.field-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid rgba(0, 168, 232, 0.25);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.field-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field ul.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c62828;
  font-size: 0.85rem;
}

.form-errors {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(198, 40, 40, 0.08);
  color: #c62828;
  font-size: 0.92rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Flash messages */
.flash-messages {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem 0;
}

.flash {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.flash-success {
  background: var(--blue-soft);
  color: var(--blue-dark);
  border: 2px solid var(--blue);
}

.flash-error {
  background: rgba(198, 40, 40, 0.08);
  color: #c62828;
  border: 2px solid rgba(198, 40, 40, 0.2);
}

.btn-facebook,
.btn-facebook-inline {
  border-color: #1877f2;
  color: #1877f2;
}

.btn-facebook:hover,
.btn-facebook-inline:hover {
  background: rgba(24, 119, 242, 0.08);
}

.address {
  font-style: normal;
  line-height: 1.5;
}

.stock {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-left: 0.35rem;
}

.in-stock {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.out-of-stock {
  background: rgba(198, 40, 40, 0.1);
  color: #c62828;
}

.empty-note {
  color: var(--muted);
  grid-column: 1 / -1;
}

/* Booking calendar */
.booking-calendar-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.booking-calendar-wrap {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 2px solid rgba(0, 168, 232, 0.15);
}

.booking-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.cal-month-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  color: var(--blue-dark);
}

.cal-nav-btn {
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue-dark);
  border-radius: 10px;
  width: 2.25rem;
  height: 2.25rem;
  font-weight: 800;
  cursor: pointer;
}

.cal-nav-btn:hover {
  background: var(--blue-soft);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-day {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--text);
}

.cal-day--pad {
  background: transparent;
  border: none;
  cursor: default;
}

.cal-day--open:hover {
  border-color: var(--orange);
  background: var(--yellow-soft);
}

.cal-day--open {
  background: #fff;
  border-color: rgba(92, 122, 74, 0.15);
}

.cal-day--selected {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
}

.cal-day--past,
.cal-day--full {
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.65;
}

.cal-slots-panel {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px dashed rgba(255, 102, 0, 0.2);
}

.cal-slots-title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.cal-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cal-slot {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

.cal-slot:hover {
  background: var(--blue-soft);
}

.cal-slot--selected {
  background: var(--blue);
  color: var(--white);
  border-color: var(--ink);
}

.cal-selection {
  margin: 1rem 0 0;
  font-weight: 700;
  color: var(--orange);
  font-size: 0.95rem;
}

.cal-loading,
.cal-empty {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

#booking-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* News & updates */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.news-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 102, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.news-theme-travel::before {
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.news-theme-boarding::before {
  background: linear-gradient(90deg, var(--yellow), var(--blue));
}

.news-theme-vacation::before {
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.news-card-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.news-date {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.15rem 0 0.35rem;
  line-height: 1.25;
}

.news-card h3 a {
  color: var(--blue-dark);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--orange);
}

.news-card-subtitle {
  margin: 0;
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--orange);
  line-height: 1.2;
}

.news-card > p:not(.news-date):not(.news-card-subtitle) {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.news-read-more {
  margin-top: 0.65rem;
  font-weight: 800;
  color: var(--orange);
  text-decoration: none;
  font-size: 0.92rem;
}

.news-read-more:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Full news article page */
.page-article main {
  padding-top: 1.25rem;
}

.article-page {
  max-width: 720px;
  margin: 0 auto;
}

.article-page-toolbar {
  margin-bottom: 1rem;
}

.news-article {
  margin: 0 0 2.5rem;
  padding: 2.25rem 2rem 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 102, 0, 0.15);
}

.news-theme-travel.news-article { border-top: 6px solid var(--orange); }
.news-theme-boarding.news-article { border-top: 6px solid var(--yellow); }
.news-theme-vacation.news-article { border-top: 6px solid var(--blue); }

.news-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.35rem 0;
}

.news-back:hover {
  color: var(--orange);
}

.news-article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(255, 102, 0, 0.12);
}

.news-article-header .news-date {
  margin: 0 0 0.65rem;
}

.news-article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.news-subtitle {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--orange);
  margin: 0;
  line-height: 1.3;
}

.news-highlights {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--yellow-soft);
  border-radius: 12px;
  border-left: 4px solid var(--orange);
}

.news-highlights li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--text);
}

.news-highlights li:last-child {
  margin-bottom: 0;
}

.news-highlights li::before {
  content: "🐾";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.news-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.news-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 102, 0, 0.12);
}

.news-cta .btn {
  flex: 1 1 160px;
  text-align: center;
}

.news-contact-line {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.news-contact-line a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.news-contact-line a:hover {
  text-decoration: underline;
}

.news-related {
  max-width: none;
  margin: 0 0 1rem;
  padding: 0;
}

.news-related h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

/* Footer — orange band like the flyer footer */
footer {
  background: var(--orange);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  border-top: 4px solid var(--ink);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 72px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.footer-social {
  color: var(--yellow);
  font-family: var(--font-script);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-social:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

  nav ul {
    gap: 0.15rem 0.65rem;
  }

  nav a {
    font-size: 0.82rem;
    padding: 0.25rem 0.35rem;
  }

  .hero-panel {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .hero .btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  section h2 {
    font-size: 1.35rem;
    display: block;
  }
}
