/* ==== GLOBAL RESETS AND BASE STYLES ==== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  font-family: 'Playfair Display', serif;
  background: #f5f2ea;
  color: #222;
  line-height: 1.65;
  min-height: 100vh;
}

/* ===== LAYOUT CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ===== HEADER ===== */
.site-header {
  background: #B87C4A;
  width: 100%;
  box-shadow: 0 2px 8px rgba(40,40,40,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  min-height: 70px;
  padding: 0 1.1rem;
}

/* === Nav Bar Layout === */
.main-nav {
  flex: 1;
  display: flex;
}
.main-nav-links {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.main-nav ul {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.main-nav li {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-nav a, .main-nav .dropdown-toggle {
  color: #002b47;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 0.2em 0.7em;
  border-radius: 6px;
  background: none;
  display: inline-block;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #f5f2ea;
  color: #B87C4A;
}

/* ==== DROPDOWN for Services ==== */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 3;
}
.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 110%;
  min-width: 240px;
  background: #fff8ef;
  border: 1px solid #B87C4A;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  border-radius: 7px;
  z-index: 10;
  flex-direction: column;
  text-align: left;
  padding: 0.3em 0;
}
.dropdown-menu a {
  display: block;
  color: #002b47;
  padding: 0.7em 1.4em;
  border-radius: 0;
  text-decoration: none;
  background: none;
  font-weight: 500;
  font-size: 1.04rem;
  width: 100%;
  transition: background 0.14s, color 0.14s;
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
  background: #f1e6d8;
  color: #B87C4A;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: flex;
}
.dropdown-toggle::after {
  content: " ▼";
  font-size: 0.74em;
  vertical-align: middle;
  margin-left: 0.4em;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #002b47 !important;
  margin-bottom: 1rem;
}
h1 { font-size: 2.2rem; text-align: center; }
p { margin-bottom: 1rem; }

/* ===== BIO IMAGE ===== */
.bio-img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 12px;
  max-width: 300px; /* 25% larger */
  width: 100%;
}

/* ===== SERVICE TILES (MATCH BODY MARGINS) ===== */
.service-list {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.service-tile {
  display: grid;
  grid-template-columns: 1.11fr 0.06fr 2fr;
  align-items: stretch;
  width: 100%;
  min-height: 110px;
  background: #223163;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 2em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  transition: background 0.18s, transform 0.18s;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.service-tile:hover,
.service-tile:focus {
  background: #162043;
  transform: translateY(-1px) scale(1.017);
  text-decoration: none;
}

.tile-left {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.32rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #fff;
  padding: 0 1.2rem 0 1.2rem;
  letter-spacing: -1px;
  text-align: center;
  min-width: 170px;
}

.tile-divider {
  display: block;
  width: 3px;
  background: #9db2d3;
  border-radius: 6px;
  opacity: 0.38;
  margin: 1.1rem 0;
  height: auto;
  align-self: stretch;
}

.tile-right {
  display: flex;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.32;
  color: #e6ebf8;
  font-family: 'Playfair Display', serif;
  padding: 1rem 1.2rem 1rem 1.2rem;
  text-align: left;
}

/* ===== EXAMPLES OF SERVICES SECTIONS ===== */
.service-examples {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-start;
  /* align left edge with body text */
}
.service-examples-inner {
  text-align: left;
  margin-left: 2.7ch;  /* shift right by ~3 characters */
  color: #222;
  font-family: 'Playfair Display', serif;
}
.service-examples strong {
  display: block;
  margin-bottom: 0.7em;
  font-size: 1.07rem;
  color: #222;
  font-family: 'Playfair Display', serif;
  text-align: left;
  padding-left: 0;
  margin-left: 0;
  font-weight: 600;
}
.service-examples ul {
  margin: 0;
  padding-left: 1.3em; /* to match ul under paragraphs */
  color: #222;
}
.service-examples li {
  margin-bottom: 0.4em;
  color: #222;
  font-size: 1.03rem;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .service-list { max-width: 99vw; padding: 0 1vw; }
  .service-tile { max-width: 100vw; }
}
@media (max-width: 950px) {
  .service-tile { max-width: 99vw; }
  .tile-right, .tile-left { padding: 1rem 1.2rem; }
}
@media (max-width: 700px) {
  .service-tile {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 0.2rem;
    max-width: 99vw;
  }
  .tile-divider { display: none; }
  .tile-left {
    padding: 0;
    font-size: 1.02rem;
    margin-bottom: 0.7em;
  }
  .tile-right {
    padding: 1rem 0.7rem;
    font-size: 1.02rem;
    text-align: center;
  }
  .service-examples-inner { margin-left: 0; }
  .service-examples strong { font-size: 1rem; }
  .service-examples li { font-size: 0.97rem; }
}

/* ===== END ===== */
