/* =========================================================
   MEXICO CITY TOASTMASTERS — Landing Page Styles
   Font: Gotham (Normal/)
   Mobile-first, breakpoint at 768px for desktop layout
   ========================================================= */

/* ----- Gotham @font-face ----- */
@font-face {
  font-family: 'Gotham';
  src: url('src/fonts/Gotham-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('src/fonts/Gotham-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('src/fonts/Gotham-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('src/fonts/Gotham-Ultra.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ----- Custom Properties ----- */
:root {
  --navy:      #004063;
  --navy-dark: #002a42;
  --burgundy:  #770E29;
  --burgundy-hover: #5e0b20;
  --white:     #ffffff;
  --off-white: #f7f8fa;
  --text-dark: #1a1a2e;
  --text-mid:  #4a4a68;
  --font:      'Gotham', sans-serif;
  --radius:    9999px;
  --shadow:    0 4px 24px rgba(0, 64, 99, 0.12);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; }

ul { list-style: none; }

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(119, 14, 41, 0.35);
}

.btn--primary:hover {
  background: var(--burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(119, 14, 41, 0.4);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--light:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ----- Section Title ----- */
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 2rem;
}

.section-title--left { text-align: left; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(160deg, rgba(0, 32, 52, 0.82) 0%, rgba(0, 64, 99, 0.68) 60%, rgba(119, 14, 41, 0.35) 100%),
    url('src/images/background.svg') center / cover no-repeat;
  background-color: var(--navy);
}

.hero__sub {
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.2;
}

.hero__overlay {
  /* Decorative diagonal stripe for visual interest */
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  );
  pointer-events: none;
}

/* NAV */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  max-width: 1120px;
  margin-inline: auto;
  width: 100%;
}

.nav__logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav__club {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* HERO CONTENT */
.hero__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 40px 20px 72px;
  max-width: 1120px;
  margin-inline: auto;
  width: 100%;
}

.hero__headline {
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.7;
}

/* =========================================================
   WHY JOIN US
   ========================================================= */
.why {
  background: var(--white);
  padding: 72px 0;
}

.why__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why__card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.why__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.why__icon {
  margin-bottom: 16px;
}

.why__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.why__card-body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* =========================================================
   MEETING DETAILS
   ========================================================= */
.meeting {
  background: var(--off-white);
  padding: 72px 0;
}

.meeting__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.meeting__image-wrap {
  border-radius: 12px;
  overflow: hidden;
}

.meeting__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.meeting__description {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 28px;
}

.meeting__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meeting__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.meeting__item-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.meeting__item strong {
  color: var(--navy);
  font-weight: 700;
}

/* =========================================================
   BOTTOM CTA
   ========================================================= */
.cta-section {
  background: var(--navy-dark);
  padding: 80px 20px;
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.cta-section__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1.25rem;
  max-width: 400px;
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  width: 48px;
  height: 48px;
  opacity: 0.9;
}

.footer__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* =========================================================
   DESKTOP LAYOUT — min-width: 768px
   ========================================================= */
@media (min-width: 768px) {

  /* Nav */
  .nav {
    padding: 28px 20px;
  }

  .nav__club { font-size: 1rem; }

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    padding: 48px 20px 80px;
  }

  .hero__sub {
    font-size: 1.05rem;
    max-width: 560px;
  }

  /* Why Join Us: 3 columns */
  .why__grid {
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
  }

  .why__card {
    flex: 1;
    padding: 36px 32px;
  }

  .section-title {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
  }

  /* Meeting Details: 2 columns */
  .meeting__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .meeting__image-wrap {
    flex: 0 0 42%;
    max-width: 42%;
    align-self: stretch;
  }

  .meeting__details {
    flex: 1;
  }

  /* CTA */
  .cta-section__title {
    font-size: 2.5rem;
  }

}

/* =========================================================
   LARGE DESKTOP — min-width: 1100px
   ========================================================= */
@media (min-width: 1100px) {

  .hero__content {
    padding: 60px 20px 100px;
  }

  .hero__headline {
    font-size: clamp(3.5rem, 5vw, 5rem);
  }

  .hero__sub {
    font-size: 1.15rem;
    max-width: 600px;
  }

  .why { padding: 96px 0; }

  .meeting { padding: 96px 0; }

}
