/* ===== Variables ===== */
:root {
  --sand: #faf6f0;
  --sand-dark: #f0e8db;
  --ocean: #1a8fa8;
  --ocean-light: #5cc4d4;
  --ocean-pale: #e6f5f8;
  --sunset: #f4845f;
  --sunset-warm: #f7b267;
  --sunset-pink: #f28b82;
  --sky: #87ceeb;
  --driftwood: #5c4a3a;
  --driftwood-light: #7d6a57;
  --text: #3a3028;
  --text-soft: #6b5e52;
  --text-light: #998b7d;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--sand);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ocean);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--sunset);
}

img { max-width: 100%; display: block; }
button, input { font-family: inherit; border: none; outline: none; }

/* ===== Layout ===== */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

.section-tag {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 12px;
  display: block;
}

.section-center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.section-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-top: 8px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h2 em, h1 em {
  font-style: italic;
  color: var(--ocean);
}

p {
  color: var(--text-soft);
}

/* ===== Nav ===== */
.nav {
  background: var(--sand);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-top: 22px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover { opacity: 0.8; }

.logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.logo-img-sm {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ocean);
}

.lang-switch {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-left: 4px;
}

.lang-switch a {
  color: var(--text-light);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ocean);
}

.lang-switch .lang-active {
  color: var(--text);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  cursor: pointer;
  color: var(--text);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 60px;
  overflow: hidden;
}

.hero .container {
  max-width: 680px;
  text-align: center;
}

.hero-tag {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-warm {
  background: var(--sunset);
  color: var(--white);
  border: 1.5px solid var(--driftwood-light);
}

.btn-warm:hover {
  background: #e5744f;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 132, 95, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--driftwood-light);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ocean);
  color: var(--ocean);
  transform: translateY(-2px);
}

/* ===== About / Two Col ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.col-text h2 {
  margin-bottom: 20px;
}

.col-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.vibes-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
}

.vibes-card h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--text);
}

.vibes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vibes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-soft);
}

.vibes-list li span {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ===== Meetups ===== */
.meetup-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meetup-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: var(--transition);
  position: relative;
}

.meetup-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.meetup-card.next {
  border-left: 4px solid var(--sunset);
}

.meetup-badge {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--sunset);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
}

.meetup-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 12px 0;
}

.meetup-date .month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean);
}

.meetup-date .day {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text);
}

.meetup-info h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 6px;
}

.meetup-info p {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.meetup-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Topics ===== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.topic-emoji {
  font-size: 2rem;
  margin-bottom: 14px;
}

.topic-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.topic-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Join / Sunset ===== */
.section-sunset {
  background: linear-gradient(170deg, var(--sunset-warm) 0%, var(--sunset) 40%, var(--sunset-pink) 100%);
  padding: 100px 0;
}

.join-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.join-box h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.join-box h2 em {
  color: var(--white);
  opacity: 0.9;
}

.join-box > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.join-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.join-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  border: 2px solid transparent;
  transition: var(--transition);
}

.join-form input::placeholder {
  color: var(--text-light);
}

.join-form input:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}

.join-form .btn-warm {
  background: var(--driftwood);
  white-space: nowrap;
}

.join-form .btn-warm:hover {
  background: var(--text);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.join-also {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.join-also a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.join-also a:hover {
  opacity: 0.8;
  color: var(--white);
}

/* ===== Footer ===== */
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer .logo {
  font-size: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(250, 246, 240, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.4rem;
    color: var(--text);
  }

  .nav-toggle {
    display: block;
    z-index: 1000;
  }

  .hero-actions { justify-content: center; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .meetup-card {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .meetup-date {
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .join-form {
    flex-direction: column;
  }

  .join-form .btn {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
