/* ============================================
   Default Landing Theme — Source Booking
   Все цвета кастомизируются через CSS-переменные
   ============================================ */

:root {
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-accent: #c9a96e;
  --color-bg: #ffffff;
  --color-bg-dark: #111827;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Header ─────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.header__nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.header__nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: var(--color-primary);
}

.header__cta {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.header__cta:hover {
  background: var(--color-primary-dark);
}

/* ─── Hero ────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #faf5ff 100%);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero__btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ─── Sections ────────────────────────── */
.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ─── Services Grid ───────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card__title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card__desc {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ─── Booking Widget ──────────────────── */
.booking-section {
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
  padding: 5rem 1.5rem;
  text-align: center;
}

.booking-frame {
  max-width: 800px;
  margin: 2rem auto 0;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.booking-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* ─── Contacts ────────────────────────── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item__text h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item__text p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ─── Footer ──────────────────────────── */
.footer {
  background: var(--color-bg-dark);
  color: #9ca3af;
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer a {
  color: #d1d5db;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

/* ─── Mobile Menu ─────────────────────── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

/* ─── Responsive ──────────────────────── */
@media (max-width: 768px) {
  .header__nav { display: none; }
  .mobile-menu-btn { display: block; }
  .contacts-grid { grid-template-columns: 1fr; }
  .hero { padding: 5rem 1rem 3rem; }
  .section { padding: 3rem 1rem; }
}

/* ─── Booking Popup (Modal) ───────────── */
.booking-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.booking-modal.active { display: flex; }

.booking-modal__content {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow: hidden;
  position: relative;
}

.booking-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.booking-modal iframe {
  width: 100%;
  height: 80vh;
  border: none;
}
