/* Base Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4286;
  color: #333;
  text-align: center;
  font-weight: normal;
}

/* Remove any overlay */
body {
  background: #fff;
  position: relative; /* needed for the pseudo-element */
}

/* translucent logo watermark */
body::before {
  content: "";
  position: fixed;          /* stays put while scrolling */
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  background-image: url("images/AHH_Logo.jpg");
  background-repeat: repeat;
  background-position: 0 0;
  background-size: 220px auto;
  opacity: 0.05;            /* adjust: 0.03–0.12 usually */
  pointer-events: none;     /* don't block clicks */
  z-index: 0;               /* behind content */
}

/* ensure content sits above watermark */
nav.site-nav,
main,
.container,
footer {
  position: relative;
  z-index: 1;
}

}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.1;
  color: #333;
}

h1 { font-size: 45px; line-height: 48px; }
h2 { font-size: 36px; line-height: 40px; }
h3 { font-size: 30px; line-height: 32px; }
h4 { font-size: 26px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 18px; line-height: 22px; }

/* Links */
a {
  color: black;
  text-decoration: none;
}
a:hover, a:focus {
  color: #3282e6;
  text-decoration: underline;
}

/* Top Bar */
.top-bar {
  height: 20px;
  background: linear-gradient(to bottom, #71a100 0%, #6fa100 100%);
}

/* Navigation */
nav.site-nav {
  background-color: #333;
  font-size: 18px;
  position: relative;
  z-index: 1000;
}

/* Default desktop nav */
nav.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav.site-nav .nav-list li a {
  display: block;
  color: white;
  padding: 14px 16px;
  transition: color 0.3s ease;
}

nav.site-nav .nav-list li a:hover {
  color: #3282e6;
}

/* Hamburger Menu Button (dark version) */
.menu-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1100;
  background-color: rgba(255,255,255,0.75); /* subtle backdrop */
  border-radius: 6px;
  border: none;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #515151;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* ========================================
   Mobile Navigation
======================================== */
@media (max-width: 768px) {
  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Hide nav by default */
  nav.site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    z-index: 999;
  }

  /* Show nav when toggled */
  nav.site-nav .nav-list.showing {
    display: flex;
  }

  nav.site-nav .nav-list li {
    border-top: 1px solid #444;
    width: 100%;
  }

  nav.site-nav .nav-list li a {
    padding: 14px;
    display: block;
    width: 100%;
  }
}

/* Animate hamburger to "X" */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Containers
======================================== */
.container {
  margin: 48px auto 0;
  max-width: 90%;
  padding: 0 10px;
}

/* ========================================
   Footer
======================================== */
footer {
  background-color: #333;
  color: white;
  padding: 25px 10px;
  font-size: 14px;
  text-align: center;
  margin-top: 80px;
  border-top: 4px solid #3282e6;
}

/* ========================================
   Images
======================================== */
img {
  display: block;
  max-width: 40%;
  height: auto;
  border-radius: 0;
  margin: 20px auto;
  box-sizing: border-box;
}

/* =========================================================
   Property page additions (sticky footer + nicer property photos)
   Works with your property.php that uses <main class="container ...">
========================================================= */

/* Sticky footer layout */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Push footer to bottom */
main {
  flex: 1;
}

/* Remove footer's big margin so it can sit at bottom */
footer {
  margin-top: 0;
}

/* Property page images: make them larger than 40% */
.properties-container img,
.property-carousel img {
  max-width: 90%;
}

/* Optional: keep carousel buttons usable if you have them */
.property-carousel {
  position: relative;
}
.carousel-btn {
  cursor: pointer;
}
