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

:root {
  --primary: #dc2626;
  --primary-foreground: #ffffff;
  --secondary: #f59e0b;
  --secondary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #374151;
  --card: #fef2f2;
  --border: #e5e7eb;
  --muted: #f8fafc;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  overflow-x: hidden;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  color: grey;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--foreground);
  transition: 0.3s;
}

main {
  margin-top: 70px;
}

.w3-twothird {
  width: 65%;
  display: inline-block;
}
.w3-third {
  width: 25%;
  display: inline-block;
}

/* Video Background */
.hero-section {
  position: relative;
  min-height: 100vh;
  /*height: 170vh;*/
  flex-direction: column;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  /*object-fit: cover;*/
  z-index: -2;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));*/
  z-index: -1;
}

/* Thumbnail Images Section */
.thumbnail-section {
  width: 20%;
  align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.thumbnail-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.thumbnail-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

..thumbnail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.75);
  z-index: 2000;
  padding: 1.5rem;
}

.image-modal.active {
  display: flex;
}

.image-modal-content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: #111;
}

.image-modal-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 95vh;
  object-fit: contain;
}

.image-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 1;
  max-width: 1200px;
  padding: 0 2rem;
}

.hero-content-cottage {
  text-align: justify;
  color: white;
  z-index: 1;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content-cottage h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content-cottage p {
  color: black;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

/* Calendar Section */
.calendar-section {
  /*position: absolute;*/
  bottom: 0;
  left: 0;
  right: 0;
  /*background: rgba(255, 255, 255, 0.95);*/
  backdrop-filter: blur(0px);
  padding: 2rem;
  /*border-top: 1px solid var(--border);*/
}

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

.calendar-header {
  text-align: center;
  margin-bottom: 2rem;
}

.calendar-header h2 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.calendar-day {
  background: var(--background);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day:hover {
  background: var(--card);
}

.calendar-day.available {
  background: #dcfce7;
  color: #166534;
}

.calendar-day.booked {
  background: #fee2e2;
  color: #991b1b;
  cursor: not-allowed;
}

.calendar-day.selected {
  background: var(--primary);
  color: var(--primary-foreground);
}

.day-header {
  background: var(--muted);
  font-weight: 600;
  color: var(--foreground);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--background);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content-cottage h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content-cottage p {
    font-size: 1rem;
  }
  .calendar-section {
    padding: 1rem;
  }

  .calendar-grid {
    font-size: 0.9rem;
  }

  .calendar-day {
    padding: 0.5rem;
    min-height: 45px;
  }
}

.hero-content-cottage h2 {
  color: black;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: none;
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .calendar-grid {
    font-size: 0.8rem;
  }

  .calendar-day {
    padding: 0.25rem;
    min-height: 40px;
  }
}
