/* ===========================
   FAREL × 2LO EXCHANGE 2026
   Shared stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

/* ---- TOKENS ---- */
:root {
  --nl:        #FF5A66;
  --nl-light:  #2a1416;
  --nl-mid:    #d4545f;
  --pl:        #FF6B7F;
  --pl-light:  #2a1618;
  --pl-mid:    #e85070;
  --gold:      #D4B86A;
  --gold-light:#3a3220;
  --dark:      #f5f5f5;
  --mid:       #b0b0b0;
  --muted:     #777;
  --bg:        #0d0d0d;
  --card:      #1a1a1a;
  --border:    rgba(255,255,255,0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

/* ---- BASE ---- */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

/* ---- NAVIGATION ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.nav-logo .nl  { color: var(--nl); }
.nav-logo .sep { color: var(--gold); margin: 0 5px; }
.nav-logo .pl  { color: var(--pl); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---- FOOTER ---- */
footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer p {
  font-size: 12px;
  color: var(--muted);
}

footer .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

footer .footer-links a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}

footer .footer-links a:hover { color: var(--dark); }

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section {
  padding: 5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-sm {
  padding: 3rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.divider {
  border: none;
  border-top: 0.5px solid var(--border);
}

/* ---- TYPOGRAPHY ---- */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.label-nl { color: var(--nl); }
.label-pl { color: var(--pl); }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 15px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.01em;
}

.btn-dark {
  background: var(--dark);
  color: #0d0d0d;
}
.btn-dark:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 0.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.04);
}

.btn-nl {
  background: var(--nl);
  color: #fff;
}
.btn-nl:hover {
  background: #971825;
  transform: translateY(-1px);
}

.btn-pl {
  background: var(--pl);
  color: #fff;
}
.btn-pl:hover {
  background: #bf0f34;
  transform: translateY(-1px);
}

/* ---- CARDS ---- */
.card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.card-sm {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

/* ---- BADGES / TAGS ---- */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 4px;
  margin-top: 4px;
}

.tag-nl { background: var(--nl-light); color: var(--nl); }
.tag-pl { background: var(--pl-light); color: var(--pl); }
.tag-gold { background: var(--gold-light); color: #8a6b1e; }

/* ---- ACCENT CARDS ---- */
.accent-card-nl {
  border-left: 3px solid var(--nl);
}

.accent-card-pl {
  border-left: 3px solid var(--pl);
}

/* ---- COMPARISON TABLE ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 1.5rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 0.5px solid var(--border);
}

.comparison-table th {
  background: rgba(212, 184, 106, 0.08);
  color: var(--dark);
  font-weight: 600;
  font-size: 13px;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  color: var(--mid);
}

.comparison-table tr:hover {
  background: rgba(212, 184, 106, 0.04);
}

/* ---- STATS ROW ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--card);
}

.timeline-dot-nl { background: var(--nl); }
.timeline-dot-pl { background: var(--pl); }

.timeline-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.timeline-item h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0.2rem;
  font-family: 'DM Sans', sans-serif;
}

.timeline-item p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* ---- HERO SHARED ---- */
.page-hero {
  padding: 5rem 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ---- INFO STRIP (dark CTA block) ---- */
.info-strip {
  background: #0a0a0a;
  color: #fff;
  padding: 4rem 3rem;
  text-align: center;
}

.info-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-strip p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}

/* ---- GRID HELPERS ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ---- PHOTO GRID ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 0.5px solid var(--border);
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.photo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.photo-item:hover img {
  transform: scale(1.04);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-item:hover .photo-caption {
  opacity: 1;
}

/* Placeholder photo boxes (no real images) */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--muted);
}

.photo-placeholder .ph-icon {
  font-size: 28px;
  opacity: 0.4;
}

/* ---- LIGHTBOX ---- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-inner {
  max-width: 800px;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .section, .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .section-sm { padding-left: 1.5rem; padding-right: 1.5rem; }
  footer { padding: 1.5rem; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .info-strip { padding: 3rem 1.5rem; }
}

@media (max-width: 520px) {
  .nav-links { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
