/* ================================================================
   RIVEARA EVENTS — style.css
   Font: Inria Serif
   H1: 36px bold | H2: 32px bold | Button: 16px bold | Body: 20px/32px
   SHARED: Navigation, Announce Bar, CTA Card, Footer, Buttons,
           Typography, Testimonials, Numbers, Spotlight, We Do
   ================================================================ */

/* ── GOOGLE FONTS ──────────────────────────────────────────── */
/* Inria Serif loaded via <link> in every HTML page */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --black:       #111111;
  --white:       #ffffff;
  --body-grey:   #444444;
  --light-grey:  #f2f2f2;
  --border:      #d8d8d8;

  /* Brand gradient: coral-pink → violet */
  --g-pink:     #f04060;
  --g-purple:   #9040d0;
  --gradient:   linear-gradient(to right, #f04060 0%, #c040b0 50%, #9040d0 100%);

  --font:       'Inria Serif', Georgia, serif;

  --max-w:      1200px;
  --px:         clamp(1.5rem, 5vw, 3rem);

  /* Typography scale */
  --h1:         48px;
  --h2:         32px;
  --body:       20px;
  --body-lh:    32px;
  --btn-fs:     16px;
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: var(--body);
  line-height: var(--body-lh);
  overflow-x: hidden;
}

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

.section {
  padding-block: 32px;
}

/* Section heading — H2 32px bold, centered */
.section-title {
  font-family: var(--font);
  font-size: var(--h2);
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--btn-fs);
  font-weight: 700;
  line-height: 1;
  padding: 0.85rem 2.25rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
  text-align: center;
}

/* Filled black */
.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-black:hover { background: #333; border-color: #333; }

/* Outline black */
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

/* White filled (on gradient bg) */
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* White outline (on gradient bg) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }

/* Disabled */
.btn-disabled {
  background: #e0e0e0;
  color: #999;
  border-color: #e0e0e0;
  cursor: default;
  pointer-events: none;
}

/* ================================================================
   ANNOUNCE BAR  — gradient, shared
   ================================================================ */
.announce-bar {
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.75rem var(--px);
  position: relative;
  z-index: 600;
  min-height: 52px;
}
.announce-bar p {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
}
.announce-close {
  position: absolute;
  right: 1.25rem; top: 50%; transform: translateY(-50%);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px;
  opacity: 0.85;
}
.announce-close:hover { opacity: 1; }

/* ================================================================
   NAVIGATION  — shared, identical on every page
   Screenshot: white bg, RIVEARA bold left, links after logo,
               WhatsApp circle + number far right
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 89px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

/* Logo/Brand — bold, uppercase, left */
.nav-brand {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--black);
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--black); }

/* Nav links — immediately after brand, NOT centered */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  transition: color .18s;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--g-pink); }

/* Spacer pushes WhatsApp to the right */
.nav-spacer { flex: 1; }

/* WhatsApp contact — far right */
.nav-wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  flex-shrink: 0;
  transition: color .18s;
}
.nav-wa:hover { color: #25d366; }
.nav-wa-dot {
  width: 28px; height: 28px;
  background: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .85rem;
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--black); border-radius: 2px; transition: .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ================================================================
   WE DO (6-card grid, shared on home + services)
   Screenshot: white bg, large colored outline icons, bold serif
               title, body text, centered grid, "Explore" outline btn
   ================================================================ */
.we-do-section { background: var(--white); }
.we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  max-width: 1054px;
  margin-inline: auto;
  text-align: center;
}
.we-do-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.we-do-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.we-do-card h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.we-do-card p {
  font-size: 20px;
  color: var(--body-grey);
  line-height: 32px;
  width: 100%;
}

.we-do-cta { text-align: center; margin-top: 2.5rem; }

/* ================================================================
   SUCCESS IN NUMBERS  (shared)
   Screenshot: white bg, 3 large bordered cards, serif numbers
   ================================================================ */
.numbers-section { background: var(--white); }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin-inline: auto;
}
.number-card {
  border: 0.5px solid #000;
  padding: 2rem 2rem 1.75rem;
}
.number-value {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.number-label {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--body-grey);
  line-height: 1.5;
}

/* ================================================================
   TESTIMONIALS  (shared)
   Screenshot: white bg, 3 bordered cards, NO quote marks,
               text top, author name BOLD bottom-left, avatar bottom-right
   ================================================================ */
.testimonials-section { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.t-card {
  border: 1.5px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.t-text {
  font-family: var(--font);
  font-size: var(--body);
  color: var(--black);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.75rem;
}
.t-author {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.t-info { }
.t-name {
  font-family: var(--font);
  font-size: var(--body);
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.t-role {
  font-family: var(--font);
  font-size: var(--body);
  color: var(--body-grey);
}
.t-avatar {
  width: 52px; height: 52px;
  border-radius: 50%; overflow: hidden;
  background: #ddd; flex-shrink: 0;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ================================================================
   SPOTLIGHT  (shared)
   Screenshot: white bg, 4-column grid, tall card images, serif text below
   ================================================================ */
.spotlight-section {
  background: var(--white);
  overflow: hidden;
}
.spotlight-grid {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  width: max-content;
  animation: spotlight-scroll 30s linear infinite;
  will-change: transform;
}
.spotlight-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 0 0 330px;
}
.spotlight-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light-grey);
}
.spotlight-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.spotlight-caption {
  font-family: var(--font);
  font-size: var(--body);
  line-height: var(--body-lh);
  color: var(--black);
  font-weight: 700;
}
.spotlight-social { text-align: center; }
.follow-text {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.85rem;
}
.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}
.social-row a {
  font-size: 1.5rem;
  color: var(--black);
  transition: color .18s;
}
.social-row a:hover { color: var(--g-pink); }

/* ================================================================
   CTA CLOSING CARD  — identical on every page
   Screenshot: full-width gradient, polaroid photo LEFT,
               RIVEARA text + headline + body + white btn RIGHT
   FILE: cta-photo.jpg
   ================================================================ */
.cta-section {
  background: var(--gradient);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.cta-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
/* Polaroid photo — slightly rotated */
.cta-photo {
  flex-shrink: 0;
  width: clamp(160px, 18vw, 240px);
  position: relative;
}

/* Second ghost photo behind */
.cta-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 10px solid rgba(255,255,255,.55);
  border-bottom-width: 28px;
  transform: rotate(3deg);
  z-index: -1;
}
.cta-body {
  max-width: 480px;
}
.cta-brand {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cta-body h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-body p {
  font-family: var(--font);
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 500px;
}

/* ================================================================
   FOOTER  — identical on every page
   Screenshot: white bg, RIVEARA centered bold, nav row centered,
               large social icons, bottom bar with copyright + wayRabbit
   ================================================================ */
.site-footer {
  background: var(--white);
  padding-block: 3rem 1.5rem;
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
  text-align: center;
}
.footer-brand {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--black);
  text-transform: uppercase;
}
.footer-nav {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: .25rem 2rem;
}
.footer-nav a {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--black);
  transition: color .18s;
}
.footer-nav a:hover { color: var(--g-pink); }
.footer-social { display: flex; gap: 1.25rem; align-items: center; }
.footer-social a {
  font-size: 1.75rem;
  color: var(--black);
  transition: color .18s;
}
.footer-social a:hover { color: var(--g-pink); }
.footer-divider {
  width: 100%; height: 1px; background: var(--border); margin-top: 0.5rem;
}
.footer-bottom {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--body-grey);
  padding-top: 0.25rem;
}
.footer-managed { color: #9B59B6; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  z-index: 700;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ================================================================
   RESPONSIVE — TABLET (≤ 900px)
   ================================================================ */
@media (max-width: 900px) {
  .spotlight-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid      { grid-template-columns: repeat(3, 1fr); }
  .we-do-grid        { gap: 2rem 1.5rem; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ================================================================ */
@media (max-width: 640px) {
  :root {
    --h1: 28px;
    --h2: 24px;
    --body: 18px;
    --body-lh: 28px;
  }

  /* Nav collapses */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: .5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 499;
  }
  .nav-links.open { display: flex; }
  .nav-links li    { width: 100%; }
  .nav-links a     { display: block; padding: .8rem 1.5rem; font-size: 1.05rem; }
  .nav-wa          { display: none; }
  .nav-spacer      { display: none; }
  .nav-toggle      { display: flex; }

  /* CTA stacks */
  .cta-inner { flex-direction: column; text-align: center; gap: 2rem; }
  .cta-photo { width: 180px; margin-inline: auto; }
  .cta-body img {
  display: block;
  margin-inline: auto;
}

  /* Grids */
  .spotlight-grid    { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .numbers-grid      { grid-template-columns: 1fr; }
  .we-do-grid        { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .announce-bar  { flex-wrap: wrap; font-size: 0.85rem; }
}

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