/* ============================================================
   VERENARIZG.COM — Global Styles
   Color System, Typography, Components, Layouts
   ============================================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Color System (from brief §01) */
  --primary-dark: #1A1A1A;
  --gold-accent: #B8973A;
  --gold-hover: #D4AF5A;
  --warm-offwhite: #F7F4EF;
  --true-white: #FFFFFF;
  --mid-grey: #4A4A4A;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --section-padding-mobile: 64px;
  --container-width: 1200px;
  --container-narrow: 800px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--mid-grey);
  background-color: var(--true-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ============================================================
   TYPOGRAPHY (Brief §02)
   Display: Cormorant Garamond — headings, hero, pull quotes
   Body: Inter (sans-serif) — nav, body, buttons, labels
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--primary-dark);
}

h1 { font-size: 4rem; }
h2 { font-size: 2.75rem; margin-bottom: 1.5rem; }
h3 { font-size: 2rem; margin-bottom: 1rem; }
h4 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--mid-grey);
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--primary-dark);
  border-left: 3px solid var(--gold-accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

/* Text on dark backgrounds */
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: var(--true-white);
}

.dark-section p,
.dark-section .lead {
  color: rgba(255, 255, 255, 0.85);
}

.dark-section .pull-quote {
  color: var(--true-white);
}

/* Gold section text */
.gold-section h2,
.gold-section h3,
.gold-section p {
  color: var(--primary-dark);
}

/* --- Body Links (Brief §01) --- */
.body-content a {
  color: var(--gold-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.body-content a:hover {
  text-decoration-thickness: 2px;
}

/* ============================================================
   BUTTONS (Brief §01)
   Dark bg, gold border, gold text → hover: gold bg, dark text
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1.5px solid var(--gold-accent);
  color: var(--gold-accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold-accent);
  color: var(--primary-dark);
}

.btn--on-dark {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.btn--on-dark:hover {
  background: var(--gold-accent);
  color: var(--primary-dark);
}

.btn--on-light {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn--on-light:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: var(--primary-dark);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s ease;
}

.nav--scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav--scrolled .nav__logo img {
  height: 30px;
}

.nav__links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold-accent);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--true-white);
  transition: all 0.3s ease;
}

/* ============================================================
   HERO SECTION (Brief §03)
   Full viewport, parallax, gradient overlay, cinematic
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--section-padding);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: center 20%;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.15) 0%,
    rgba(26, 26, 26, 0.3) 40%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--true-white);
  margin-bottom: 32px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Page-level hero (not full viewport) */
.hero--page {
  height: 60vh;
  min-height: 450px;
  align-items: flex-end;
  padding-bottom: 140px;
}

.hero--page .hero__title {
  font-size: 3.5rem;
}

/* ============================================================
   SECTION PATTERNS (Brief §04)
   Alternating dark/light with consistent rhythm
   ============================================================ */

.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background: var(--primary-dark);
}

.section--offwhite {
  background: var(--warm-offwhite);
}

.section--white {
  background: var(--true-white);
}

.section--gold {
  background: var(--gold-accent);
}

/* Section label (e.g., "01 — KEYNOTE SPEAKING") */
.section__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 16px;
}

.section--offwhite .section__label,
.section--white .section__label {
  color: var(--gold-accent);
}

/* Gold horizontal rule divider */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold-accent);
  border: none;
  margin: 0 0 2rem 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RECOGNITION CARDS (Brief §05)
   Gold left-border accent cards
   ============================================================ */

.recognition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 2rem;
}

.recognition-card {
  padding: 24px 28px;
  border-left: 3px solid var(--gold-accent);
  background: var(--true-white);
  transition: transform 0.3s ease;
}

.recognition-card:hover {
  transform: translateX(4px);
}

.recognition-card--featured {
  padding: 32px 28px;
}

.recognition-card--featured .recognition-card__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.recognition-card__marker {
  color: var(--gold-accent);
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-right: 12px;
}

.recognition-card__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1.5;
}

.recognition-card__detail {
  font-size: 0.875rem;
  color: var(--mid-grey);
  margin-top: 4px;
}

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */

.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 2rem;
}

.testimonial__attribution {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial__role {
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  opacity: 0.7;
  margin-top: 4px;
}

/* ============================================================
   SERVICE TABS (Brief Part Three)
   ============================================================ */

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.service-tab {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-tab:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.service-tab.active {
  border-color: var(--gold-accent);
  background: var(--gold-accent);
  color: var(--primary-dark);
}

/* Service section layout */
.service-block {
  display: none;
}

.service-block.active {
  display: block;
}

.service-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-block__content {
  padding-top: 20px;
}

.service-block__image {
  position: relative;
  overflow: hidden;
}

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

.service-list {
  list-style: none;
  margin-top: 1.5rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-accent);
}

/* ============================================================
   CLOSING CTA SECTION (Brief Part Two — Replacement Copy)
   ============================================================ */

.closing-cta {
  text-align: left;
  max-width: 720px;
}

.closing-cta__heading {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--true-white);
  margin-bottom: 12px;
}

.closing-cta__subhead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-accent);
  margin-bottom: 2rem;
}

.closing-cta__body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.closing-cta__tagline {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--true-white);
  margin-bottom: 8px;
}

.closing-cta__tagline--gold {
  color: var(--gold-accent);
}

/* ============================================================
   TWO COLUMN LAYOUTS
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ============================================================
   NEWSLETTER / CTA BLOCK
   ============================================================ */

.newsletter {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter__form {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
}

.newsletter__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--true-white);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter__input:focus {
  border-color: var(--gold-accent);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(184, 151, 58, 0.2);
  padding: 60px 0 40px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer__brand img.footer__logo-icon {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.footer__brand-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--true-white);
}

.footer__location {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer__links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--gold-accent);
}

.footer__copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */

.img-placeholder {
  background: #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  min-height: 300px;
}

.img-placeholder--hero {
  position: absolute;
  inset: 0;
  min-height: auto;
  border: none;
}

.img-placeholder--portrait {
  aspect-ratio: 3/4;
}

.img-placeholder--landscape {
  aspect-ratio: 16/9;
}

/* ============================================================
   SCROLL ANIMATIONS (Brief §07)
   Subtle fade-in, 0.3–0.5s
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--true-white);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--gold-accent);
}

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 40px;
  background: none;
  border: none;
  color: var(--true-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   RESPONSIVE (Brief §06)
   ============================================================ */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  .two-col,
  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 480px;
    margin: 0 auto;
  }

  .two-col--reverse {
    direction: ltr;
  }

  h1, .hero__title { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero { padding-bottom: 80px; }
  .hero__title {
    font-size: 2.4rem; /* ~38px minimum per brief */
  }
  .hero--page {
    padding-bottom: 60px;
    min-height: 350px;
  }
  .hero--page .hero__title { font-size: 2.2rem; }

  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }

  .section {
    padding: var(--section-padding-mobile) 0;
  }

  .service-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .service-tab {
    text-align: center;
    padding: 14px 20px;
  }

  .pull-quote { font-size: 1.5rem; }
  .testimonial__quote { font-size: 1.5rem; }

  .newsletter__form {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .closing-cta__heading { font-size: 2rem; }
  .closing-cta__tagline { font-size: 1.375rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.4rem; }
  .btn { width: 100%; text-align: center; }
}
