/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Colors I like */
:root {
  --primary-color: #2d4d34; /* Dark green */
  --secondary-color: #f4e1c1; /* Warm sandy color */
  --text-color: #333; /* Dark grey for text */
  --background-color: #fdf8f2; /* Light cream background */
  --background-color-02: #eaf0f1; /* Light green background */
  --background-color-nav: #2d4d34; /* Dark green for nav */
  --clr-light: #fff;
  --clr-accent: #eaf0f1;
  --clr-danger: #ec6366;
  --clr-primary: #046878;
  --clr-success: #61ce27;
  --clr-dark-dark: #020305;
  --clr-secondary: #686A6E;
  --clr-dark-light: #263547;
  --clr-light-dark: #ccc;
  --clr-accent-dark: #B9080C;
  --clr-light-light: #fff;
  --clr-accent-light: #686A6E;
  --clr-primary-dark: #023d47;
  --clr-primary-light: #0693a9;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fdf8f2;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
nav {
  background-color: #2d4d34;
  padding: 0.5rem 0;
}

/* Base nav styles (already have colors) */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Mobile menu hidden by default */
#nav-menu {
  display: flex;
  gap: 15px;
}

/* Brand styling */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #f4e1c1; /* Warm sandy color so it pops */
}

.nav-brand span {
  color: #f4e1c1; /* Make text stand out */
}

/* Logo image */
.logo {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f4e1c1; /* Warm sandy color on hover */
  text-decoration: underline;
}

/* Highlight active page link */
nav ul li a.active {
  color: #f4e1c1;
  border-bottom: 2px solid #f4e1c1;
}

/* Hero section */
.hero {
  background: url('/images/hero.jpg') center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  font-size: 2rem;
}

/* Property cards */
.properties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.property-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.property-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.property-card h3 {
  padding: 10px;
  background-color: #f4e1c1;
}

.property-card p {
  padding: 0 10px 10px;
}

.property-card a {
  display: block;
  padding: 10px;
  background: #2d4d34;
  color: white;
  text-align: center;
  text-decoration: none;
}

.property-card a:hover {
  background: #406e4d;
}

/* Property page layout */
.property-content {
  padding: 20px;
}

.property-content img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Calendar iframe responsive */
.calendar-container {
  overflow-x: auto;
}

/* Layout container for Calendar, Quick Facts, and Map */
.calendar-info-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Shared Quick Facts styles */
.quick-facts-container {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 6px;
}

.quick-facts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-facts li {
  padding: 5px 0;
  border-bottom: 1px solid #ddd;
}

.quick-facts li:last-child {
  border-bottom: none;
}

/* Default: show short, hide long */
.quick-facts-short {
  display: block;
}
.quick-facts-long {
  display: none;
}

/* Medium screens (tablet) - 3 columns but narrower */
@media (min-width: 768px) {
  .calendar-info-map {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
  .quick-facts {
    columns: 2; /* two columns inside the card */
  }

  .property-description {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.property-description strong {
  color: #2a5d3a; /* subtle green highlight for emphasis */
}
}

/* Desktop view: hide short, show long in 3 columns */
@media (min-width: 1024px) {
  .quick-facts-short {
    display: none;
  }
  .quick-facts-long {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 20px; /* row gap / column gap */
  }
}

/* Large screens - same as medium but with more spacing */
@media (min-width: 1200px) {
  .calendar-info-map {
    gap: 30px;
  }
}

iframe {
  max-width: 100%;
}

/* Gallery styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}
.location {
  font-size: 1.2rem;
  color: #777; /* subtle grey */
  margin-top: -5px; /* pulls it closer to the heading */
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  #nav-menu {
    display: none;
    flex-direction: column;
    background-color: #2d4d34;
    width: 100%;
    position: absolute;
    top: 60px; /* height of nav */
    left: 0;
    padding: 1rem 0;
  }
  #nav-menu.show {
    display: flex;
  }

   .logo {
    height: 35px;
  }
  .nav-brand {
    font-size: 1.2rem;
  }

  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin: 10px 0;
  }
   /*Lightbox2 customization -->
    /* Ensure Lightbox navigation arrows and close button are visible */
    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
      opacity: 1 !important;
      width: 10%;
    }
    .lb-data .lb-close {
      opacity: 1 !important;
      font-size: 24px;
    }
  
}

/* Hide brand text on very small screens */
@media (max-width: 480px) {
  .nav-brand span  {
    display: none;    
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
  }
  .nav-brand {
    justify-content: center;
  }
  .hero {
    padding-left: 20px; /* or margin-left: 10px; */
  }
}