/* Reset & basic styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Kunstler Script";
  src: url("/fonts/kunstlerscript.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Remove the default white background from html */
html {
  background: none;
}

/* Base styles for body */
body {
  height: 100%;
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: #333;
  /* The background for inner pages is set in body.inner-page */
}

:root {
  /* Adjust this value (0 to 1) to control the white fade:
     0   = no white fade,
     1   = completely white overlay. */
  --fade-percent: 0.7;
}

body.inner-page {
  background: linear-gradient(rgba(255, 255, 255, var(--fade-percent)), rgba(255, 255, 255, var(--fade-percent))),
    url("img/bg.jpg") no-repeat top right fixed;
  background-size: cover;
}

/* ------------------------- */
/* Header Section */
/* ------------------------- */

/* Shared header styling */
header {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* Keep the header on one row */
  position: fixed;
  top: 0;
  z-index: 1000; /* Ensure header stays above all content */
  background: transparent; /* Will be overridden on inner pages */
  min-height: 60px; /* or a value that works with your layout */
}

/* On inner pages, force a solid background for the header */
body.inner-page header {
  background-color: #fff !important;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header layout: two containers (left: navigation, right: flags) */
.header-left {
  flex: 1 1 auto;
  min-width: 0; /* Allow it to shrink */
}

.header-right {
  flex: 0 0 auto;
}

/* Navigation menu styling */
.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* Allow menu items to wrap within the left container */
  white-space: normal; /* Allow line breaks in the menu items */
}

.nav-menu li {
  margin-right: 20px;
  margin-bottom: 5px; /* Spacing for wrapped lines */
  flex: 0 0 auto; /* Do not allow the menu items to shrink */
}

.nav-menu li a {
  text-decoration: none;
  font-size: 16px;
  color: inherit;
  font-weight: 700;
  white-space: normal; /* Allow wrapping of link text */
}

/* Language toggle styling */
.language-toggle {
  display: flex;
  align-items: center;
}

.language-toggle button {
  background: none;
  border: none;
  font-size: 24px; /* Base size for flag icons */
  margin: 0 0 0 5px; /* Adds left and right margin */
  cursor: pointer;
  padding: 0; /* Remove any default padding */
}

.language-toggle .flag {
  width: 24px; /* Fixed width */
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
/* ------------------------- */
/* Hero Section (Homepage) */
/* ------------------------- */
.hero {
  height: 100vh;
  background: url("img/hero.jpg") no-repeat center center/cover;
  display: flex;
  align-items: flex-start; /* Align content to the top */
  justify-content: center;
  position: relative;
}

.hero-overlay {
  padding: 40px 60px;
  text-align: center;
  border-radius: 40px;
  margin-top: 8vh; /* Adjust as needed */
}

.hero-overlay h1 {
  /* font-family: "Playfair Display", serif;
  font-size: 64px;
  line-height: 1.4; */

  font-family: "Kunstler Script", sans-serif;
  font-size: clamp(3.5em, 7vw, 7em);
  line-height: 1.2; /* Default line height on larger screens */

  margin-bottom: 20px;
  color: #333;
}

.hero-overlay p {
  /* font-size: 24px; */
  font-size: clamp(1em, 2vw, 2em);
  color: #555;
}

/* ------------------------- */
/* Content Section for Inner Pages */
/* ------------------------- */
.content {
  padding: 160px 20px 40px; /* Increased top padding to account for a taller header */
  max-width: 800px;
  margin: 0 auto;
  background-color: transparent; /* Let the fixed background show through */
}

.content h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 20px;
  color: #333;
}

.content p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

/* ------------------------- */
/* Optional: Adjust Hero Overlay on Small Screens */
/* ------------------------- */

/* Hotels Grid Container */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  width: 100%;
  margin: 20px 0;
}

/* Header row styling */
.hotels-header {
  font-weight: bold;
  background-color: #f0f0f0;
  padding: 8px;
  display: contents; /* Make children participate directly in grid layout */
}

/* Each data row styling */
.hotels-row {
  background-color: #fff;
  padding: 8px;
  display: contents;
}

/* Cell styling */
.hotel-col {
  padding: 5px;
  border-bottom: 1px solid #ddd;
  word-wrap: break-word;
}

/* Responsive adjustments for very small screens */
@media screen and (max-width: 800px) {
  .hotels-grid {
    grid-template-columns: 1fr; /* Stack columns vertically */
  }

  .hotels-header,
  .hotels-row {
    display: block;
  }

  .hotel-col {
    padding: 5px 0;
    border-bottom: none;
    border-top: 1px solid #ddd;
  }

  .hotels-header .hotel-col {
    font-weight: bold;
    border-top: none;
  }

  .hero-overlay h1 {
    line-height: 1.1; /* Reduced spacing for multi-line text */
  }
}
/* Lightbox overlay styles */
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Ensure images in the lightbox are not too big */
#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  cursor: pointer;
}
