/* ============================================================
   MY SENIOR CLUB — design system
   Rebuilt from the original myseniorclub.com (zyrosite build).
   Fonts: Lobster (logo/accent), Playfair Display (headings),
          Josefin Sans (body/nav), Nunito (fallback)
   ============================================================ */

:root {
  --ink: #0d141a;
  --black: #1a1a1a;
  --black-2: #030000;
  --white: #ffffff;
  --gray-light: #f2f2f2;
  --gray-text: #56585e;
  --purple: #8f11a8;
  --input-border: #b8c0cc;
  --danger: #b3261e;

  --font-lobster: "Lobster", "Nunito", cursive;
  --font-playfair: "Playfair Display", Georgia, serif;
  --font-body: "Josefin Sans", "Nunito", ui-sans-serif, system-ui, sans-serif;

  --container: 1224px;
  --radius-pill: 50px;
  --radius-input: 10px;
  --shadow-card: 0 18px 40px rgba(3, 0, 0, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-playfair);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--ink);
}

h1 { font-size: 64px; }
h2 { font-size: 56px; }
h3 { font-size: 48px; }
h4 { font-size: 40px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; font-weight: 700; }

p { margin-bottom: 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.script {
  font-family: var(--font-lobster);
  font-weight: 400;
}

/* ----------------------------------------------
   Header / navigation
   ---------------------------------------------- */
.site-header {
  background: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-family: var(--font-lobster);
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img { height: 28px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a,
.main-nav button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--ink); text-decoration: underline; }

.nav-item { position: relative; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(3, 0, 0, 0.12);
  padding: 12px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 60;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-item .nav-dropdown { pointer-events: none; }

.nav-dropdown a {
  display: block;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 17px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--ink);
  transition: all 0.2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----------------------------------------------
   Buttons
   ---------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-lobster);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 16px 42px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover { background: #1d1e20; }
.btn:active { transform: scale(0.98); }

.btn--lg { font-size: 30px; padding: 18px 52px; }

.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn--outline:hover { background: var(--white); color: var(--black); }

.btn--dark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
}

/* ----------------------------------------------
   Hero
   ---------------------------------------------- */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 120px 20px 130px;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(143, 17, 168, 0.55) 100%),
    url("../img/hero-interior.jpg") center / cover no-repeat;
}

.hero h1 {
  color: var(--white);
  font-size: 64px;
  margin-bottom: 24px;
}

.hero .lead {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.hero .rating-note {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.hero .stars {
  color: #ffd166;
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 28px;
}

/* ----------------------------------------------
   Sections
   ---------------------------------------------- */
.section { padding: 90px 0; }

.section--photo {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(3, 0, 0, 0.92) 0%, rgba(26, 26, 26, 0.86) 55%, rgba(143, 17, 168, 0.4) 100%),
    url("../img/bg-section.jpg") center / cover no-repeat fixed;
}

.section--photo h2,
.section--photo h3,
.section--photo h4,
.section--photo h5,
.section--photo p { color: var(--white); }

/* Blue-purple overlay variant (matches the original Honesty section) */
.section--photo--blue {
  background:
    linear-gradient(135deg, rgba(23, 107, 224, 0.72) 0%, rgba(143, 17, 168, 0.55) 100%),
    url("../img/bg-section.jpg") center / cover no-repeat fixed;
}

.section--black {
  background: var(--black-2);
  color: var(--white);
}

.section--black h2,
.section--black h3,
.section--black p { color: var(--white); }

.section--gray { background: var(--gray-light); }

.center { text-align: center; }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }

.section-head p { color: var(--gray-text); font-size: 20px; }

/* ----------------------------------------------
   Homepage – welcome / story grids
   ---------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-grid__media img { border-radius: 14px; box-shadow: var(--shadow-card); }

.story-grid__body p { font-size: 19px; }

/* 2-image collage (welcome) */
.collage { display: flex; gap: 16px; align-items: flex-start; }
.collage img { object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-card); }
.collage img:first-child { flex: 1.25; aspect-ratio: 9 / 7; }
.collage img:last-child { flex: 1; aspect-ratio: 4 / 5; }

/* ----------------------------------------------
   Feedback / testimonial cards
   ---------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
}

.card p { color: var(--ink); }
.card .card__author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.card .card__author img { border-radius: 50%; width: 48px; height: 48px; object-fit: cover; }
.card .card__author h6 { margin: 0; }
.card .card__author small { color: var(--gray-text); display: block; }

.stars { color: #f5a623; letter-spacing: 3px; margin-bottom: 12px; }

/* ----------------------------------------------
   Ready to join – image cards
   ---------------------------------------------- */
.join-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.join-card {
  display: block;
  text-decoration: none;
  color: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s;
}

.join-card:hover { transform: translateY(-6px); }

.join-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.join-card__label {
  padding: 22px 24px;
  background: var(--black);
  font-size: 20px;
  font-weight: 700;
  min-height: 96px;
}

/* ----------------------------------------------
   FAQ
   ---------------------------------------------- */
.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
  background: var(--gray-light);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 22px;
}

.faq-item h6 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.faq-item p { margin-bottom: 0; color: #333; }

/* ----------------------------------------------
   Legal pages
   ---------------------------------------------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h6 { font-size: 18px; margin-top: 34px; }
.legal ul { margin: 8px 0 16px 24px; }
.legal li { margin-bottom: 8px; }

/* ----------------------------------------------
   Forms
   ---------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  max-width: 860px;
  margin: 0 auto;
}

.form-field { display: flex; flex-direction: column; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.radio-row { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 8px; }
.radio-row label,
.check-row label {
  font-weight: 400;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.radio-row input,
.check-row input { width: 18px; height: 18px; accent-color: var(--ink); }

.form-note { color: var(--gray-text); margin: 8px 0 24px; }

.form-actions { text-align: center; margin-top: 34px; grid-column: 1 / -1; }

.form-success {
  display: none;
  text-align: center;
  padding: 18px 24px;
  border-radius: 12px;
  background: #e8f4ea;
  color: #1c6b2e;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 6px;
}

/* ----------------------------------------------
   Product block
   ---------------------------------------------- */
.product-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.product-wrap img { border-radius: 14px; box-shadow: var(--shadow-card); }

.product-title { font-size: 44px; margin-bottom: 6px; }

.product-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.product-rating .stars { margin: 0; }
.product-rating .count { color: var(--gray-text); }

.product-name { font-size: 22px; margin: 10px 0 6px; }

.price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }

.price--sale {
  font-size: 22px;
  color: var(--gray-text);
  text-decoration: line-through;
}

.price--now {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
}

.product-desc { font-size: 18px; color: var(--ink); margin-bottom: 26px; }

/* ----------------------------------------------
   Forum overview
   ---------------------------------------------- */
.forum-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid #dedede;
}

.forum-row:first-of-type { border-top: 0; }

.forum-row img {
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  width: 100%;
  cursor: zoom-in;
}

.forum-row--flip .forum-caption { order: 2; }
.forum-row--flip .forum-media { order: 1; }

.forum-caption {
  font-family: var(--font-lobster);
  font-size: 35px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  text-align: center;
}

.forum-note {
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  text-align: center;
  max-width: 812px;
  margin: 0 auto 30px;
}

/* ----------------------------------------------
   Footer
   ---------------------------------------------- */
.site-footer {
  background: var(--black-2);
  color: var(--white);
  padding: 70px 0 40px;
}

.site-footer h5 { color: var(--white); margin-bottom: 14px; }
.site-footer a { color: var(--white); text-decoration: underline; }
.site-footer a:hover { opacity: 0.85; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.6fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.85); }

.footer-social {
  display: flex;
  gap: 32px;
  margin: 22px 0 14px;
}

.footer-social a {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.footer-social svg { width: 24px; height: 24px; fill: var(--white); transition: opacity 0.2s; }
.footer-social a:hover svg { opacity: 0.8; }

.footer-copy { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin: 0; }

.footer-support .support-mail { color: var(--white); font-size: 17px; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
}

.newsletter-form .btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px;
}

/* ----------------------------------------------
   Page hero (inner pages)
   ---------------------------------------------- */
.page-hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 90px 20px 96px;
  background:
    linear-gradient(135deg, rgba(3, 0, 0, 0.88) 0%, rgba(26, 26, 26, 0.78) 60%, rgba(143, 17, 168, 0.38) 100%),
    url("../img/bg-section.jpg") center / cover no-repeat;
}

.page-hero h1 { color: var(--white); font-size: 48px; }
.page-hero p { color: rgba(255, 255, 255, 0.9); font-size: 19px; max-width: 640px; margin: 0 auto; }

/* ----------------------------------------------
   Steps (sign-up how to)
   ---------------------------------------------- */
.steps { max-width: 860px; margin: 0 auto; counter-reset: step; list-style: none; }
.steps li {
  position: relative;
  padding: 0 0 22px 62px;
  font-size: 19px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-playfair);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps a { color: var(--ink); font-weight: 700; }

/* ----------------------------------------------
   Cart drawer
   ---------------------------------------------- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 92vw;
  background: var(--white);
  box-shadow: -18px 0 50px rgba(3, 0, 0, 0.25);
  z-index: 120;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  overflow-y: auto;
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 0, 0, 0.55);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.cart-backdrop.is-visible { opacity: 1; visibility: visible; }

.cart-drawer h4 { margin-bottom: 4px; }

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}

.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }

.cart-item .cart-item__name { font-weight: 700; font-size: 16px; }

.cart-item .cart-item__price { color: var(--gray-text); font-size: 15px; }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 0;
}

.cart-empty { color: var(--gray-text); text-align: center; padding: 30px 0; }

.cart-close {
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
  align-self: flex-end;
}

.cart-badge {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  text-align: center;
  padding: 0 5px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ----------------------------------------------
   Cookie banner
   ---------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  box-shadow: 0 -8px 30px rgba(3, 0, 0, 0.14);
  padding: 18px 20px;
  display: none;
}

.cookie-banner.is-visible { display: block; }

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cookie-banner p { flex: 1; min-width: 260px; margin: 0; font-size: 15px; color: var(--ink); }

.cookie-banner .btn { padding: 10px 26px; font-family: var(--font-body); font-weight: 700; font-size: 15px; }

.cookie-decline {
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 4px;
}

/* ----------------------------------------------
   Reveal animations (subtle, like the original)
   ---------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------
   Utility
   ---------------------------------------------- */
.spacer { height: 40px; }

/* ----------------------------------------------
   Responsive
   ---------------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 52px; }
  h3 { font-size: 40px; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 24px 40px;
    z-index: 80;
    display: none;
  }
  .main-nav.is-open { display: flex; overflow-y: auto; }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .nav-dropdown { position: static; box-shadow: none; visibility: visible; opacity: 1; transform: none; padding: 8px 0 0; }
  .nav-toggle { display: flex; z-index: 90; }
  .story-grid,
  .forum-row { grid-template-columns: 1fr; }
  .forum-row--flip .forum-caption { order: 0; }
  .forum-row--flip .forum-media { order: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .join-cards { grid-template-columns: 1fr; }
  .hero { padding: 90px 20px 96px; }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 560px) {
  h1 { font-size: 38px; }
  h3 { font-size: 32px; }
  .hero h1 { font-size: 36px; }
  .btn--lg { font-size: 24px; }
  .section { padding: 64px 0; }
  .collage { flex-direction: column; }
  .collage img:first-child,
  .collage img:last-child { width: 100%; aspect-ratio: 4 / 3; }
}