/* =====================================================
   WONDERFUL WORLD OF WINGS — ULTRA MODERN 2026
   Contemporary • Vibrant • Glassmorphic • Gradient-Rich
   Font: Plus Jakarta Sans
   ===================================================== */

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(135deg, #0a1628 0%, #0d1d33 50%, #12263d 100%);
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0d1d33;
  --bg-tertiary: #12263d;
  --accent-blue: #0a1628;
  --accent-blue-light: #1a3a5c;
  --accent-blue-lighter: #2a4f7a;
  --accent-blue-bright: #3d6ba8;
  --accent-cyan: #4a9fcd;
  --accent-gold: #d4af37;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-800: #1f2937;
  --glass-bg: rgba(10, 22, 40, 0.75);
  --glass-border: rgba(74, 159, 205, 0.2);
  --shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.5);
  --shadow-xl: 0 25px 60px rgba(10, 22, 40, 0.7);
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
}

/* =====================================================
   NAVBAR — GLASSMORPHIC & MODERN
   ===================================================== */
@keyframes logoPop {
  0% { transform: scale(0.7) rotate(-5deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes navSlideDown {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 16px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 999;
  animation: navSlideDown 0.8s ease-out;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  width: 56px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  opacity: 0;
  animation: logoPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s forwards;
  filter: drop-shadow(0 4px 12px rgba(74, 159, 205, 0.5));
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 16px rgba(74, 159, 205, 0.6));
}

.nav-title {
  font-weight: 800;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #ffffff 0%, #4a9fcd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-center {
  display: flex;
  gap: 8px;
}

.nav-center a {
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-center a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  z-index: -1;
}

.nav-center a:hover::before {
  opacity: 1;
}

.nav-center a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 79, 122, 0.5);
}

.nav-login-btn {
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan));
  color: white;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(42, 79, 122, 0.5);
  position: relative;
  overflow: hidden;
}

.nav-login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-login-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.nav-login-btn:hover::before {
  opacity: 1;
}

/* =====================================================
   HERO — DRAMATIC & ANIMATED
   ===================================================== */
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero {
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(10, 22, 40, 0.75) 0%, 
    rgba(26, 58, 92, 0.65) 50%, 
    rgba(74, 159, 205, 0.55) 100%);
  mix-blend-mode: overlay;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, 
    transparent 0%, 
    rgba(10, 22, 40, 0.8) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  animation: heroFadeIn 1s ease-out 0.3s both;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #4a9fcd 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(74, 159, 205, 0.5);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.25rem;
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 400;
  color: #f3f4f6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: floatAnimation 3s ease-in-out infinite;
}

.btn-primary,
.btn-secondary {
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan));
  color: white;
  box-shadow: 0 10px 30px rgba(26, 58, 92, 0.6);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-blue-bright), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(61, 107, 168, 0.6);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: white;
  color: var(--bg-primary);
  border-color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* =====================================================
   FEATURES — MODERN CARDS WITH GRADIENTS
   ===================================================== */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 80px 60px;
  background: linear-gradient(180deg, 
    rgba(243, 244, 246, 1) 0%, 
    rgba(229, 231, 235, 1) 100%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(74, 159, 205, 0.5), 
    transparent);
}

.feature {
  background: white;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 159, 205, 0.15);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--accent-blue-light), 
    var(--accent-cyan), 
    var(--accent-blue-bright));
  transform: translateY(-4px);
  transition: transform 0.4s ease;
}

.feature:hover::before {
  transform: translateY(0);
}

.feature:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(42, 79, 122, 0.25);
  animation: cardFloat 2s ease-in-out infinite;
}

.feature h3 { 
  color: var(--bg-primary);
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #0a1628, #4a9fcd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-link { 
  color: var(--accent-blue-bright);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-link:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

/* =====================================================
   SECTION TITLES — GRADIENT & MODERN
   ===================================================== */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #4a9fcd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue-light), var(--accent-cyan));
  border-radius: 2px;
}

/* =====================================================
   BIRTHDAYS & EVENTS — GLASSMORPHIC CARDS
   ===================================================== */
.birthday-section,
.events-section {
  padding: 80px 60px;
  text-align: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.birthday-section::before,
.events-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 159, 205, 0.12), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.birthday-list,
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.birthday-card,
.event-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.birthday-card::before,
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
  transition: left 0.5s ease;
}

.birthday-card:hover::before,
.event-card:hover::before {
  left: 100%;
}

.birthday-card:hover,
.event-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(26, 58, 92, 0.4);
  border-color: rgba(74, 159, 205, 0.6);
}

/* =====================================================
   LIVESTREAM — ELEVATED DESIGN
   ===================================================== */
.stream-section {
  padding: 80px 60px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: var(--gray-800);
  text-align: center;
  position: relative;
}

.stream-section .section-title {
  background: linear-gradient(135deg, #0a1628, #4a9fcd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stream-container {
  max-width: 1000px;
  margin: 0 auto;
}

.stream-container iframe {
  width: 100%;
  max-width: 100%;
  height: 560px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 4px solid white;
  transition: all 0.4s ease;
}

.stream-container iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 70px rgba(42, 79, 122, 0.4);
}

/* =====================================================
   FACEBOOK FEED — MODERN CARDS
   ===================================================== */
.facebook-section {
  padding: 80px 60px;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
}

.facebook-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 159, 205, 0.12), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.fb-feed { 
  max-width: 1000px;
  margin: auto;
}

.fb-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 28px;
  margin-bottom: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.fb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(42, 79, 122, 0.4);
  border-color: rgba(74, 159, 205, 0.6);
}

/* =====================================================
   JOIN PAGE — MODERN & POLISHED
   ===================================================== */
.join-hero {
  margin-top: 90px;
  height: 40vh;
  min-height: 350px;
  background: linear-gradient(135deg, 
    rgba(10, 22, 40, 0.85), 
    rgba(26, 58, 92, 0.75)), 
    url('../images/hero-plane.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.join-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, 
    rgba(74, 159, 205, 0.3), 
    transparent);
}

.join-hero-inner {
  position: relative;
  z-index: 2;
  animation: heroFadeIn 0.8s ease-out;
}

.join-hero-inner h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.join-hero-inner p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: auto;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* FORM SECTION */
.join-section {
  padding: 80px 30px;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.join-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  width: 100%;
  max-width: 580px;
  padding: 40px;
  border-radius: 24px;
  color: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: formFade 0.8s ease-out;
}

@keyframes formFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--gray-100);
}

.form-group input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(74, 159, 205, 0.2);
  outline: none;
  transform: translateY(-2px);
}

/* Make Profile Image Optional */
#profileImage { 
  border-style: dashed;
  cursor: pointer;
}

.join-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan)) !important;
  color: white !important;
  border-radius: 14px;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(26, 58, 92, 0.6);
  position: relative;
  overflow: hidden;
}

.join-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-blue-bright), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.join-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(61, 107, 168, 0.7);
}

.join-btn:hover::before {
  opacity: 1;
}

.form-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-100);
}

.form-note a {
  color: var(--accent-cyan);
  font-weight: 700;
  transition: color 0.3s ease;
}

.form-note a:hover {
  color: var(--accent-blue-bright);
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  z-index: 99999;
}

.modal-inner {
  background: white;
  color: var(--gray-800);
  padding: 48px;
  border-radius: 24px;
  text-align: center;
  width: 90%;
  max-width: 450px;
  animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

@keyframes popIn {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-inner h2 {
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

#closeModalBtn {
  margin-top: 24px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan));
  color: white;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(26, 58, 92, 0.5);
}

#closeModalBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(42, 79, 122, 0.6);
}

/* =====================================================
   FOOTER — MINIMALIST & MODERN
   ===================================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 32px 60px;
  text-align: center;
  color: var(--gray-100);
  font-size: 0.95rem;
}

.footer p {
  opacity: 0.8;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
  .nav {
    padding: 14px 30px;
  }
  
  .hero-title {   
    font-size: 3rem;
  }
  
  .features,
  .birthday-section,
  .events-section,
  .stream-section,
  .facebook-section {
    padding: 60px 30px;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }
  
  .nav-center {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  
  .nav-center a {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-sub {
    font-size: 1.05rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features,
  .birthday-section,
  .events-section,
  .stream-section,
  .facebook-section,
  .join-section {
    padding: 50px 20px;
  }
  
  .stream-container iframe {
    height: 350px;
  }
  
  .join-hero-inner h1 {
    font-size: 2.2rem;
  }
  
  .join-form {
    padding: 30px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-sub {
    font-size: 0.95rem;
  }
  
  .nav-title {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .join-hero-inner h1 {
    font-size: 1.8rem;
  }
  
  .stream-container iframe {
    height: 250px;
  }
}
