/**
 * Great Lengths Co-Branding
 * Loaded only on greatlengths.extensee.de subdomain
 * Overrides extensee colors/logo with Great Lengths identity
 */

:root {
  /* Great Lengths — luxury minimalist: black/white/gold */
  --accent:       #b08c5e;   /* warm gold */
  --accent2:      #d4b68a;   /* light champagne */
  --primary:      #b08c5e;
  --primary-light:#e0c9a3;
  --secondary:    #c9a878;
  --btn:          linear-gradient(90deg, #b08c5e, #8a6b45 70%);
  --btn-text:     #ffffff;
  --btn-glow:     0 0 18px rgba(176, 140, 94, 0.35);
  --table-head:   #b08c5e;
  --sidebar-text: #f0e3d0;
  --sidebar-active: linear-gradient(90deg, #b08c5e22 10%, #2c221b 90%);
}

[data-theme="light"] {
  --accent:       #8a6b45;
  --accent2:      #b08c5e;
  --primary:      #8a6b45;
  --primary-light:#b08c5e;
  --secondary:    #c9a878;
  --btn:          linear-gradient(90deg, #8a6b45, #6d5535 70%);
  --btn-text:     #ffffff;
  --btn-glow:     0 3px 14px rgba(138, 107, 69, 0.25);
  --table-head:   #8a6b45;
  --sidebar-text: #2c221b;
}

/* Sidebar logo: swap the extensee logo with Great Lengths */
#sidebar img.logo {
  content: url('/img/gl_logo.png');
  width: auto !important;
  max-width: 160px !important;
  height: auto !important;
  max-height: 64px !important;
  border-radius: 0 !important;
  border: none !important;
  object-fit: contain !important;
  background: transparent !important;
  margin-bottom: 1.2rem !important;
}
[data-theme="light"] #sidebar img.logo {
  filter: none;
}
[data-theme="dark"] #sidebar img.logo,
:root:not([data-theme="light"]) #sidebar img.logo {
  filter: invert(1) brightness(1.05);
}

/* Luxury serif for ALL headlines + question titles (Playfair Display) */
.step h2,
.step h3,
h1, h2.result-title, .success-title,
.question-title,
.questionnaire-header h3,
.wizard-question-label,
#step1 h2,
.booking-modal h3,
.compare-item figcaption {
  font-family: 'Playfair Display', 'Inter', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
}

/* Body text, buttons, options, selects — stays sans-serif (Inter) for readability */
body, .option-label, button, input, select, textarea,
.step-description, .main-btn, .footer, small,
.feed-item, .card-value, .card-label {
  font-family: 'Inter', 'Montserrat', Arial, sans-serif !important;
}

/* Co-branding badge — top-LEFT to avoid overlapping right-side controls */
.gl-cobrand-badge {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1199;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  font-family: 'Inter', sans-serif !important;
}
.gl-cobrand-badge img {
  height: 16px;
  width: auto;
}
.gl-cobrand-badge .x {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 300;
  margin: 0 2px;
}

@media (max-width: 600px) {
  .gl-cobrand-badge { top: 56px; right: 10px; font-size: 0.6rem; padding: 0.3rem 0.6rem; }
  .gl-cobrand-badge img { height: 14px; }
}

/* Premium footer styling */
.footer {
  letter-spacing: 1.2px !important;
  font-size: 0.72rem !important;
}

/* Welcome screen luxury touch */
#step1 { position: relative; overflow: visible; }
#step1::before {
  content: '';
  position: absolute;
  top: -2rem; left: 0; right: 0;
  height: 240px;
  background: url('/img/gl_hero.jpg') center 30% / cover no-repeat;
  border-radius: 20px;
  opacity: 0.65;
  z-index: 0;
  mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
  pointer-events: none;
}
#step1 > * { position: relative; z-index: 1; }
#step1 h2 {
  font-size: 2.2rem !important;
  margin-top: 200px !important;
  line-height: 1.15 !important;
}
#step1 .step-description {
  font-style: italic;
  opacity: 0.9;
  letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif !important;
}

/* Google Font for luxury */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap');
