/* General */
html, body {
  height: 100%;
}

body {
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1 {
  color: #013801;
}

.bg-custom-dark {
  background-color: #132b2b;
}

.text-custom-light {
  color: wheat !important;
}

/* Navbar */
.main-navbar .nav-link {
  color: wheat;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
  color: #00ff99;
}

.main-navbar .nav-link.active {
  color: #30b842;
}

.main-navbar .dropdown-item {
  color: black;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  color: #00ff99;
}

.main-navbar .navbar-brand {
  font-family: 'Lobster', cursive;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  color: #53b38e !important;
}

.main-navbar .dropdown-header {
  color: black;
  font-weight: bold;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background-image: url('/images/lake.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-caption {
  position: absolute;
  left: 5%;
  top: 40%;
  color: white;
  max-width: 60%;
} 

.hero-phone {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 16vw, 360px);
  height: auto;
  z-index: 2;
} 

.hero-caption h5 {
  font-size: clamp(1.4rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 700;
}

.hero-caption p {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.2rem);
}


/* Mobile tweaks */
@media (max-width: 768px) {
  .hero-section {
    min-height: 450px;
  }

  .hero-caption {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    max-width: 55%;
  }
  .hero-caption h5 {
    font-size: clamp(1.2rem, 2.5vw + 1rem, 1.5rem);
    font-weight: 700;
  }  

  .hero-phone {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: clamp(130px, 22vw, 220px);
  }
}

/* Feature Section */
.features-section {
  padding-top: 40px;
  background: linear-gradient(to bottom, #103030, #132b2b);
}

.feature-box {
  background-color: #1f3b3b;
  border-radius: 20px;
  padding: 20px;
  height: 100%;
  color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.icon-feature {
  font-size: 3.5rem;
  margin-bottom: 10px;
  color: #00ffc8;
}

.feature-box h5 {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.2rem;
  hyphens:auto;
  overflow-wrap: break-word;
  word-break: break-word;  
}

.feature-box p {
  font-size: 0.95rem;
  color: #d0d0d0;
}

/* Footer */
.custom-footer {
  min-height: 100px !important;
}

/* Navbar toggler icon color */
.navbar-toggler {
  border-color: wheat;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='wheat' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* === PAGES (Contact, Legal) === */
/* Page header */
.page-header {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  color: white;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.page-header .header-overlay {
  min-height: 300px;
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 120px 0 0 20px;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0;
  color: white; 
  z-index: 3;

}

/* Header title */
.header-title h1 {
  font-size: clamp(1.4rem, 2.5vw + 1rem, 2.5rem);
}
@media (max-width: 768px) {
  .header-title h1 {
  font-size: clamp(1.1rem, 2.5vw + 1rem, 1.2rem);
  }
}

/* Contact box */
.contact-box {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1f3b3b; 
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: white;
}
.contact-box h1 {
  color: wheat;
}
