/* Ladies Culture Club Switzerland — faithful to the original Google Sites theme */

:root {
  --teal: #0b645a;        /* headings, links, accents (sampled from her theme) */
  --teal-box: #0f4d42;    /* solid title box on the home banner */
  --teal-dark: #2a4a46;   /* dark banner overlay and interior top bar */
  --sage: #c4d2ca;
  --ink: #212121;
  --soft: #5f6368;
  --line: #e1dfdb;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

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

a { color: var(--teal); }
a:hover { color: var(--teal-box); }

/* Top bar */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img { height: 42px; width: auto; }

.brand span {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

nav { display: flex; align-items: center; gap: 1.4rem; }

nav ul { display: flex; gap: 1.4rem; list-style: none; }

nav ul a {
  text-decoration: none;
  font-size: 0.92rem;
  padding-bottom: 3px;
  white-space: nowrap;
}

.insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.insta svg { width: 16px; height: 16px; }

/* Light header (home) */
header.light { background: #fff; border-bottom: 1px solid var(--line); }
header.light .brand span { color: var(--teal); }
header.light nav ul a { color: var(--ink); }
header.light nav ul a.active { color: var(--teal); border-bottom: 2px solid var(--teal); }
header.light .insta { color: var(--teal); }
header.light .insta:hover { background: var(--teal); color: #fff; }

/* Dark header (interior pages, flows into the banner) */
header.dark { background: var(--teal-dark); }
header.dark .brand span { color: #fff; }
header.dark nav ul a { color: rgba(255,255,255,0.85); }
header.dark nav ul a:hover { color: #fff; }
header.dark nav ul a.active { color: #fff; border-bottom: 2px solid #fff; }
header.dark .insta { color: #fff; }
header.dark .insta:hover { background: #fff; color: var(--teal-dark); }

/* Home banner: photo with a solid teal title box */
.banner-photo {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 3rem 1.2rem;
}

/* light filter over the photo so the outlined title stays readable */
.banner-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 247, 0.55);
}

.banner-photo .title-box { position: relative; z-index: 1; }

.title-box {
  background: transparent;
  border: 4px solid var(--teal-box);
  color: var(--teal-box);
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  text-align: center;
  padding: 2.2rem 9vw;
  max-width: 92%;
}

/* Interior banner: tree emblem under a dark teal tint, white-bordered title */
.banner-emblem {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 30%;
  padding: 3rem 1.2rem;
}

.banner-emblem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 74, 70, 0.88);
}

.banner-emblem h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  text-align: center;
  border: 2px solid #fff;
  padding: 1.2rem 3.5rem;
  max-width: 90%;
}

/* Content column */
main { max-width: 980px; margin: 0 auto; padding: 2.4rem 1.4rem 1rem; }

main.wide { max-width: 1180px; }

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--teal);
  margin: 2rem 0 0.8rem;
}

main > h2:first-child, .home-text h2:first-child { margin-top: 0; }

main p { margin: 0 0 1rem; }

/* Home: text left, photos stacked right */
.home-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 2rem;
  align-items: start;
}

.home-grid img { width: 100%; margin-bottom: 1.2rem; }

.welcome-line {
  font-family: var(--serif);
  color: var(--teal);
  font-size: 1.55rem;
  text-align: center;
  margin: 2.6rem 0 1rem;
}

/* About */
.wide-photo { margin: 0 auto 1.4rem; max-width: 760px; }

.tagline {
  font-size: 0.95rem;
  text-align: center;
  color: var(--soft);
  margin-bottom: 1.8rem;
}

/* Photo collage on the dark patterned band */
.collage {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 2.5rem 1.4rem;
  margin-top: 2.5rem;
}

.collage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 74, 70, 0.88);
}

.collage .grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* tall portrait image left; its height = two quad rows + the gap, so the mosaic forms a clean rectangle */
.collage img.big {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.collage .quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.collage .quad img { width: 100%; height: 302px; object-fit: cover; }

/* three-photo layout: wide tile on top, two below; keep faces in the wide crop */
.collage .quad img.span { grid-column: 1 / -1; object-position: center 30%; }

@media (max-width: 700px) {
  .collage .grid { grid-template-columns: 1fr; }
  .collage img.big { min-height: 0; height: auto; }
  /* quad photos are natively 4:3; fixed 302px height crops them to slivers on narrow screens */
  .collage .quad img { height: auto; aspect-ratio: 4 / 3; }
  .collage .quad img.span { aspect-ratio: 16 / 9; }
}

/* Membership rules */
ol.rules { margin: 0 0 1rem 1.4rem; }
ol.rules li { margin-bottom: 0.9rem; }

/* Who Are We profiles */
.headshot { max-width: 320px; margin: 4rem 0 1rem; }

@media (max-width: 700px) {
  .home-grid { grid-template-columns: 1fr; }

  /* Header wraps to two rows: brand on top, nav links centered below */
  .bar { flex-wrap: wrap; row-gap: 0.15rem; padding: 0.55rem 0.8rem 0.7rem; }
  .brand { margin: 0 auto; }
  .brand img { height: 36px; }
  .brand span { font-size: 1rem; }
  nav { flex-basis: 100%; justify-content: center; gap: 0.8rem; }
  nav ul { gap: 0.8rem; }
  nav ul a { font-size: 0.85rem; }
  .insta { width: 30px; height: 30px; }
  .insta svg { width: 14px; height: 14px; }

  .banner-photo { min-height: 280px; padding: 2.2rem 1rem; }
  .title-box { font-size: 1.6rem; padding: 1.3rem 1.4rem; max-width: 100%; }

  .banner-emblem { min-height: 190px; padding: 2rem 1rem; }
  .banner-emblem h1 { padding: 0.9rem 1.6rem; }

  .welcome-line { font-size: 1.25rem; }
}

/* Rights notice */
.rights {
  margin-top: 2.5rem;
  padding: 1.5rem 1.2rem 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--soft);
}
