:root {
  --bg: #f7f4ef;
  --accent: #c89c7b;
  --accent-dark: #8a6a52;
  --text: #333333;
  --text-muted: #666666;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* -----------------------------------------------------------
   HEADER
----------------------------------------------------------- */
header {
  padding: 1.5rem 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

/* -----------------------------------------------------------
   HERO SECTION
----------------------------------------------------------- */
.bg-hero {
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  background-image: url('images/hero-beach.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* ⭐ Soft gradient behind text (Option 2) */
.bg-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0) 100%
  );
  padding: 0 2.4rem 3rem 2.4rem; /* no top padding */
}

/* HERO GRID */
.hero-grid-fixed {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
}

/* HEADSHOT COLUMN */
.hero-photo-col {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-headshot {
  width: 100%;
  max-width: 180px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  margin-top: 2.5rem; /* ⭐ Your spacing */
}

/* TEXT COLUMN */
.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ⭐ Text shadow for readability (Option 1) */
.hero-text-col,
.hero-tagline,
.hero-intro,
.hero-subsection h2,
.hero-subsection p {
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.hero-tagline {
  font-size: 2rem;        /* ⭐ now the largest text */
  font-weight: 600;
  letter-spacing: 0.02em; /* softer spacing for readability */
  text-transform: none;   /* optional: remove all-caps for a warmer feel */
}


.hero-intro {
  font-size: 1rem;
  line-height: 1.6;
}

.hero-subsection h2 {
  margin-bottom: 0.3rem;
}

.hero-subsection p {
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 1.4rem;   /* ⭐ smaller than tagline, bigger than normal text */
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1rem;
}


/* CTA BUTTON */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  display: inline-block;
  text-align: center;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------
   ABOUT PAGE
----------------------------------------------------------- */
.about-soft-bg {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  margin-top: 2rem;
}

.about-bio {
  font-size: 1rem;
  color: var(--text-muted);
}

.about-headshot-wrap {
  float: left;
  width: 40%;
  max-width: 180px;
  margin: 0 1.5rem 1rem 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.about-bio::after {
  content: "";
  display: block;
  clear: both;
}

.about-details {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-edu-separator {
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-top: 1px solid #e0dcd5;
}

/* -----------------------------------------------------------
   SERVICES PAGE
----------------------------------------------------------- */
.services-list p {
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.services-section-separator {
  margin: 2rem 0;
  border-top: 1px solid #e0dcd5;
}

/* -----------------------------------------------------------
   CONTACT PAGE
----------------------------------------------------------- */
.contact-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--white);
}

.footer-bg {
  border-radius: 12px;
  overflow: hidden;
  background-image: url('images/footer-boats.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.footer-overlay {
  background: rgba(0,0,0,0.55);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-info {
  line-height: 1.5;
  max-width: 400px;
}

.footer-info a {
  color: #f7e4cf;
  font-weight: 500;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  color: #f7e4cf;
  font-weight: 500;
}

/* -----------------------------------------------------------
   MOBILE RESPONSIVE
----------------------------------------------------------- */
@media (max-width: 800px) {

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero-grid-fixed {
    grid-template-columns: 1fr;
  }

  .hero-photo-col {
    justify-content: center;
    margin-bottom: 1.2rem;
  }

  .hero-headshot {
    max-width: 150px;
    max-height: 180px;
  }

  .about-headshot-wrap {
    float: none;
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 60%;
    max-width: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-overlay {
    flex-direction: column;
    align-items: flex-start;
  }
}
