/* ============================================================
   234AFRICA v14 — LIGHT THEME CONFETTI (SCREENSHOT REVERT)
   Fonts: Syne (Ultra Wide Display), Inter (Body)
   ============================================================ */

:root {
  --bg-color:        #F4F1E9; /* Cream / Off-white */
  --text-main:       #1A1A1A;
  --text-muted:      #555555;
  
  --c-red:           #E84128;
  --c-green:         #108C5A;
  --c-yellow:        #F4A218;

  --font-display:    'Bricolage Grotesque', sans-serif;
  --font-body:       'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-color); 
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── UTILITIES ── */
.c-red { color: var(--c-red) !important; }
.c-green { color: var(--c-green) !important; }
.c-yellow { color: var(--c-yellow) !important; }
.text-black { color: #111 !important; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 10; }

/* ── FIXED WEBGL CANVAS (WIREFRAME & CONFETTI) ── */
#canvas-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
canvas { display: block; width: 100%; height: 100%; }

/* ── HEADER (Matches Screenshot) ── */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 32px 40px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em; }
.logo span { margin-left: 2px; }

.nav-links { display: flex; gap: 32px; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-main); }

.header-right { display: flex; gap: 16px; align-items: center; }
.btn-audio { background: #E0DDD4; padding: 10px 20px; border-radius: 100px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; display: flex; align-items: center; gap: 8px; }
.audio-dots { color: var(--text-muted); font-size: 1rem; line-height: 0; position: relative; top: -3px; }

.btn-primary-pill {
  background: var(--c-red); color: #FFF; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  padding: 14px 32px; border-radius: 100px; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center;
}
.shadow-red { box-shadow: 0 10px 30px rgba(232, 65, 40, 0.4); }
.btn-outline-pill {
  background: transparent; color: var(--c-green); border: 2px solid var(--c-green); font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  padding: 12px 32px; border-radius: 100px; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── HERO SECTION ── */
#smooth-wrapper { position: relative; z-index: 10; width: 100%; }
.section-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 100px; }
.hero-content-wrapper { display: flex; flex-direction: column; align-items: center; }

.hero-locations {
  background: rgba(16, 140, 90, 0.1); border: 1px solid rgba(16, 140, 90, 0.3); color: var(--c-green);
  padding: 8px 24px; border-radius: 100px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px;
}
.dot-green { width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); }

.hero-title {
  font-family: var(--font-display); font-size: clamp(4rem, 8vw, 7rem); font-weight: 800;
  line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center;
}
.title-huge { font-size: clamp(4.5rem, 9.5vw, 8.5rem); }

.hero-desc { font-family: var(--font-body); font-size: 1.15rem; font-weight: 500; color: var(--text-muted); margin-top: 32px; max-width: 600px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; }

/* ── CONTENT SECTIONS ── */
.section-content { padding: 100px 0; }
.badge-tag { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; color: var(--c-red); margin-bottom: 16px; }
.section-heading { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; text-transform: uppercase; }
.section-body { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; }

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

.stats-box { background: #FFF; padding: 40px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 32px; }
.stat-row h3 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; }
.stat-row p { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 8px; }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.eco-card { background: #FFF; padding: 40px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); border-top: 4px solid #000; display: flex; flex-direction: column; text-align: left; }
.eco-card.border-red { border-top-color: var(--c-red); }
.eco-card.border-green { border-top-color: var(--c-green); }
.eco-card.border-yellow { border-top-color: var(--c-yellow); }
.eco-card.border-black { border-top-color: #000; }
.eco-card h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; letter-spacing: 0.05em; }
.eco-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; flex-grow: 1; }
.eco-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding: 0; }
.eco-card ul li { font-size: 0.9rem; font-weight: 500; color: #111; display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.eco-card ul li::before { content: '•'; color: var(--c-red); font-weight: bold; }

/* ── BRANDS MARQUEE ── */
.marquee-container { width: 100%; overflow: hidden; background: rgba(0,0,0,0.02); padding: 25px 0; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.brand-logo-placeholder { height: 70px; margin: 0 40px; opacity: 0.5; filter: grayscale(100%); transition: opacity 0.3s, filter 0.3s; flex-shrink: 0; }
.brand-logo-placeholder:hover { opacity: 1; filter: grayscale(0%); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── EVENTS LIST (STACKED) ── */
.events-list { 
  display: flex; flex-direction: column; width: 100%; margin: 0 auto; 
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.05); 
}
.event-row { 
  display: flex; flex-direction: row; width: 100%; height: 200px; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); transition: background 0.3s ease, padding-left 0.3s ease; 
}
.event-row:last-child { border-bottom: none; }
.event-row:hover { background: rgba(255, 255, 255, 0.12); padding-left: 10px; }
.event-flyer-left { width: 18%; min-width: 150px; height: 100%; background: rgba(0,0,0,0.2); flex-shrink: 0; }
.event-flyer-left img { width: 100%; height: 100%; object-fit: cover; }
.event-info-middle { padding: 24px 32px; display: flex; flex-direction: column; justify-content: center; flex-grow: 1; align-items: flex-start; }
.event-title-bold { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #111; margin-bottom: 4px; line-height: 1.1; text-transform: uppercase; }
.event-date-bold { font-family: var(--font-display); font-size: 0.85rem; font-weight: 800; color: var(--c-red); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.event-summary { font-size: 0.85rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.event-gallery-right { width: 35%; max-width: 400px; height: 100%; display: flex; flex-shrink: 0; }
.event-gallery-right img { width: 20%; height: 100%; object-fit: cover; border-left: 2px solid #FFF; transition: width 0.3s ease; }
.event-gallery-right img:first-child { border-left: none; }
.event-gallery-right:hover img { width: 10%; }
.event-gallery-right img:hover { width: 60%; }
.btn-event-row { white-space: nowrap; flex-shrink: 0; }
.btn-event-row.past { background: rgba(0,0,0,0.05); color: var(--text-muted); box-shadow: none; cursor: default; }

/* ── CRUISE ROOM CZY GSAP FEATURE ── */
.cruise-feature-section { position: relative; width: 100%; height: 90vh; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; border-top: 2px solid var(--c-green); border-bottom: 2px solid var(--c-green); }
.cruise-feature-inner { text-align: center; z-index: 10; position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cruise-huge-text { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 8rem); font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.2); text-transform: uppercase; line-height: 0.9; z-index: 5; }
.cruise-subtext { font-family: var(--font-body); font-size: 1.2rem; color: #ccc; margin-top: 20px; z-index: 5; }
.cruise-explore-btn { margin-top: 30px; padding: 15px 40px; background: var(--c-green); color: #000; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; border-radius: 100px; z-index: 5; transition: transform 0.2s; }
.cruise-explore-btn:hover { transform: scale(1.05); }
.cruise-float-img { position: absolute; width: clamp(150px, 20vw, 300px); aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.8); pointer-events: none; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; filter: grayscale(100%); transition: filter 0.3s; }
.cruise-feature-section:hover .cruise-float-img { filter: grayscale(0%); }

.site-footer { padding: 100px 0 60px; }
.footer-meta { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-muted); }

/* ── MOBILE RESPONSIVENESS ── */
@media (max-width: 992px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 15px; }
  .nav-links { display: flex; width: 100%; justify-content: center; gap: 20px; font-size: 0.75rem; margin-top: 5px; flex-wrap: wrap; }
  .grid-2-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 10vw; }
  .title-huge { font-size: 12vw; }
}

@media (max-width: 768px) {
  /* Layout & Containers */
  .container { padding: 0 20px; }
  .section-content { padding: 60px 0; }
  
  /* Header */
  #header { padding: 20px; }
  .logo { font-size: 1.25rem; }
  .btn-audio { display: none; /* Hide on small screens to save space */ }
  .btn-primary-pill, .btn-outline-pill { font-size: 0.75rem; padding: 12px 24px; }
  .greyapple-text-mobile { text-align: center !important; }
  
  /* Hero */
  .section-hero { padding-top: 120px; }
  .hero-locations { font-size: 0.6rem; padding: 8px 16px; margin-bottom: 24px; }
  .hero-desc { font-size: 1rem; margin-top: 24px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
  .hero-actions a { width: 100%; }

  /* Typography */
  .section-heading { font-size: 2rem; margin-bottom: 16px; }
  .section-body { font-size: 1rem; }
  .badge-tag { font-size: 0.7rem; }
  
  /* Stats Box */
  .stats-box { padding: 24px; gap: 24px; border-radius: 16px; }
  .stat-row h3 { font-size: 2rem; }
  .stat-row p { font-size: 0.7rem; }

  /* 4 Pillars Grid */
  .pillar-grid { grid-template-columns: 1fr; gap: 20px; }
  .eco-card { padding: 24px; border-radius: 16px; }
  
  /* Events List */
  .event-row { flex-direction: column; height: auto; }
  .event-flyer-left { width: 100%; aspect-ratio: 16/9; height: auto; }
  .event-info-middle { padding: 24px; align-items: flex-start; }
  .event-gallery-right { width: 100%; max-width: 100%; height: 120px; }
  .event-gallery-right img { border-left: none; border-top: 2px solid #FFF; }
  .event-gallery-right img:first-child { border-top: none; }
  
  /* Brands */
  .brands-cloud { font-size: 1.1rem; gap: 16px; }
  
  /* Cruise Room */
  .cruise-feature-section { height: 60vh; }
  .cruise-huge-text { -webkit-text-stroke: 0px; color: #fff; text-shadow: 0 0 20px var(--c-green); }
  .cruise-float-img { display: none; }

  /* Footer */
  .site-footer { padding: 60px 0 40px; }
  .footer-meta { font-size: 0.7rem; }
}
