/*
Theme Name: Short Stays Theme
Theme URI: https://tpsshortstays.com
Author: Intercession Marketing Inc.
Author URI: https://intercessionmarketing.com
Description: A custom WordPress theme for Short Stays Respite Services with Home, Services, Book Consultation, Book A Stay, Contact, and Payment Portal pages.
Version: 2.0.8
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: short-stays-theme
*/

:root {
  --sst-navy: #08214a;
  --sst-dark: #222222;
  --sst-teal: #008c8c;
  --sst-teal-light: #9ee6df;
  --sst-gold: #f2c14e;
  --sst-gold-dark: #b8860b;
  --sst-purple: #4b2f83;
  --sst-cream: #fffaf5;
  --sst-soft-cream: #f9f4ec;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--sst-dark);
  background: var(--sst-cream);
}

a { color: inherit; }

.sst-site-header {
  background: var(--sst-navy);
  color: white;
  padding: 16px 20px;
}

.sst-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.sst-brand {
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--sst-gold);
  font-size: 22px;
}

.sst-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.sst-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.sst-nav a:hover { color: var(--sst-gold); }

.sst-page,
.home-page,
.tps-page,
.consult-page,
.stay-page,
.contact-page,
.payment-page,
.thankyou-page {
  font-family: Arial, sans-serif;
  color: #222;
  background: #fffaf5;
  padding: 0;
  margin: 0;
}

.sst-button,
.tps-button,
.consult-button,
.stay-button,
.contact-button,
.payment-button,
.thankyou-button,
.home-button {
  display: inline-block;
  background: #b8860b;
  color: white !important;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  margin: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.sst-button:hover,
.tps-button:hover,
.payment-button:hover,
.thankyou-button:hover,
.home-button:hover { background: #8a6508; }

.sst-button.teal,
.tps-button.teal,
.consult-button,
.stay-button,
.contact-button,
.payment-button.teal,
.thankyou-button.teal,
.home-button.teal {
  background: #008c8c;
}

.sst-button.teal:hover,
.tps-button.teal:hover,
.consult-button:hover,
.stay-button:hover,
.contact-button:hover,
.payment-button.teal:hover,
.thankyou-button.teal:hover,
.home-button.teal:hover { background: #006f6f; }

.sst-button.purple,
.tps-button.purple,
.payment-button.purple,
.thankyou-button.purple,
.home-button.purple {
  background: #4b2f83;
}

.sst-button.purple:hover,
.tps-button.purple:hover,
.payment-button.purple:hover,
.thankyou-button.purple:hover,
.home-button.purple:hover { background: #372263; }

/* Shared hero */
.sst-hero,
.home-hero,
.tps-hero,
.consult-hero,
.stay-hero,
.contact-hero,
.payment-hero,
.thankyou-hero {
  background: linear-gradient(rgba(0, 91, 91, .62), rgba(8, 33, 74, .68)),
    url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 90px 20px;
}

.home-hero {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.home-card {
  max-width: 950px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 28px;
  padding: 55px 35px;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
}

.sst-badge,
.home-badge,
.tps-booking-badge,
.consult-badge,
.stay-badge,
.contact-badge,
.payment-badge,
.thankyou-badge {
  display: inline-block;
  background: #f2c14e;
  color: #222;
  padding: 12px 26px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.home-logo,
.tps-hero h1,
.consult-hero h1,
.stay-hero h1,
.contact-hero h1,
.payment-hero h1,
.thankyou-hero h1 {
  font-size: 50px;
  margin: 0 0 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f2c14e;
  text-shadow: 0 3px 10px rgba(0,0,0,.35);
}

.home-subtitle,
.tps-hero .subtitle,
.consult-hero .subtitle,
.stay-hero .subtitle,
.contact-hero .subtitle,
.payment-hero .subtitle,
.thankyou-hero .subtitle {
  font-size: 26px;
  color: #9ee6df;
  font-weight: bold;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.home-tagline {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #ffffff;
}

.home-script,
.tps-hero .script {
  font-size: 26px;
  font-style: italic;
  color: #f2c14e;
  margin-bottom: 28px;
}

.home-headline,
.tps-hero h2 {
  font-size: 40px;
  max-width: 900px;
  margin: 0 auto 18px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0,0,0,.45);
}

.home-headline span,
.tps-hero h2 span { color: #f2c14e; }

.home-text,
.tps-hero p,
.consult-hero p,
.stay-hero p,
.contact-hero p,
.payment-hero p,
.thankyou-hero p {
  font-size: 20px;
  max-width: 850px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #ffffff;
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.home-mini-item {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 18px 12px;
  font-weight: bold;
  color: #ffffff;
}

.home-footer {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: #f4f4f4;
}

.home-footer a { color: #f2c14e; font-weight: bold; }

/* Shared sections */
.tps-section,
.consult-section,
.stay-section,
.contact-section,
.payment-section,
.thankyou-section {
  padding: 60px 20px;
  max-width: 1180px;
  margin: auto;
}

.tps-section h2,
.consult-section h2,
.stay-section h2,
.contact-section h2,
.payment-section h2,
.thankyou-section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.tps-section p.intro,
.consult-section p.intro,
.stay-section p.intro,
.contact-section p.intro,
.payment-section p.intro,
.thankyou-section p.intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.7;
}

.tps-grid,
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.tps-grid.two,
.contact-grid,
.payment-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.tps-card,
.consult-card,
.stay-card,
.contact-card,
.payment-card,
.thankyou-card {
  background: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  border: 1px solid #eee;
}

.tps-card h3,
.consult-card h3,
.stay-card h3,
.contact-card h3,
.payment-card h3,
.thankyou-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
  color: #111;
}

.tps-card p,
.consult-card p,
.stay-card p,
.contact-card p,
.payment-card p,
.thankyou-card p {
  line-height: 1.7;
}

.tps-card ul,
.consult-card ul,
.stay-card ul,
.contact-card ul,
.payment-card ul,
.thankyou-card ul {
  padding-left: 20px;
  line-height: 1.8;
}

.tps-price,
.payment-price {
  font-size: 34px;
  font-weight: bold;
  color: #b8860b;
  margin: 15px 0 5px;
}

.tps-price span,
.payment-price span {
  display: block;
  font-size: 15px;
  color: #333;
  text-transform: uppercase;
  margin-top: 4px;
}

.tps-services { background: #ffffff; }

.tps-service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.tps-service-item {
  background: #f9f4ec;
  padding: 25px;
  border-radius: 18px;
  border-left: 7px solid #b8860b;
}

.tps-service-item h3 {
  margin-top: 0;
  font-size: 22px;
  color: #222;
}

.tps-service-item p { line-height: 1.6; margin-bottom: 0; }

.tps-how {
  background: #f4eadc;
  border-radius: 18px;
  padding: 40px;
}

.tps-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.tps-step {
  background: white;
  padding: 25px;
  border-radius: 16px;
}

.tps-step strong {
  display: block;
  font-size: 22px;
  color: #b8860b;
  margin-bottom: 8px;
}

.tps-benefits { background: #fffaf5; }

.tps-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 850px;
  margin: 0 auto;
}

.tps-check {
  background: white;
  padding: 18px;
  border-radius: 14px;
  font-weight: bold;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.tps-check::before {
  content: "✓";
  color: #008c8c;
  font-weight: bold;
  margin-right: 10px;
}

.tps-note,
.consult-note,
.stay-note,
.payment-note,
.contact-note {
  background: #fff3cf;
  border-left: 8px solid #b8860b;
  padding: 28px;
  border-radius: 16px;
  max-width: 900px;
  margin: 40px auto 0;
  line-height: 1.6;
}

.tps-banner {
  background: #222;
  color: white;
  text-align: center;
  padding: 55px 20px;
}

.tps-banner h2 {
  color: white;
  font-size: 34px;
  margin-bottom: 15px;
}

.tps-banner p {
  font-size: 20px;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}

.tps-contact,
.consult-contact,
.stay-contact,
.contact-contact,
.payment-contact,
.thankyou-contact {
  background: #222;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.tps-contact h2,
.consult-contact h2,
.stay-contact h2,
.contact-contact h2,
.payment-contact h2,
.thankyou-contact h2 { color: white; }

.tps-contact a,
.consult-contact a,
.stay-contact a,
.contact-contact a,
.payment-contact a,
.thankyou-contact a { color: #f2c14e; font-weight: bold; }

.sst-site-footer {
  background: #008c8c;
  color: white;
  text-align: center;
  padding: 18px;
  font-weight: bold;
}

/* Forms */
.consult-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 30px;
  align-items: start;
}

.consult-form,
.stay-form,
.contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  border: 1px solid #eee;
}

.consult-form label,
.stay-form label,
.stay-field label,
.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #222;
}

.consult-form input,
.consult-form select,
.consult-form textarea,
.stay-form input,
.stay-form select,
.stay-form textarea,
.stay-field input,
.stay-field select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 18px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

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

.consult-row,
.stay-row,
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.consult-button,
.contact-button { width: 100%; }

.consult-small,
.stay-small,
.contact-small,
.payment-small {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-top: 14px;
}

/* Stay booking page */
.stay-hero { padding: 95px 20px 120px; }

.stay-booking-wrapper {
  max-width: 1180px;
  margin: -70px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.stay-booking-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0,0,0,.18);
  padding: 28px;
  border: 1px solid #eee;
}

.stay-booking-card h2 {
  margin: 0 0 20px;
  font-size: 30px;
  color: #222;
  text-align: center;
}

.stay-search-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr .9fr;
  gap: 16px;
  align-items: end;
}

.stay-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: start;
}

.stay-room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stay-room-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  border: 1px solid #eee;
}

.stay-room-top {
  padding: 26px;
  color: white;
  min-height: 135px;
}

.stay-room-top.level-one { background: linear-gradient(135deg, #008c8c, #006f6f); }
.stay-room-top.level-two { background: linear-gradient(135deg, #b8860b, #8a6508); }
.stay-room-top.level-three { background: linear-gradient(135deg, #4b2f83, #372263); }

.stay-room-top h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 24px;
}

.stay-price {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

.stay-price span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 5px;
}

.stay-room-body { padding: 24px; }

.stay-amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stay-amenity {
  background: #f9f4ec;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  border: 1px solid #efdfc7;
}

.stay-amenity strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: #222;
}

.stay-summary { position: sticky; top: 20px; }

.stay-summary-box {
  background: #222;
  color: white;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

.stay-summary-box h3 {
  color: #f2c14e;
  font-size: 26px;
  margin: 0 0 18px;
}

.stay-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding: 12px 0;
  font-size: 16px;
}

.stay-summary-line.total {
  border-bottom: none;
  font-size: 22px;
  font-weight: bold;
  color: #f2c14e;
  padding-top: 18px;
}

.stay-summary-box small {
  display: block;
  line-height: 1.6;
  color: #f4f4f4;
  margin-top: 18px;
}

/* Payment page */
.payment-card.featured {
  border: 2px solid #008c8c;
}

.payment-card .payment-button {
  width: calc(100% - 16px);
  box-sizing: border-box;
}

.payment-alert {
  background: #eefafa;
  border-left: 8px solid #008c8c;
  padding: 24px;
  border-radius: 16px;
  line-height: 1.6;
  max-width: 900px;
  margin: 40px auto 0;
}

/* Thank you page */
.thankyou-card {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-card p {
  font-size: 18px;
  line-height: 1.7;
}

.thankyou-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Default content */
.sst-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .stay-search-grid,
  .stay-layout,
  .stay-room-grid,
  .stay-amenities,
  .payment-grid,
  .payment-grid.two {
    grid-template-columns: 1fr;
  }

  .stay-summary { position: relative; top: 0; }
}

@media (max-width: 900px) {
  .sst-header-inner {
    justify-content: center;
    text-align: center;
  }

  .sst-nav ul { justify-content: center; }

  .home-card { padding: 42px 24px; }

  .home-logo,
  .tps-hero h1,
  .consult-hero h1,
  .stay-hero h1,
  .contact-hero h1,
  .payment-hero h1,
  .thankyou-hero h1 { font-size: 36px; }

  .home-subtitle,
  .consult-hero .subtitle,
  .stay-hero .subtitle,
  .contact-hero .subtitle,
  .payment-hero .subtitle,
  .thankyou-hero .subtitle { font-size: 22px; }

  .home-headline,
  .tps-hero h2 { font-size: 30px; }

  .home-text { font-size: 18px; }

  .home-mini { grid-template-columns: 1fr 1fr; }

  .tps-grid,
  .tps-grid.two,
  .tps-steps,
  .tps-service-list,
  .tps-checks,
  .consult-layout,
  .consult-row,
  .stay-row,
  .contact-layout,
  .contact-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .sst-badge,
  .home-badge,
  .tps-booking-badge,
  .consult-badge,
  .stay-badge,
  .contact-badge,
  .payment-badge,
  .thankyou-badge {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .home-mini { grid-template-columns: 1fr; }

  .home-button {
    width: 100%;
    box-sizing: border-box;
  }
}
