/*
Theme Name: Light on Shasta
Theme URI: https://lightonshasta.org
Author: Ms. Sato
Description: Custom WordPress theme for Light on Shasta vibrational wellness, retreats, meditation sessions, and vibrational energy education.
Version: 1.0
*/

/* RESET & GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #06081a;
  color: #ececff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #b799ff;
  text-decoration: none;
}
a:hover {
  color: #d6c4ff;
}

/* Layout helpers */
:root {
  --color-bg: #06081a;
  --color-bg-alt: #0c0f27;
  --color-card: #0f122f;
  --color-accent: #b799ff;
  --color-accent-soft: rgba(183, 153, 255, 0.2);
  --color-muted: #a2a2c8;
  --color-text: #ececff;
  --color-border: rgba(255, 255, 255, 0.09);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------------
   HEADER (TWO ROWS)
------------------------------ */
.site-header {
  background: rgba(8, 10, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 30;
}

/* Top bar: Translate only */
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0;
}

/* Main bar: Logo + Nav */
.mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

/* Brand (logo + text) */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.site-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.brand-text span {
  color: var(--color-accent);
}

/* Nav links (still a flex row, but now in main bar) */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.15rem 0;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Mobile layout */
@media (max-width: 720px) {
  .topbar-inner {
    justify-content: center;
  }
  .mainbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Translate widget */
.translate-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 183, 255, 0.4);
  background: rgba(8, 10, 30, 0.9);
}

.translate-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.goog-te-gadget .goog-te-combo {
  padding: 0.15rem 0.3rem !important;
  border-radius: 8px !important;
  border: 1px solid rgba(200, 183, 255, 0.4) !important;
  background: rgba(6, 8, 26, 0.96) !important;
  color: var(--color-text) !important;
  font-size: 0.8rem !important;
}

/* hide Google top frame */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0 !important;
}

/* PAGE WRAP */
.page-wrap {
  min-height: calc(100vh - 160px);
}

/* SECTIONS */
.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-kicker {
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  margin-top: 0.3rem;
}

.section-intro {
  margin-top: 0.8rem;
  color: var(--color-muted);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Generic text helpers */
.text-small {
  font-size: 0.85rem;
}
.text-muted {
  color: var(--color-muted);
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--color-card);
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 153, 255, 0.5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.65);
}

.card-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Forms */
.form-row {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--color-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: #0a0d24;
  color: var(--color-text);
  font-size: 0.95rem;
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-accent);
  color: #050615;
}
.btn-primary:hover {
  opacity: 0.9;
}

/* FOOTER */
.site-footer {
  padding: 2.4rem 0;
  background: #050619;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}

.footer-inner {
  text-align: center;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.footer-links a {
  font-size: 0.86rem;
}

/* CALENDAR STYLES */
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.7rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.calendar-card {
  background: radial-gradient(circle at top, rgba(200, 183, 255, 0.12), rgba(8, 10, 30, 0.96));
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(85, 95, 180, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

.calendar-month-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.05rem;
}

.calendar-nav-btn {
  background: transparent;
  border-radius: 999px;
  border: 1px solid rgba(200, 183, 255, 0.4);
  padding: 0.2rem 0.6rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}
.calendar-nav-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(60, 65, 110, 0.9);
}

.legend-dot.available {
  background: #ffffff;
}

.legend-dot.partial {
  background: #ffcc80;
}

.legend-dot.full {
  background: #ff8a80;
}

/* Calendar grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
  font-size: 0.85rem;
}

.calendar-day-name {
  text-align: center;
  padding: 0.3rem 0;
  color: var(--color-muted);
}

.date-cell {
  text-align: center;
  padding: 0.55rem 0.2rem;
  border-radius: 10px;
  cursor: pointer;
  background: #ffffff;
  color: #111323;
  border: 1px solid rgba(170, 170, 190, 0.6);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-cell.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.date-cell.status-partial {
  background: #ffcc80;
  border-color: #ffb74d;
}

.date-cell.status-full {
  background: #ff8a80;
  border-color: #ff5252;
}

.date-cell.status-available {
  /* base white */
}

.date-cell:hover:not(.empty) {
  box-shadow: 0 0 0 2px rgba(44, 204, 211, 0.45);
}

.date-cell.selected {
  box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.7);
}

/* Right side detail panel */
.calendar-detail {
  background: radial-gradient(circle at top, rgba(200, 183, 255, 0.14), rgba(4, 6, 22, 0.96));
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(85, 95, 180, 0.7);
}

.calendar-detail h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.detail-date-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
}

.badge-status.available {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(200, 183, 255, 0.6);
}

.badge-status.partial {
  background: rgba(255, 204, 128, 0.16);
  border: 1px solid rgba(255, 204, 128, 0.7);
}

.badge-status.full {
  background: rgba(255, 138, 128, 0.16);
  border: 1px solid rgba(255, 138, 128, 0.7);
}

.booking-list {
  margin: 0.7rem 0 0.2rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.booking-list li {
  margin-bottom: 0.4rem;
}

.calendar-request-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    justify-content: flex-start;
  }
}

/* --- LOGO FORCE VISIBILITY (diagnostic + fix) --- */
/* --- .brand { 
  display: flex !important; 
  align-items: center !important; 
  gap: 0.7rem !important;
} ---*/
/* ---
.site-logo {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
} ---*/

.mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  flex: 0 0 auto;      /* prevent shrinking */
}

.nav-links {
  flex: 1 1 auto;      /* allow menu to wrap */
  justify-content: flex-end;
}


/* FORCE header logo to be small (final fix) */
.site-header .site-logo {
  height: 40px !important;
  width: auto !important;
  max-height: 40px !important;
  max-width: 180px !important;
  display: block !important;
  object-fit: contain !important;
}

/* ABSOLUTE OVERRIDE: header logo size */
html body header.site-header a.brand img.site-logo {
  height: 40px !important;
  width: auto !important;
  max-height: 40px !important;
  max-width: 180px !important;
}

/* Two-line header: Translate on top, brand+menu below */
.topbar {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  padding: 0.45rem 0;
}

.mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

/* Mobile */
@media (max-width: 720px) {
  .topbar-inner { justify-content: center; }
  .mainbar-inner { flex-direction: column; align-items: flex-start; }
}

/* Header icon sizing */
.site-header .site-logo {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
}







