/* ===================================
   Тема: Океанический Оазис (Oceanic Oasis)
   Концепция брендинга «Островок»
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800;900&display=swap');

:root {
  --bg-main: #f4f0ea;             /* Тёплый песчаный крем */
  --bg-card: #ffffff;             /* Белоснежный оазис */
  --accent-sea: #0a4d68;          /* Глубокое южное море */
  --accent-wave: #088395;         /* Лазурная волна */
  --accent-orange: #ff5722;       /* Закатный акцент (Забронировать) */
  --accent-orange-hover: #e64a19;
  --accent-light: #ebf4f6;        /* Морская пена */
  --text-main: #051923;           /* Четкий тёмно-океанический */
  --text-muted: #4a626c;         /* Мягкий графитово-морской */
  --radius: 22px;                 /* Мягкие скругления */
  --shadow: 0 12px 30px rgba(10, 77, 104, 0.08);
  --shadow-hover: 0 20px 45px rgba(10, 77, 104, 0.16);
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   Шапка сайта (Header)
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(10, 77, 104, 0.08);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(10, 77, 104, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.logo-group {
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--accent-sea);
  text-transform: uppercase;
  line-height: 1;
}

.logo span {
  color: var(--accent-orange);
  /* Курсив полностью убран */
}

.location-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-sea);
}

/* Кнопка "Забронировать" — Магнит внимания */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #f4511e 100%);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f4511e 0%, var(--accent-orange-hover) 100%);
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.48);
}

/* ===================================
   Hero Секция
   =================================== */
.hero {
  min-height: 85vh;
  background: linear-gradient(180deg, rgba(244, 240, 234, 0.78) 0%, rgba(244, 240, 234, 0.96) 100%), 
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  color: var(--accent-orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--accent-sea);
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  font-weight: 600;
}

/* ===================================
   Заголовки Секций
   =================================== */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 40px;
  color: var(--accent-sea);
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--accent-orange);
}

/* ===================================
   Раскрывающиеся блоки (Аккордеон)
   =================================== */
.accordion-section {
  padding: 80px 0;
}

.accordion-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(10, 77, 104, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-wave);
  transform: translateY(-2px);
}

.accordion-header {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-sea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
  font-weight: 900;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 30px;
  background: #ffffff;
}

.accordion-content-inner {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 600;
}

.accordion-item.active {
  border-left: 6px solid var(--accent-orange);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--accent-orange);
  color: #ffffff;
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  padding-top: 10px;
}

/* ===================================
   Подвал (Footer)
   =================================== */
.footer {
  background: #ffffff;
  padding: 40px 0;
  border-top: 2px solid rgba(10, 77, 104, 0.08);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===================================
   Адаптивность для мобильных устройств
   =================================== */
@media (max-width: 850px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: auto;
  }

  .nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 0;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 8px 18px;
    background: #ffffff;
    border: 2px solid rgba(10, 77, 104, 0.08);
    border-radius: 20px;
    flex-shrink: 0;
    font-weight: 700;
  }

  .nav-link.active {
    background: var(--accent-sea);
    color: #ffffff;
    border-color: var(--accent-sea);
  }

  .header .btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 200px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
