/* Google Fonts Connection */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Nunito+Sans:wght@600;700;800&display=swap');

/* Theme Design System Variables */
:root {
  --color-primary: #1a365d;
  --color-accent: #c5a880;
  --color-background: #ffffff;
  --color-surface: #f7fafc;
  --color-surface-alt: #e2e8f0;
  --color-text: #333333;
  --color-text-secondary: #718096;
  --color-text-muted: #a0aec0;
  --color-text-light: #cbd5e0;
  --color-text-inverse: #ffffff;
  --color-border: #e2e8f0;
  --color-border-strong: #2d3748;
  
  --radius-main: 12px;
  --font-headings: "Nunito Sans", sans-serif;
  --font-body: "Manrope", sans-serif;
  --transition-fast: 0.25s ease;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* Structural Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: 80px 0;
}

.section--surface {
  background-color: var(--color-surface);
}

.section--cta {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.section__header {
  margin-bottom: 50px;
}

.section__desc {
  max-width: 700px;
  margin: 15px auto 0;
  color: var(--color-text-secondary);
}

.section--cta .section__desc {
  color: var(--color-text-light);
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; margin-bottom: 20px; color: var(--color-text-inverse); }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 15px; }

.section--cta h2 {
  color: var(--color-text-inverse);
}

.section__subtitle {
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.text-center { text-align: center; }
.w-full { width: 100%; }
.align-center { align-items: center; }
.hidden { display: none !important; }

/* Grid Helper Configurations */
.grid {
  display: grid;
  gap: 30px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Responsive Media Assets */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

.rounded {
  border-radius: var(--radius-main);
}

/* Interactive Components & Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-main);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background-color: #122644;
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn--accent:hover {
  background-color: #b59871;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Header & Navigation elements */
.header {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
}

.logo__stars {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-top: 4px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav__link {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-primary);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hero Screen Structure */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--color-text-inverse);
  padding: 120px 0;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: center;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 600px;
}

.hero__form-wrapper {
  background-color: var(--color-background);
  padding: 30px;
  border-radius: var(--radius-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Interactive Forms layout */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-secondary);
}

.form__field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  background-color: var(--color-surface);
}

.form__field:focus {
  border-color: var(--color-accent);
}

.booking-form--horizontal {
  flex-direction: row;
  background-color: var(--color-background);
  padding: 20px;
  border-radius: var(--radius-main);
  max-width: 800px;
  margin: 0 auto;
}

.booking-form--horizontal .form__group {
  flex: 1;
  text-align: left;
}

.booking-form--horizontal label {
  color: var(--color-text-secondary);
}

.booking-form--horizontal .form__group--btn {
  display: flex;
  align-items: flex-end;
}

/* Content Blocks & Cards */
.card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  overflow: hidden;
  transition: var(--transition-fast);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card__img-wrapper {
  height: 220px;
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 25px;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.card__text {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  height: 110px;
  overflow: hidden;
}

/* Service Elements Structure */
.service-block {
  background-color: var(--color-surface);
  padding: 30px;
  border-radius: var(--radius-main);
  border-bottom: 3px solid var(--color-accent);
}

.service-block ul {
  list-style: none;
}

.service-block li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--color-text-secondary);
}

.service-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Lead Magnet Layout */
.badge {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.lead-magnet__cta {
  margin-top: 15px;
}

/* Media Gallery Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-fast);
}

.gallery__item img:hover {
  opacity: 0.9;
}

/* Route & Location Blocks */
.route-block {
  background-color: var(--color-surface);
  padding: 20px;
  border-radius: var(--radius-main);
  margin-top: 20px;
}

.route-block h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Review Cards elements */
.review-card {
  background-color: var(--color-background);
  padding: 30px;
  border-radius: var(--radius-main);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid var(--color-border);
}

.review__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.review__author {
  font-weight: 600;
  color: var(--color-primary);
}

.review__rating {
  color: #f59e0b;
  font-weight: bold;
}

.review__text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* FAQ Accordion Elements */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  padding: 10px 0;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--color-accent);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding: 10px 0;
  color: var(--color-text-secondary);
}

.faq-item.active .faq-content {
  max-height: 200px;
}

/* Closing Call To Action Area */
.cta__subtitle {
  color: var(--color-text-light);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Corporate Footers styling */
.footer {
  background-color: #1a202c;
  color: var(--color-text-light);
  padding: 50px 0 30px;
  font-size: 0.9rem;
  border-top: 4px solid var(--color-accent);
}

.footer__contacts {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer__contacts a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.footer__disclaimer {
  margin: 25px 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: #a0aec0;
}

.partner-note {
  margin-top: 10px;
  font-weight: 500;
  color: var(--color-accent);
}

.footer__links a {
  color: var(--color-text-inverse);
  text-decoration: underline;
  margin: 0 10px;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__copy {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #718096;
}

/* User Cookie Banner styling */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-border-strong);
  color: var(--color-text-inverse);
  padding: 15px 25px;
  border-radius: var(--radius-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 2000;
  width: calc(100% - 40px);
  max-width: 750px;
}

.cookie-banner__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  font-size: 0.85rem;
  line-height: 1.4;
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Custom CSS Flatpickr Themes integration */
.flatpickr-calendar {
  border-radius: var(--radius-main) !important;
  font-family: var(--font-body) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
  border: 1px solid var(--color-border) !important;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.flatpickr-day.inRange {
  background: #e2e8f0 !important;
  box-shadow: -5px 0 0 #e2e8f0, 5px 0 0 #e2e8f0 !important;
}

/* Responsive Adaptive CSS Layout breakpoints */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero__subtitle {
    margin: 0 auto;
  }
  .booking-form--horizontal {
    flex-direction: column;
    max-width: 100%;
  }
  .booking-form--horizontal .form__group--btn {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .grid--2, .grid--3, .gallery-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .header__nav {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: var(--color-background);
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    transition: left 0.3s ease;
    border-top: 1px solid var(--color-border);
  }
  
  .header__nav.active {
    left: 0;
  }
  
  .burger {
    display: flex;
  }
  
  .burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .gallery__item img {
    height: 200px;
  }
  .cookie-banner__container {
    flex-direction: column;
    text-align: center;
  }
  .card__text {
    height: auto;
  }
}