:root {
  --available: #edfce8;
  --available-text: #1a7a3a;
  --booked: #fdeaea;
  --booked-text: #c0392b;
  --selected-bg: #1a1a1a;
  --stripe-purple: #635bff;
  --admin-topbar-h: 56px;
}

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

/* ── Logo ── */
.logo-img {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}
.logo-placeholder {
  width: 160px;
  height: 60px;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Feature pills ── */
.feature-pill {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px 8px;
}
.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

/* ── Carousel ── */
.carousel-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ── Calendar Grid ── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-header-cell {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #888;
  padding: 4px 0;
}
.day {
  aspect-ratio: 1;
  border-radius: 8px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  user-select: none;
}
.day-available {
  background: var(--available);
  color: var(--available-text);
  cursor: pointer;
  transition: opacity 0.15s;
}
.day-available:hover { opacity: 0.8; }
.day-booked {
  background: var(--booked);
  color: var(--booked-text);
  text-decoration: line-through;
}
.day-selected {
  background: var(--selected-bg);
  color: white;
}
.day-past { color: #ccc; }
.day-empty { background: transparent; }

/* Tighten calendar cells on very small phones */
@media (max-width: 360px) {
  .day { font-size: 0.75rem; border-radius: 5px; }
}

/* ── Legend dots ── */
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.legend-dot.available { background: var(--available-text); }
.legend-dot.booked    { background: var(--booked-text); }

/* ── Footer social icons ── */
.social-icon {
  transition: opacity 0.15s, transform 0.15s;
  display: inline-flex;
}
.social-icon:hover {
  opacity: 0.75;
  transform: scale(1.2);
}

/* ── Blog list cards ── */
.blog-card {
  border-radius: 12px !important;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12) !important;
  transform: translateY(-2px);
}
.blog-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.blog-card-placeholder {
  height: 200px;
  background: #f0f0f0;
  text-decoration: none;
}

/* ── Blog post hero ── */
.blog-hero {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .blog-hero { height: 240px; }
}

/* ── Blog content ── */
.blog-content h2,
.blog-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.blog-content p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.blog-content ul,
.blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.blog-content li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}
@media (max-width: 576px) {
  .blog-content { font-size: 0.97rem; }
}

/* ── Admin dashboard cards ── */
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-action-card {
  transition: box-shadow 0.15s, transform 0.15s;
}
.quick-action-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
  transform: translateY(-1px);
}

/* ── Admin mobile top bar ── */
.admin-mobile-topbar {
  height: var(--admin-topbar-h);
  background: #1a1a1a;
  z-index: 1040;
}

/* ── Admin offcanvas (mobile drawer) ── */
.admin-offcanvas {
  background: #1a1a1a !important;
  width: 240px !important;
}
.admin-offcanvas .nav-link {
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.9rem;
}
.admin-offcanvas .nav-link:hover,
.admin-offcanvas .nav-link.active-nav {
  background: rgba(255,255,255,0.1);
}

/* ── Admin desktop sidebar ── */
.admin-sidebar {
  width: 220px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #1a1a1a;
  color: white;
  z-index: 100;
  overflow-y: auto;
}
.admin-sidebar .nav-link {
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active-nav {
  background: rgba(255,255,255,0.1);
}

/* ── Admin content area ── */
.admin-content {
  margin-left: 220px;
  padding: 32px;
  min-height: 100vh;
}

/* Mobile: remove sidebar offset, add topbar clearance */
@media (max-width: 991.98px) {
  .admin-content {
    margin-left: 0;
    padding: 16px;
    padding-top: calc(var(--admin-topbar-h) + 16px);
  }
}

/* Tablet: slightly less padding */
@media (min-width: 992px) and (max-width: 1199px) {
  .admin-content { padding: 24px; }
}
