/* ============================================================
   Natalie Ward Hair — emerald & gold, elegant
   ============================================================ */

:root {
  --emerald-deep: #0b3d2e;   /* royal / bottle green */
  --emerald-soft: #1b5e42;
  --gold:         #c9a227;
  --gold-bright:  #d9bd57;
  --cream:        #faf6ee;
  --ink:          #22271f;
  --ink-soft:     #4b5147;
  --line:         rgba(11, 61, 46, 0.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 900px;
  --shadow: 0 18px 45px -22px rgba(11, 61, 46, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, #fffdf8 0%, var(--cream) 55%) fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--emerald-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* ---------------- Banner ---------------- */
.banner {
  position: relative;
  height: clamp(220px, 38vh, 360px);
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.banner__img {
  position: absolute;
  inset: 0;
  background: url("images/conister-rock.jpeg") center 42% / cover no-repeat;
  transform: scale(1.02);
}
.banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  padding: 1rem;
  background: linear-gradient(
    to bottom,
    rgba(11, 61, 46, 0.28) 0%,
    rgba(11, 61, 46, 0.12) 40%,
    rgba(11, 61, 46, 0.55) 100%
  );
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.banner__eyebrow {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold-bright);
  padding-left: 0.42em;
}
.banner__title {
  margin: 0.15em 0 0.1em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.banner__tagline {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--cream);
}

/* ---------------- Tabs ---------------- */
.tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--emerald-deep);
  box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.6);
}
.tabs__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(250, 246, 238, 0.72);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 1.4rem;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}
.tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}
.tab:hover { color: var(--cream); }
.tab[aria-selected="true"] { color: var(--gold-bright); }
.tab[aria-selected="true"]::after { width: 26px; }
.tab:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: -4px; }

/* ---------------- Content ---------------- */
.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 4rem) 1.5rem clamp(3rem, 7vw, 5rem);
}
.panel { display: none; }
.panel.is-active {
  display: block;
  animation: rise 0.5s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.panel:focus-visible { outline: none; }

.ornament {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.panel__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3rem);
  color: var(--emerald-deep);
  text-align: center;
  margin: 0 0 1rem;
}
.panel__title::after {
  content: "";
  display: block;
  width: 66px;
  height: 2px;
  margin: 0.7rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.panel__lead {
  max-width: 60ch;
  margin: 0 auto 1.8rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
/* ---------------- Welcome quicklinks ---------------- */
.quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
}
.quicklink {
  appearance: none;
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.quicklink:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.quicklink:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.quicklink__label {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--emerald-deep);
}
.quicklink__sub {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------------- Welcome gallery ---------------- */
.gallery {
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #fff;
  outline: 1px solid var(--gold);
  box-shadow: var(--shadow);
  display: block;
}
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
}

/* ---------------- Contact grid ---------------- */
.contact-feature {
  max-width: 720px;
  margin: 0 auto 1rem;
}
.contact-feature .contact-cell__label {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.contact-cell {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  padding: 1.4rem 1.5rem;
}
.contact-cell__body + .contact-cell__label { margin-top: 1.1rem; }
.contact-cell__label {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-cell__body {
  margin: 0;
  font-style: normal;
  color: var(--ink);
  font-size: 1.02rem;
}
.contact-cell__hint {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}
.contact-line { display: block; }
.contact-line__k {
  display: inline-block;
  min-width: 4.2em;
  color: var(--emerald-soft);
  font-weight: 500;
}
.hours {
  width: 100%;
  border-collapse: collapse;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.32rem 0;
  font-weight: 300;
}
.hours th {
  color: var(--emerald-soft);
  font-weight: 500;
  padding-right: 1rem;
}
.hours td { color: var(--ink); }

/* ---------------- About ---------------- */
.about {
  max-width: 620px;
  margin: 0 auto;
}
.about__text { margin-bottom: 2rem; }
.about__text p {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.about__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  outline: 1px solid var(--gold);
}
.about__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- Footer ---------------- */
.footer {
  background: var(--emerald-deep);
  color: var(--cream);
  text-align: center;
  padding: 2.4rem 1.5rem 2.6rem;
  border-top: 3px solid var(--gold);
}
.footer__brand {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(217, 189, 87, 0.4);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer__social:hover {
  color: var(--emerald-deep);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.footer__social-text {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 340px; margin: 0 auto; }
  .tab { padding: 0.9rem 0.9rem; font-size: 0.8rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel.is-active { animation: none; }
  * { transition: none !important; }
}
