/* Color System */
: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;
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

h1, h2, h3, h4, .logo__title {
  font-family: "Nunito Sans", sans-serif;
  color: var(--color-primary);
  font-weight: 700;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: var(--color-surface);
}

.grid {
  display: grid;
  gap: 40px;
}

.grid--2-cols {
  grid-template-columns: 1fr 1fr;
}

.text-center {
  text-align: center;
}

/* Headings and UI blocks */
.section__title {
  font-size: 2rem;
  margin-bottom: 24px;
  position: relative;
}

.section__title--center {
  text-align: center;
  margin-bottom: 48px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.section__text {
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

/* Rounded elements system rule */
.room-card, .booking-form, .btn, .service-item, .gallery__img, .review-card, .faq__item, .map-container {
  border-radius: 12px;
  overflow: hidden;
}

/* Header & Navigation */
.header {
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header__logo {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-size: 1.4rem;
  line-height: 1.2;
}

.logo__stars {
  font-size: 0.85rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav__link {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--color-accent);
}

.header__email {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.header__burger span {
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background-color: #b3956b;
}

.btn--accent {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--accent:hover {
  background-color: #122644;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  color: var(--color-text-inverse);
}

.hero h1 {
  color: var(--color-text-inverse);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.2rem;
  max-width: 650px;
  margin-bottom: 40px;
}

/* Forms design */
.booking-form {
  background-color: var(--color-background);
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 500px;
}

.booking-form--horizontal {
  max-width: 100%;
  grid-template-columns: 1fr 1fr auto;
  align-items: flex-end;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form__field {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  background: var(--color-surface);
}

.form__field:focus {
  border-color: var(--color-accent);
}

.about__meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Rooms block */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.room-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.room-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.room-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.room-card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}

.room-card__text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.room-card__btn {
  width: 100%;
}

/* Lead Magnet */
.lead-magnet {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  color: var(--color-text-inverse);
}

.lead-magnet h2 {
  color: var(--color-text-inverse);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.lead-magnet p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-item {
  background: var(--color-surface);
  padding: 24px;
  border-left: 4px solid var(--color-accent);
}

.service-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* Gallery */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery__img:hover {
  transform: scale(1.03);
}

/* Reviews */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--color-surface);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 600;
}

.review-card__rating {
  color: #e67e22;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* FAQ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

.faq__question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
}

.faq__item.active .faq__question::after {
  content: '−';
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq__item.active .faq__answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* Location details */
.location__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.route-block h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.route__list {
  list-style: none;
}

.route__list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.route__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.map-container {
  height: 100%;
  min-height: 350px;
  background: var(--color-surface-alt);
}

.footer-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

#location img{width: 100%;height: 100%;object-fit: cover;}

/* SEO block text styles */
.seo-text-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.seo-text-section p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

/* Footer structure */
.footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 60px 0 30px;
}

.footer__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.footer__text--small {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.footer__bottom {
  border-top: 1px solid var(--color-border-strong);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.footer__link {
  color: var(--color-accent);
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}

/* Cookie Banner container styling */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: var(--color-background);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 2000;
  display: none;
  border: 1px solid var(--color-border);
}

.cookie-banner__content p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 14px;
}

.cookie-banner__buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.cookie-banner__link {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* Custom flatpickr themes tuning inside project scope */
.flatpickr-day.selected {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
}

/* Media Queries & Mobile optimization styles */
@media (max-width: 992px) {
  .grid--2-cols {
    grid-template-columns: 1fr;
  }
  .booking-form--horizontal {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .header__burger {
    display: flex;
  }
  .header__nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-background);
    transition: left 0.3s ease;
    padding: 40px 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  }
  .header__nav.active {
    left: 0;
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .nav__link {
    font-size: 1.2rem;
  }
  .header__contacts {
    display: none;
  }
  .header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .header__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}