/* =========================
   Base
   ========================= */
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; color: #273246; background: #ffffff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Layout container */
.container { width: min(1100px, 92vw); margin: 0 auto; }

/* =========================
   Header (Flexbox)
   ========================= */
.site-header {
  background: #3e4c5e;
  border-bottom: 1px solid #2e3a48;
  padding: 6px 0;
  min-height: 90px;
}

/* Flex row: logo | nav | phone */
.header-grid {
  display: flex;
  align-items: center;          /* Center vertically */
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.brand { flex: 0 0 auto; }
.brand img {
  height: 140px;                /* slightly shorter for balance */
  filter:
    drop-shadow(0 0 1px #ffffff)
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.7));
}

/* Navigation (center) */
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #ffffff !important;
  font-weight: bold;
}
.main-nav a:hover { text-decoration: underline; }

/* Phone/Email (right) */
.nav-contact {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;   /* keep phone above email */
  align-items: flex-end;     /* right-align text */
  gap: 4px;
}
.nav-contact a {
  color: #ffffff !important;
  font-weight: bold;
}
.nav-contact .phone { font-size: 1.05rem; }
.nav-contact .email { font-size: 0.95rem; }

/* =========================
   HERO
   ========================= */
.hero{
  position: relative;
  min-height: 80vh;
  overflow: hidden;
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/images/duke-hero.jpg");
  background-repeat: no-repeat;
  background-position: center;   /* try: center top for more headroom */
  background-size: 55%;          /* swap to 100% if you prefer */
}

/* keep hero text on top */
.hero-copy{ position: relative; z-index: 1; }

/* Tagline */
.tagline {
  position: absolute;
  top: 70vh;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: #FFFFFF;
  font-style: italic;
  font-weight: 700;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.7),
    0 0 14px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

/* =========================
   Sections
   ========================= */
.section { padding: 50px 0; background: #eef4f7; }
.section-title { text-align: center; margin: 0 0 22px; font-size: clamp(22px, 3.4vw, 34px); }

/* Services cards (if used) */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.card {
  flex: 1 1 calc(33.333% - 22px);
  min-width: 240px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6ecf2;
  box-shadow: 0 8px 16px rgba(10,40,80,0.05);
}
.card h3 { margin-top: 0; }

/* Reviews */
.reviews { display: flex; flex-direction: column; gap: 10px; }
.review {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6ecf2;
}
.review img,
.review-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: #3e4c5e;
  border-top: 1px solid #2e3a48;
  padding: 22px 0;
  text-align: center;
  color: #ffffff;
}

/* =========================
   About section
   ========================= */
.about {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  flex-wrap: wrap;             /* Stacks on mobile */
}

.about-media img {
  width: 300px;
  height: auto;
  max-height: 600px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.about-content {
  flex: 1;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: -10px;           /* moves text block up slightly */
}

.about-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 6px 0;
}

.about-content p {
  margin-bottom: 6px;
  line-height: 1.6;
}

.about-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

/* If you specifically target this image elsewhere, keep this handy size cap */
img[src*="about-marilyn-duke.jpg"] { max-width: 200px; height: auto; display: block; margin: 0 auto; border-radius: 12px; }

/* =========================
   Services table (single source of truth)
   ========================= */
.services-table {
  width: 82%;
  margin: 16px auto;
  border-collapse: collapse;
  background: #fff;
  font-size: 16px;
}

.services-table thead th {
  background: #345287;
  color: #fff;
  text-align: left;
  padding: 8px 10px;
  font-weight: 700;
}

.services-table td {
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  line-height: 1.4;
  vertical-align: top;
}

.services-table tbody tr:nth-child(odd):not(.table-section) {
  background: #f8fafc;
}

/* Section header row inside table */
.services-table .table-section td {
  background: #eef2ff;
  color: #345287;
  border-top: 2px solid #345287;
  font-weight: 800;
  padding: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Slightly tighter space below Services heading */
#services .section-title { margin-bottom: 12px; }

/* Call to Book strip (if you keep it) */
.call-to-book {
  margin-top: 20px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
}
.call-to-book a { color: #345287; text-decoration: none; margin: 0 10px; }
.call-to-book a:hover { text-decoration: underline; }
.call-to-book .divider { margin: 0 12px; color: #666; font-weight: 400; }

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .header-grid {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .brand img { height: 96px; }
  .main-nav { flex-wrap: wrap; }
  .nav-contact { align-items: center; }
  .cards { gap: 16px; }
  .card { flex: 1 1 100%; }
  .review { flex-direction: column; }
}

@media (max-width: 720px) {
  .services-table thead { display: none; }
  .services-table,
  .services-table tbody,
  .services-table tr,
  .services-table td { display: block; width: 100%; }
  .services-table tr {
    margin: 0 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
  }
  .services-table .table-section { margin-top: 18px; border: 0; }
  .services-table .table-section td { border: 0; border-radius: 8px 8px 0 0; }
  .services-table td { border: 0; padding: 10px 12px; }
  .services-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
  }
}
