/* === Global Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background-color: #fdfdfd;
  color: #2c3e50;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-top: 0;
  letter-spacing: -0.5px;
  text-align: center;
}

p {
  margin-bottom: 1rem;
  max-width: 60ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* === Links === */
a:not(.btn) {
  color: #fff;
  text-decoration: none;
}
a:not(.btn):hover {
  text-decoration: none;
}

/* === Navbar === */
.navbar {
  position: relative;
  box-shadow: none !important;
  border-bottom: none !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Navbar for other pages */

.otherpages {
  position: relative;
  z-index: 1000;
  width: 100%;
  padding: 5rem 1rem;
  background-color: rgba(34, 24, 18, 0.85);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid #6b4226;
  box-shadow: none !important;
  border-bottom: none !important;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  font-size: larger;
  transition: color 0.3s ease;
}

.navbar .btn-primary {
  border: none;
  padding: 0.45rem 1.2rem;
  font-weight: 500;
  font-size: larger;
  background-color: #5a3824;
  color: #fff;
  transition: background 0.3s ease, border 0.3s ease;
}

/* === Logo === */
.logo-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
}
#logo {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

/* === Hero Banner & Header === */
.hero-header {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.home-banner {
  background: url("./assets/wooded-scene.jpg") center/cover no-repeat;
  min-height: 100vh;
  padding: 6rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: #f2f2f2; /* slightly softened white */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); /* deeper glow */
  z-index: 2;
}

.home-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75); /* dark overlay */
  z-index: -1000;
}

.home-banner .navbar,
.home-banner .home-text {
  position: fixed;
  z-index: 2;
}
.home-text {
  max-width: 720px;
  margin-top: 2rem;
}

.brown-box {
  background-color: rgba(34, 24, 18, 0.85);
  padding: 5rem 1rem;
  border-bottom: 2px solid #6b4226;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  width: 100%;
  position: relative;
}

.overlay {
  width: 100%;
  height: 100vh;
  position: relative;
}

/* === CTA Button === */
.btn-cta {
  background-color: #6b4226;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 16px rgba(107, 66, 38, 0.25);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta:hover {
  background-color: #826247;
}

/* === Section Base === */
section {
  padding: 4rem 1rem;
}
section h2,
section h3,
section h4,
section p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
section p {
  max-width: 60ch;
  line-height: 1.6;
}
.bg-light {
  background-color: #f4eee4 !important;
}

/* === Price Banner === */
.banner {
  position: relative;
  background-color: #6b4226;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
  overflow: hidden;
}
#banner-img {
  max-width: 85%;
  height: auto;
  display: block;
}

/* === Team Cards === */
.card-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}
.card-img-headshot-adjust {
  width: 250px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  margin: auto;
}
.card-body {
  padding-top: 1rem;
  text-align: center;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.card-text {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* === Contact Section === */
.contact-hero {
  background-color: #f4eee4;
  color: #5a3824;
}
.contact-form-section {
  max-width: 100%;
  overflow-x: hidden;
}
.contact-form-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}
.contact-form-section p,
.contact-form-section label {
  color: #444;
}
.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}
@media (max-width: 576px) {
  .contact-map iframe {
    height: 200px;
  }
  .about-page {
    padding: 30px;
    margin: auto;
  }
}

/* === Forms === */
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* === Footer === */
footer {
  font-size: 0.9rem;
}
footer a {
  color: inherit;
}
.footer-nav a:hover {
  text-decoration: underline;
}

/* === Images & Animation === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero-banner h1 {
    font-size: 2rem;
  }
  .hero-banner p {
    font-size: 1rem;
  }
  .btn-cta {
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .navbar .btn-primary {
    font-size: 0.9rem;
    padding: 0.35rem 1rem;
  }
  .hero-banner {
    flex-direction: column;
    text-align: center;
  }
}
