/* =========================================================
   GLOBAL RESET & BASE STYLES
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #fff9f2;
  line-height: 1.6;
}

section {
  padding: 80px 10%;
}

.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  padding: 0.8rem 1.8rem;
  background-color: #00bfa5;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #009e8a;
}

/* =========================================================
   TOP NAVIGATION BAR (SEPARATE FROM HERO)
========================================================= */

.top-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 12px 0;
}

.nav-container {
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo img {
  width: 140px;
  height: 5rem
}

/* DESKTOP NAV */
.nav-menu ul {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #00bfa5;
}

.btn-nav {
  background-color: #00bfa5;
  color: white !important;
  padding: 8px 18px;
  border-radius: 25px;
}

.btn-nav:hover {
  background-color: #009e8a;
}

/* HAMBURGER MENU */
.hamburger {
  width: 32px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  background: #333;
  border-radius: 5px;
  transition: 0.3s ease;
}

/* MOBILE DROPDOWN */
.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid #eee;
}

.mobile-menu ul {
  list-style: none;
  padding: 20px;
}

.mobile-menu li {
  margin-bottom: 15px;
}

.mobile-menu a {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.mobile-menu a:hover {
  color: #00bfa5;
}

.btn-mobile {
  background-color: #00bfa5;
  color: white !important;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 25px;
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.active {
    display: block;
  }

  /* Animated hamburger */
  .hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
}


/* =========================================================
   HERO HEADER
========================================================= */
header {
  background: url('/public/images/hero-image.jpg')
              center/cover no-repeat;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* =========================================================
   ABOUT SECTION
========================================================= */
.about {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about img {
  border-radius: 50%;
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  margin-bottom: 1rem;
  color: #00bfa5;
}

/* =========================================================
   LISTINGS SECTION
========================================================= */
.listings {
  background-color: #f9f9f9;
  padding-top: 70px;
  padding-bottom: 70px;
}

.listings h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
}

.card-content p {
  margin-bottom: 15px;
  color: #777;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

/* =========================================================
   CONTACT SECTION
========================================================= */
.contact {
  background-color: #00bfa5;
  color: white;
  padding: 70px 20px; /* keep breathing room, add mobile padding */
  text-align: center;
}

.contact h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.contact-form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 10px;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;          /* ensures clean contrast */
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button */
.contact-form button {
  background: #ffffff;
  color: #00bfa5;
  font-weight: bold;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.contact-form button:hover {
  background: #e8f7f5;
}

/* Confidential note */
.confidential-note {
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hide honeypot field */
.contact-form .hidden,
.hidden {
  display: none !important;
}

.hidden,
.contact-form .hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/* =========================================================
   FOOTER
========================================================= */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 8px;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
========================================================= */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 60px 8%;
  }

  .about img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .about {
    text-align: center;
    flex-direction: column;
  }

  .about-text {
    text-align: center;
  }
}

/* =========================================================
   FOOTER SECTION
========================================================= */
.site-footer {
  background-color: #333;
  color: white;
  padding: 50px 10%;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* BRAND AREA */
.footer-brand {
  text-align: left;
}

.footer-logo {
  width: 120px;
  margin-bottom: 12px;
}

.footer-tagline {
  color: #ddd;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* FOOTER LINKS */
.footer-links h4,
.footer-social h4,
.footer-legal h4 {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #00bfa5;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-social li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-social a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: #00bfa5;
}

/* LEGAL SECTION */
.footer-legal p {
  margin-bottom: 5px;
  color: #ddd;
  font-size: 0.9rem;
}

/* BOTTOM BAR */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #555;
  padding-top: 20px;
}

.footer-bottom p {
  margin-bottom: 5px;
  color: #ccc;
}

.fine-print {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* =========================================================
   FOOTER RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 8%;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}
