/* ===================================================
   Room 77 Events — Brand Style
   Pink: #FB187A | Dark: #0A0A0A
   Fonts: Tinos (display), Bitter (body)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400&family=Bitter:wght@300;400;500;600&display=swap');

:root {
  --brand: #FB187A;
  --brand-light: #FF5A9E;
  --brand-dim: #C4125E;
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #242424;
  --text: #E8E5DF;
  --text-muted: #8A857E;
  --border: rgba(251, 24, 122, 0.2);
  --font-display: 'Tinos', Georgia, serif;
  --font-body: 'Bitter', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

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

/* Focus-visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ====== NAV ====== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 100%);
  transition: background 0.4s ease;
}
nav.scrolled {
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  font-weight: 400;
}
.nav-links a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.7rem; }
}

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(251,24,122,0.06) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 50%, rgba(251,24,122,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  max-width: 800px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--brand);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== DECORATIVE DIVIDER ====== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  margin-bottom: 64px;
}
.divider-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-dim), transparent);
}
.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-dim);
}

/* ====== EVENTS SECTION ====== */
.events {
  padding: 0 24px 120px;
  max-width: 820px;
  margin: 0 auto;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.event-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-2);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.event-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.event-card:hover .event-card-image {
  transform: scale(1.05);
}
.event-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 50%, transparent 100%);
  padding: 48px 32px 32px;
}
.event-card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.event-card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: #fff;
}
.event-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.event-card-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  transition: background 0.3s ease, transform 0.3s ease;
  font-family: var(--font-body);
}
.event-card-btn:hover {
  background: var(--brand-light);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-card { aspect-ratio: auto; }
  .event-card-image { height: auto; max-height: 340px; }
  .event-card-overlay {
    position: static;
    background: var(--dark-2);
    padding: 20px 24px 24px;
  }
  .event-card-title { font-size: 1.4rem; }
}

/* ====== FULL-WIDTH IMAGE STRIP (2 columns) ====== */
.image-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 0 120px;
}
.image-strip img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .image-strip { grid-template-columns: 1fr; }
}

/* ====== ABOUT / LOCATION ====== */
.about {
  padding: 0 24px 120px;
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.about-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.about h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 40px;
  color: var(--text);
}
.about p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 24px;
  font-weight: 300;
}
.about p:last-child {
  margin-bottom: 0;
}
.about p em {
  color: var(--brand);
  font-style: italic;
}

/* ====== FOOTER ====== */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(138,133,126,0.5);
  letter-spacing: 0.05em;
}
