/* Global reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #243238;
  background-color: #fafafa;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #133340;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================= */
/* HEADER WITH LARGE LOGO */
/* ============================= */

.site-header {
  background: linear-gradient(
    to bottom,
    #eaf4f7 0%,
    #ffffff 100%
  );
  border-bottom: 1px solid #d6e3e8;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.brand-text p {
  font-size: 0.95rem;
  margin: 0;
  color: #5c6c75;
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 1rem;
}

.nav a {
  text-decoration: none;
  color: #405c67;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
}

.nav a:hover {
  background-color: #e3f0f5;
  color: #133340;
}

/* ============================= */
/* HERO – GRADIENT + GLASS CARD */
/* ============================= */

.hero {
  position: relative;
  padding: 8rem 0 9rem; /* increased height */
  color: #133340;
  background-image:
    linear-gradient(
      to bottom,
      rgba(29, 107, 134, 0.45),
      rgba(29, 107, 134, 0.15)
    ),
    url("images/hero-lake.jpg");
  background-size: cover;
  background-position: center;
}

.hero-image {
  display: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.8);
  padding: 2.25rem 2.75rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* tagline chip */
.hero-tag {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  color: #133340;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  display: inline-block;
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Hero bottom fade overlay */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(250, 250, 250, 0) 0%,
    rgba(250, 250, 250, 0.85) 65%,
    #fafafa 100%
  );
}

/* ============================= */
/* WAVE DIVIDER */
/* ============================= */

.wave-divider {
  margin-top: -60px;          /* pull the wave up over the fade */
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 0.75rem;
  margin-top: 0.75rem;
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btn-primary {
  background-color: #1d6b86;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #155468;
}

.btn-secondary {
  background-color: transparent;
  color: #1d6b86;
  border: 1px solid #1d6b86;
}

.btn-secondary:hover {
  background-color: rgba(29, 107, 134, 0.08);
  color: #133340;
}

/* ============================= */
/* SECTIONS */
/* ============================= */

.section {
  padding: 3rem 0;
  background-color: #fafafa;
}

.section-alt {
  background-color: #ffffff;
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

/* ============================= */
/* TWO-COLUMN LAYOUT */
/* ============================= */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

/* ============================= */
/* ABOUT SECTION – PROFILE PHOTO */
/* ============================= */

.profile-photo-wrap {
  display: flex;
  justify-content: center;
}

.profile-photo {
  max-width: 280px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.about-layout {
  align-items: center;
}

/* ============================= */
/* BULLET LISTS */
/* ============================= */

.bullet-list {
  padding-left: 1.1rem;
}

.bullet-list li {
  margin-bottom: 0.5rem;
}

/* ============================= */
/* SECTION IMAGES */
/* ============================= */

.section-image-wrap {
  display: flex;
  justify-content: center;
}

.section-image {
  border-radius: 1.25rem;
  max-width: 100%;
  height: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

/* ============================= */
/* MAP */
/* ============================= */

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.map-frame {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.site-footer {
  background-color: #133340;
  color: #d9e2e7;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

.footer-note {
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* ============================= */
/* RESPONSIVE MEDIA QUERIES */
/* ============================= */

@media (max-width: 900px) {

  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0 1rem;
  }

  .brand {
    justify-content: center;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 0.3rem;
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-text {
    padding: 2rem 2.2rem;
  }

  .hero-inner,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {

  .logo {
    height: 95px;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero-text {
    padding: 1.9rem 1.6rem;
  }

  .hero h2 {
    font-size: 1.9rem;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .floating-cta {
    right: 1rem;
    bottom: 1rem;
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
  }
}

/* ============================= */
/* SIMPLE FADE-IN ANIMATION */
/* ============================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 0.9s ease-out both;
}

/* ============================= */
/* FLOATING CTA BUTTON */
/* ============================= */

.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background-color: #1d6b86;
  color: #ffffff;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 120;
}

.floating-cta:hover {
  background-color: #155468;
}
