/* ==========================================================================
   1. RESET AND BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

: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;
  
  --font-headings: "Nunito Sans", sans-serif;
  --font-body: "Manrope", sans-serif;
  
  --radius-main: 12px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

.paragraph {
  margin-bottom: 1.25rem;
  color: var(--color-text-secondary);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.small-container {
  max-width: 800px;
}

.section-padding {
  padding: 80px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.bg-surface { background-color: var(--color-surface); }
.bg-background { background-color: var(--color-background); }
.bg-primary { background-color: var(--color-primary); }
.text-inverse { color: var(--color-text-inverse); }
.text-center { text-align: center; }
.align-center { align-items: center; }

.form-card-radius {
  border-radius: var(--radius-main);
}

/* ==========================================================================
   2. REUSABLE COMPONENTS (BUTTONS, HEADINGS, FORMS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background-color: #122642;
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
}
.btn-accent:hover {
  background-color: #b5966b;
  color: var(--color-primary);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: 6px;
}

.btn-full-width {
  width: 100%;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-headings);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-description-text {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

/* Forms General Layout */
.booking-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: #ffffff;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ==========================================================================
   3. HEADER AND NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

.nav-list {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
}
.nav-link:hover {
  color: var(--color-accent);
}

.header-email {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}
.header-email:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text-inverse);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  color: var(--color-text-inverse);
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.booking-box {
  background-color: #ffffff;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: var(--color-text);
}

.booking-box__title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

/* ==========================================================================
   5. ABOUT AND ADVANTAGES
   ========================================================================== */
.about-features-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background-color: var(--color-surface);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.feature-card__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   6. ROOMS GRID SECTION
   ========================================================================== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.room-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid var(--color-border);
}

.room-card__image-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-surface-alt);
}

.room-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}
.room-card:hover .room-card__img {
  transform: scale(1.04);
}

.room-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-card__title {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.room-card__details {
  background-color: var(--color-surface);
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.room-card__details li {
  margin-bottom: 4px;
  color: var(--color-text-secondary);
}
.room-card__details li strong {
  color: var(--color-text);
}

.room-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.room-card__footer {
  margin-top: auto;
}

/* ==========================================================================
   7. SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-category-card {
  background-color: var(--color-surface);
  padding: 30px;
  border: 1px solid var(--color-border);
}

.service-category-card__title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 8px;
}

.service-item-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.service-item-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.2rem;
  top: -2px;
}

/* ==========================================================================
   8. LEAD MAGNET SECTION
   ========================================================================== */
.lead-magnet-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.lead-magnet-container {
  max-width: 750px;
  color: var(--color-text-inverse);
}

.lead-magnet-title {
  color: var(--color-text-inverse);
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.lead-magnet-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* ==========================================================================
   9. GALLERY SECTION
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  height: 200px;
  background-color: var(--color-surface-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   10. LOCATION, ROUTE & MAP
   ========================================================================== */
.map-wrapper {
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  height: 100%;
  min-height: 450px;
}

.route-block {
  margin-top: 24px;
  background-color: var(--color-surface);
  padding: 20px;
  border-radius: 8px;
}

.route-block__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.nearby-block {
  margin-top: 24px;
}

.nearby-block__title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.nearby-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.nearby-list li strong {
  color: var(--color-text);
}

/* ==========================================================================
   11. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-trigger::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: var(--transition-fast);
}

.faq-item.active .faq-trigger::after {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 24px;
}

.faq-content p {
  padding-bottom: 18px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   12. REVIEWS SECTION
   ========================================================================== */
.aggregate-rating-box {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.rating-value {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.review-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-author {
  font-size: 1rem;
  color: var(--color-text);
}

.review-stars {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.5;
}

/* ==========================================================================
   13. BOTTOM CONVERSION CTA FORM
   ========================================================================== */
.bottom-cta-section {
  background-color: var(--color-primary);
}

.bottom-cta-title {
  color: var(--color-text-inverse);
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.bottom-cta-desc {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  font-size: 1.05rem;
}

.bottom-booking-box {
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  background-color: #ffffff;
}

.horizontal-form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.horizontal-form .form-group {
  flex: 1;
}

.horizontal-form .btn {
  height: 48px;
  margin-bottom: 0;
}

/* ==========================================================================
   14. SEO INFORMATION BLOCK
   ========================================================================== */
.seo-text-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.seo-image-box {
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--color-border);
}

.seo-block-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   15. FOOTER & COOKIE BANNER
   ========================================================================== */
.site-footer {
  background-color: #1a202c;
  color: var(--color-text-light);
  padding: 40px 0 30px 0;
  font-size: 0.85rem;
  border-top: 4px solid var(--color-accent);
}

.footer-legal-notice {
  margin-bottom: 30px;
  opacity: 0.7;
  line-height: 1.5;
  text-align: justify;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.privacy-link {
  color: var(--color-accent);
  font-weight: 500;
}
.privacy-link:hover {
  text-decoration: underline;
}

/* Cookie Banner Component */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 400px;
  background-color: var(--color-border-strong);
  color: var(--color-text-inverse);
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-light);
}

.cookie-privacy-link {
  color: var(--color-accent);
  text-decoration: underline;
}

.hide-banner {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   16. PRIVACY DEDICATED PAGE STYLES
   ========================================================================== */
.privacy-page .site-header {
  position: static;
  margin-bottom: 20px;
}

.privacy-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.privacy-date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.privacy-divider {
  border: 0;
  height: 1px;
  background-color: var(--color-border);
  margin-bottom: 30px;
}

.privacy-section {
  margin-bottom: 30px;
}

.privacy-section h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.privacy-section p {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.privacy-section ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.privacy-section li {
  margin-bottom: 8px;
}

/* ==========================================================================
   17. FLATPICKR CUSTOM STYLING INTERACTION
   ========================================================================== */
.flatpickr-calendar {
  border-radius: var(--radius-main) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
  border: 1px solid var(--color-border) !important;
  font-family: var(--font-body) !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-text-inverse) !important;
}

.flatpickr-day.inRange {
  background: #eef4fc !important;
  box-shadow: -5px 0 0 #eef4fc, 5px 0 0 #eef4fc !important;
}

.flatpickr-months .flatpickr-month {
  color: var(--color-primary) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 700 !important;
}

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1100px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-container, .grid-2 {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .horizontal-form {
    flex-direction: column;
    align-items: stretch;
  }
  .horizontal-form .btn {
    width: 100%;
    margin-top: 10px;
  }
  .about-features-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Mobile Hamburger Menu */
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    z-index: 1005;
    transition: var(--transition-normal);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  
  .main-nav.open {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 40px 30px;
    gap: 20px;
  }
  
  .nav-link {
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }

  /* Hamburger transform animation */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-contacts {
    display: none; /* Hide in compact layout to avoid clutter */
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-features-wrapper {
    grid-template-columns: 1fr;
  }
  
  .seo-image-box {
    height: 250px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}