/* ============================================================
   ORLOVE — Extras: Theme, Team, Blog, Instagram, Gift, Loyalty
   ============================================================ */

/* Nav toggles */
.nav__toggles {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.5rem;
  z-index: 10;
}

.nav__menu-tools { display: none; list-style: none; }

.nav__toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: rgba(201, 169, 98, 0.1);
  color: var(--gold-300);
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.nav__toggle-btn:hover,
.nav__toggle-btn:active {
  background: rgba(201, 169, 98, 0.22);
  transform: scale(1.05);
}

/* Light theme */
html.theme-light,
body.theme-light {
  --bg-deep: #f0ebe3;
  --bg-base: #faf8f5;
  --bg-raised: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --text-primary: #1a1510;
  --text-secondary: #5a5248;
  --text-muted: #8a8278;
}

html.theme-light body,
body.theme-light {
  color: var(--text-primary);
  background: var(--bg-deep);
}

html.theme-light body::before,
body.theme-light::before {
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(201, 169, 98, 0.14), transparent),
    radial-gradient(ellipse 40% 30% at 100% 50%, rgba(168, 137, 74, 0.08), transparent);
}

html.theme-light .header,
body.theme-light .header {
  background: var(--bg-glass);
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
}

html.theme-light .service-card,
html.theme-light .featured-card,
html.theme-light .team-card,
html.theme-light .blog-card,
html.theme-light .testimonial-card,
html.theme-light .faq-item,
html.theme-light .policy-card,
html.theme-light .specialty-card,
body.theme-light .service-card,
body.theme-light .featured-card,
body.theme-light .team-card,
body.theme-light .blog-card,
body.theme-light .testimonial-card,
body.theme-light .faq-item,
body.theme-light .policy-card,
body.theme-light .specialty-card {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 169, 98, 0.15);
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }

.team-card__photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-raised), var(--bg-card));
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-400);
}

.team-card__body { padding: 1.5rem; }

.team-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.team-card__role { color: var(--gold-400); font-weight: 500; font-size: 0.9rem; }
.team-card__specialty { color: var(--text-muted); font-size: 0.85rem; margin: 0.35rem 0; }
.team-card__bio { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.75rem; }

/* Blog */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-raised), rgba(201, 169, 98, 0.1));
  font-size: 2rem;
}

.blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__date {
  font-size: 0.75rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.35rem 0 0.5rem;
}

.blog-card__body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1rem;
}

/* Blog modal */
.blog-modal .modal__content { max-width: 640px; }
.blog-modal__body {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1rem;
  white-space: pre-wrap;
}

/* Instagram */
.instagram__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.instagram__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}

.instagram__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.instagram__item:hover img { transform: scale(1.06); }

.instagram__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.75rem;
  padding: 0.5rem;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
}

.instagram__item:hover .instagram__overlay { opacity: 1; }

.instagram__follow {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--gold-400);
  font-weight: 500;
}

.instagram__placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.instagram__placeholder a { color: var(--gold-400); }

/* Loyalty */
.loyalty__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.loyalty__badge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--text-on-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.loyalty__num { font-size: 2.5rem; font-weight: 700; font-family: var(--font-display); line-height: 1; }
.loyalty__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.loyalty__reward { font-size: 1.1rem; font-weight: 600; margin-top: 0.25rem; }

.loyalty__text { max-width: 480px; }
.loyalty__text h2 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.5rem; }
.loyalty__text p { color: var(--text-secondary); }

/* Gift card */
.giftcard__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.giftcard__inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.giftcard__inner p { color: var(--text-secondary); margin-bottom: 1.5rem; }

.giftcard__amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.giftcard__amount {
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--gold-400);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--gold-300);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.giftcard__amount:hover {
  background: var(--gold-400);
  color: var(--text-on-gold);
}

.giftcard__custom {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.giftcard__custom input {
  width: 100px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
}

.booking-pay-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn--stripe {
  background: #635bff;
  color: #fff;
  border: none;
}

.btn--stripe:hover { background: #4f46e5; }

.admin-item--booking { flex-wrap: wrap; }
.booking-status-select {
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--text-primary);
  border: 1px solid rgba(201, 169, 98, 0.2);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .nav__toggles--desktop { display: none !important; }
  .loyalty__inner { flex-direction: column; }
}

@media (min-width: 769px) {
  .nav__menu-tools { display: none !important; }
  .nav__toggles--desktop { display: flex; }
}
