/* ============================================
   CUSTOM CSS - Styles that Tailwind CDN can't handle
   Animations, complex selectors, special effects
   ============================================ */

/* Hero background */
.hero-bg {
  background: linear-gradient(135deg, #2d3280 0%, #1a1f5e 40%, #2d3280 100%);
  background-size: 200% 200%;
  animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero overlay pattern */
.hero-pattern {
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Hero image extending below section */
.hero-image-overflow {
  position: absolute;
  right: 0;
  bottom: -80px;
  width: 55%;
  z-index: 10;
  pointer-events: none;
}

/* Header shadow */
.header-fixed {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Language toggle - pill style matching design */
.lang-toggle {
  display: flex;
  align-items: center;
  background: #e8e8e8;
  border-radius: 24px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9E9E9E;
  text-decoration: none;
  line-height: 1;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: #666;
}

.lang-link--active {
  background: #2E7D32;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(46, 125, 50, 0.3);
}

.lang-link--active:hover {
  color: #FFFFFF;
}

/* Hamburger button */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.hamburger-btn:hover {
  background: #f3f4f6;
}

/* Drawer overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay--open {
  opacity: 1;
  visibility: visible;
}

/* Slide-in drawer from right */
.drawer-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer-nav--open {
  transform: translateX(0);
}

/* Footer logo white overlay effect */
.footer-logo-wrap {
  position: relative;
  width: 160px;
  height: auto;
}

.footer-logo-white {
  filter: brightness(0) invert(1);
}

.footer-logo-red {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 35% 0, 35% 45%, 0 45%);
}

/* Conference page hero */
.conf-hero-bg {
  background: linear-gradient(135deg, #2d3280 0%, #1a1f5e 40%, #2d3280 100%);
}

/* Conference day cards light bg */
.day-card-bg {
  background: #f0faf1;
}

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

/* ============================================
   PAGE LOAD FADE IN
   ============================================ */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.page-loaded {
  opacity: 1;
}

/* ============================================
   SCROLL REVEAL (Fade + Slide Up)
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for child elements */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* Active nav indicator */
.nav-active {
  background-color: #2d3280;
  color: #FFFFFF !important;
  border-radius: 6px;
  padding: 8px 16px !important;
}

/* Footer copyright divider - full width */
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/* Speaker avatar placeholder */
.speaker-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #e5e7eb;
}

/* Attendance icon cards */
.attendance-icon {
  font-size: 3rem;
  color: #2d3280;
}

/* Schedule time bullet */
.schedule-bullet::before {
  content: '•';
  margin-right: 8px;
  font-weight: bold;
}
