/* ============================================================
   COPACETIC CO. — THE GREEN ROOM
   Design system: deep green / cream / gold
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --green:  #071d14;   /* primary deep green */
  --green2: #0b2b1d;   /* lighter green */
  --cream:  #f1eadb;   /* cream background */
  --gold:   #c9a665;   /* accent gold */
  --black:  #050706;   /* near-black */
  --muted:  #a9ad9f;   /* muted text */
}

/* ---------- 2. Base / reset ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--black);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- 3. Navigation ---------- */
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  position: absolute;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid #ffffff24;
}

.brand {
  font-family: 'Bebas Neue';
  font-size: 25px;
  letter-spacing: 2px;
}

.brand span {
  color: var(--gold);
}

nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .nav {
    padding-inline: 3vw;
  }

  .nav nav {
    gap: clamp(12px, 1.6vw, 20px);
    font-size: 11px;
  }

  .staff-link {
    display: none;
  }

}

.nav-toggle,
.mobile-staff-link {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #c9a66555;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  transition: transform .2s, opacity .2s;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--gold);
  color: #07130d;
  padding: 16px 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: 0;
  cursor: pointer;
}

.btn.small {
  padding: 11px 17px;
  font-size: 12px;
}

/* ---------- 5. Hero ---------- */
.hero {
  min-height: 94vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 130px 6vw 70px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,10,7,.95) 0%, rgba(3,10,7,.72) 42%, rgba(3,10,7,.15) 76%),
    linear-gradient(0deg, rgba(3,10,7,.65), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- 6. Shared heading styles ---------- */
.hero h1,
.section-head h2,
.intro h2,
.story h2,
.booking h2,
.contact h2,
.where h2 {
  font-family: 'Bebas Neue';
  font-weight: 400;
  line-height: .9;
  margin: 18px 0;
  font-size: clamp(60px, 9vw, 130px);
  letter-spacing: 1px;
}

.hero h1 em,
.section-head em,
.intro em,
.story em,
.booking em,
.where em {
  font-family: 'Playfair Display';
  font-weight: 600;
  text-transform: none;
  color: var(--gold);
}

.lede {
  max-width: 570px;
  font-size: 18px;
  line-height: 1.65;
  color: #e4e2d9;
}

.actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.textlink {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.forgot-password-link {
  display: block;
  margin-top: 16px;
  color: var(--green);
  text-align: center;
  font-size: 13px;
}

.forgot-password-link:hover {
  text-decoration: underline;
}

.hero-mark {
  position: absolute;
  right: 5vw;
  bottom: 4vw;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #c9a66580;
  background: #07140e;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 7. Ticker strip (revolving) ---------- */
.ticker {
  display: flex;
  padding: 18px 4vw;
  background: var(--gold);
  color: #0a160f;
  font-family: 'Bebas Neue';
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: hidden;
}

.ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 120px;
  animation: ticker-scroll 30s linear infinite;
}

.ticker:hover .ticker-inner {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ---------- 8. Intro section ---------- */
.intro,
.story,
.booking,
.contact,
.where {
  padding: 110px 7vw;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: var(--cream);
  color: #102016;
}

.intro h2,
.contact h2 {
  font-size: clamp(48px, 6vw, 90px);
}

.intro > div p {
  font-family: 'Playfair Display';
  font-size: 24px;
  line-height: 1.5;
  max-width: 800px;
}

/* ---------- 9. Services menu ---------- */
.services,
.work {
  padding: 110px 7vw;
  background: var(--green);
}

.section-head h2 {
  font-size: clamp(50px, 6vw, 90px);
}

.service-grid {
  border-top: 1px solid #c9a66555;
}

.service-grid article {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid #c9a66540;
  align-items: center;
}

.service-grid h3 {
  font-family: 'Playfair Display';
  font-size: 25px;
  margin: 0 0 8px;
}

.service-grid p {
  margin: 0;
  color: #bfc5ba;
  line-height: 1.5;
  max-width: 680px;
}

.service-grid b {
  font-family: 'Bebas Neue';
  font-size: 30px;
  color: var(--gold);
}

.service-grid span {
  font-size: 11px;
  letter-spacing: 1.5px;
}

/* ---------- 9b. Featured service (The Full Copacetic) ---------- */
.service-grid .featured {
  position: relative;
  background: linear-gradient(135deg, var(--gold) 0%, #d9b877 100%);
  color: #122018;
  padding: 34px 30px;
  margin-top: 30px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 0 0 1px #0a160f, 0 10px 30px rgba(201, 166, 101, .25);
  transform: scale(1.02);
}

.service-grid .featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--black);
  color: var(--gold);
  font-family: 'Bebas Neue';
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 3px;
  border: 1px solid var(--gold);
  z-index: 2;
}

.service-grid .featured p {
  color: #2a1d0a;
}

.service-grid .featured h3 {
  font-size: 28px;
}

.service-grid .featured b {
  font-size: 38px;
  color: #0a160f;
}

/* ---------- 10. Gallery / work ---------- */
.work {
  background: #090d0b;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(201, 166, 101, .42);
  background: var(--green2);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figure:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.gallery figure:nth-child(6) img {
  object-position: left center;
  transform: scale(1.06);
}

.gallery figure:nth-child(6):hover img {
  transform: scale(1.1);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 18px 18px;
  background: linear-gradient(transparent, rgba(5, 7, 6, .82));
  color: var(--cream);
  font-family: 'Playfair Display';
  font-size: 19px;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 11. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--gold);
  color: #0c1711;
}

.stats div {
  padding: 55px;
  text-align: center;
  border-right: 1px solid #0c171133;
}

.stats strong {
  display: block;
  font-family: 'Bebas Neue';
  font-size: 65px;
}

.stats span {
  font-size: 11px;
  letter-spacing: 2px;
}

/* ---------- 12. Story ---------- */
.story {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3,10,7,.94) 0%, rgba(3,10,7,.78) 48%, rgba(3,10,7,.52) 100%),
    linear-gradient(0deg, rgba(3,10,7,.38), transparent 55%),
    url("assets/8th-new-pic.png") center 42% / cover no-repeat;
}

.story-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.story h2 {
  font-size: clamp(50px, 6vw, 90px);
}

.story-copy > p:not(.eyebrow):not(.quote) {
  color: #c1c7bc;
  line-height: 1.8;
}

.quote {
  font-family: 'Playfair Display';
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  margin-top: 35px;
}

/* ---------- 13. Booking CTA (form moved to /booking.html) ---------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  background: var(--cream);
  color: #102016;
}

.booking h2 {
  font-size: clamp(50px, 6vw, 90px);
}

.policy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pay-note {
  margin-top: 28px;
  font-size: 14px;
  color: #102016;
  max-width: 480px;
}

.pay-note strong {
  color: #315b3d;
}

/* ---------- 13b. Where to Go section ---------- */
.where {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6vw;
  align-items: center;
  background: var(--green);
}

.where .section-head h2 {
  font-size: clamp(50px, 6vw, 90px);
}

.where p {
  color: #c1c7bc;
  line-height: 1.8;
  max-width: 560px;
}

.where .btn {
  background: var(--gold);
  color: #07130d;
  padding: 18px 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: 0;
  cursor: pointer;
}

.where .btn:hover {
  background: #d9b877;
}

/* ---------- 14. Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 6vw;
  align-items: center;
  background: #07140e;
}

.contact > img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  background: #07140e;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Playfair Display';
  font-size: 19px;
  color: var(--gold);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.instagram-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-icon .instagram-dot {
  fill: currentColor;
  stroke: none;
}

/* ---------- 15. Footer ---------- */
footer {
  padding: 28px 5vw;
  display: flex;
  justify-content: space-between;
  color: #7f897f;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.mobile-book {
  display: none;
}

/* ============================================================
   RESPONSIVE — max-width 800px
   ============================================================ */
@media (max-width: 800px) {
  .nav {
    height: 68px;
    padding: 0 20px;
  }

  .nav > .btn {
    display: none;
  }

  .nav > .staff-link {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 44px;
  }

  .nav nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 20px 20px;
    background: rgba(7, 29, 20, .98);
    border-bottom: 1px solid #c9a66555;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    flex-direction: column;
    gap: 0;
  }

  .nav.menu-open nav {
    display: flex;
  }

  .nav nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(201, 166, 101, .16);
  }

  .nav nav .mobile-staff-link {
    display: block;
    color: var(--gold);
  }

  .nav.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 88vh;
    padding: 110px 22px 55px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .shade {
    background:
      linear-gradient(90deg, rgba(3,10,7,.92), rgba(3,10,7,.38)),
      linear-gradient(0deg, rgba(3,10,7,.8), transparent 50%);
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-mark {
    width: 112px;
    height: 112px;
    right: 18px;
    bottom: 20px;
  }

  .lede {
    font-size: 15px;
    max-width: 82%;
  }

  .ticker {
    justify-content: flex-start;
  }

  .intro,
  .services,
  .work,
  .story,
  .booking,
  .contact,
  .where {
    padding: 75px 22px;
  }

  .intro,
  .story,
  .booking,
  .contact,
  .where {
    grid-template-columns: 1fr;
  }

  .intro > div p {
    font-size: 19px;
  }

  .service-grid article {
    grid-template-columns: 1fr 65px;
    gap: 12px;
  }

  .service-grid article span {
    grid-column: 1 / 3;
  }

  /* Featured box mobile fit */
  .service-grid .featured {
    transform: none;
    padding: 28px 18px;
    border-radius: 6px;
  }

  .service-grid .featured::before {
    top: -12px;
    left: 14px;
    font-size: 11px;
    padding: 3px 10px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    aspect-ratio: 4 / 3;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats div {
    padding: 30px;
    border-right: 0;
    border-bottom: 1px solid #0c171133;
  }

  .stats strong {
    font-size: 50px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .contact > img {
    width: 150px;
    height: 150px;
  }

  .contact-links {
    font-size: 17px;
  }

  footer {
    padding: 25px 20px 85px;
    gap: 20px;
    flex-direction: column;
  }

  .mobile-book {
    display: flex;
    position: fixed;
    z-index: 30;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: var(--gold);
    color: #0a160f;
    height: 54px;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 30px #0008;
  }
}
