/* Color variables */
:root {
    --primary: #888888;
    --secondary-bg: #f4f4f4; /* Lighter gray for the page background */
    --section-bg: #ffffff; /* White background for content sections */
    --secondary-text: #444444;
    --primary-text: #1A1A1A;
    --header: #000000;
    --cta-bg: #B22222; /* Call-to-action Red */
    --hero-bg: #000000; /* Black background for hero */
    --cta-hover: #991C1C;
    --cta-text: #FFFFFF;
    --border-color: #ddd;
  }
  
  /* Basic resets */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html { scroll-behavior: smooth; }
  
  /* Body */
  body {
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-text);
    background-color: var(--secondary-bg);
    line-height: 1.6;
  }

  /* Container for centering content */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Header & nav */
  header .navbar {
    background: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
  }
  header .logo-img {
    max-height: 50px;
    width: auto;
  }
  header nav a {
    color: var(--cta-text);
    text-decoration: none;
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
  }
  header nav a:hover,
  header nav a.active {
    background: var(--cta-bg);
  }

  .book-now-button {
    background-color: var(--cta-bg);
    border: 1px solid var(--cta-text);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--cta-text);
    text-decoration: none;
    transition: background-color 0.3s;
  }

  .book-now-button:hover {
      background-color: var(--cta-hover);
  }
  
  /* Hero */
  .hero {
    background: var(--hero-bg); /* Using the distinct hero background color */
    color: var(--cta-text);
    text-align: center;
    padding: 4rem 1rem;
  }
  .hero-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
  }
  .hero h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
  }
  .hero p {
    font-size: 1.125rem;
  }

  /* General Section Styling */
  main section {
      background-color: var(--section-bg);
      padding: 2rem 1rem;
      margin-top: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  /* Remove top margin for the first section after hero */
  .hero + .container > section {
      margin-top: 0;
  }
  
  /* Grid sections */
  .features {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    margin: 2rem 0;
  }
  
  /* Cards */
  .feature-item {
    background: var(--primary);
    color: var(--cta-text);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
  }
  .feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--header);
  }

  /* Nearby Section */
  #nearby ul {
    list-style-position: inside;
    padding-left: 1.5rem;
  }

  #nearby li {
    margin-bottom: 0.5rem;
  }

  #nearby li strong {
    color: var(--primary-text);
    font-weight: 600;
  }
  
  /* Rates & Reserve Section */
  .rates-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
  }

  .rate-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: center;
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .rate-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .rate-card .price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
  }

  .reserve-button {
    background: var(--cta-bg);
    color: var(--cta-text);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block; /* Ensures padding and other properties apply correctly */
  }

  .reserve-button:hover {
    background: var(--cta-hover);
  }
  
  #rates .cta-container {
    margin-top: 2rem;
    text-align: center;
  }
  
  #rates .cta-container p {
    font-size: 1.1rem;
    text-align: center; /* Ensures text is centered if it wraps */
    margin-bottom: 1rem;
  }

  /* Location Section */
  .location-section {
    text-align: center;
  }

  .location-section h2 {
    margin-bottom: 1rem;
  }

  .location-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }

  .map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* Contact Section */
  #contact {
    text-align: center;
  }
  
  /* Footer */
  footer {
    background: var(--primary);
    color: var(--cta-text);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 20px;
  }
  
  /* Responsive tweaks */
  @media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    header nav a { margin-left: 0.5rem; font-size: 0.9rem; }
  }
  
/* Photo Gallery Section */
#photo-gallery {
  text-align: center;
}

#photo-gallery h2 {
  margin-bottom: 0.5rem;
}

#photo-gallery p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 320px;
  flex-grow: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.image-holder {
  height: 220px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-item figcaption {
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  flex-grow: 1;
}

.gallery-item figcaption strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.cta-button {
  background-color: #E49B24;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  display: inline-block;
}

.cta-button:hover {
  background-color: #c98a20;
}
