/* =========================
   Meet Page Styles
   Modern & Elegant Booking Page
   ========================= */

/* Reset main container padding for full-bleed hero */
body.meet #main.meet-main {
  padding: 0;
  max-width: none;
}

/* Hero Section - Matching Audio & Video style */
.meet-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  margin: 0;
  width: 100%;
}

.meet-hero:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

.meet-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%236c2bd9" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%233b82f6" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%236c2bd9" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%233b82f6" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  animation: grain 8s steps(10) infinite;
}

.meet-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.meet-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 var(--container-pad, 24px);
}

/* Floating particles */
.meet-hero .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 70%, transparent 100%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite, pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.meet-hero .particle:nth-child(1) { 
  top: 20%; left: 10%; 
  animation-delay: 0s; 
  animation-duration: 6s;
}
.meet-hero .particle:nth-child(2) { 
  top: 60%; left: 20%; 
  animation-delay: 1s; 
  animation-duration: 8s;
  width: 8px;
  height: 8px;
}
.meet-hero .particle:nth-child(3) { 
  top: 30%; left: 80%; 
  animation-delay: 2s; 
  animation-duration: 7s;
}
.meet-hero .particle:nth-child(4) { 
  top: 70%; left: 70%; 
  animation-delay: 3s; 
  animation-duration: 9s;
  width: 5px;
  height: 5px;
}
.meet-hero .particle:nth-child(5) { 
  top: 40%; left: 50%; 
  animation-delay: 4s; 
  animation-duration: 6.5s;
  width: 10px;
  height: 10px;
}
.meet-hero .particle:nth-child(6) { 
  top: 15%; left: 60%; 
  animation-delay: 0.5s; 
  animation-duration: 7.5s;
  width: 4px;
  height: 4px;
}
.meet-hero .particle:nth-child(7) { 
  top: 80%; left: 30%; 
  animation-delay: 1.5s; 
  animation-duration: 8.5s;
  width: 7px;
  height: 7px;
}
.meet-hero .particle:nth-child(8) { 
  top: 45%; left: 90%; 
  animation-delay: 2.5s; 
  animation-duration: 6s;
  width: 5px;
  height: 5px;
}
.meet-hero .particle:nth-child(9) { 
  top: 10%; left: 40%; 
  animation-delay: 3.5s; 
  animation-duration: 7.5s;
  width: 9px;
  height: 9px;
}
.meet-hero .particle:nth-child(10) { 
  top: 25%; left: 35%; 
  animation-delay: 4.5s; 
  animation-duration: 7s;
  width: 8px;
  height: 8px;
}

.meet-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: white;
  margin: 0 0 16px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: titleGlow 2s ease-in-out infinite alternate, titleFadeIn 3s ease-out 1s both;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.meet-hero h1:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.3);
}

.meet-hero h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  margin: 20px auto 0;
  border-radius: 2px;
  animation: lineExpand 1.5s ease-out 0.5s both;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.meet-hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #f8f8f8;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  animation: titleFadeIn 3s ease-out 1.5s both;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Booking Section */
.meet-booking {
  background: #ffffff;
  padding: 60px 0 100px;
  min-height: calc(100vh - 300px);
}

.meet-booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad, 24px);
}

.meet-calendar-embed {
  margin: 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  min-height: 800px;
  background: rgba(255,255,255,1);
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}

.meet-calendar-embed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  z-index: 1;
}

.meet-calendar-embed:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(0,0,0,.15);
}

.meet-calendar-embed iframe {
  border: none;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  min-height: 800px;
  display: block;
}

/* Responsive Design */
@media (max-width: 980px) {
  .meet-hero {
    padding: 80px 0 60px;
  }
  
  .meet-booking {
    padding: 40px 0 80px;
  }
  
  .meet-calendar-embed {
    min-height: 700px;
    border-radius: 20px;
  }
  
  .meet-calendar-embed iframe {
    min-height: 700px;
  }
}

@media (max-width: 760px) {
  .meet-hero {
    padding: 60px 0 50px;
  }
  
  .meet-hero h1 {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 16px;
  }
  
  .meet-hero p {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .meet-booking {
    padding: 30px 0 60px;
  }
  
  .meet-booking-container {
    padding: 0 16px;
  }
  
  .meet-calendar-embed {
    min-height: 600px;
    border-radius: 16px;
  }
  
  .meet-calendar-embed iframe {
    min-height: 600px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .meet-hero {
    padding: 50px 0 40px;
  }
  
  .meet-hero h1 {
    font-size: clamp(24px, 10vw, 36px);
  }
  
  .meet-hero p {
    font-size: clamp(14px, 5vw, 18px);
  }
  
  .meet-booking {
    padding: 20px 0 40px;
  }
  
  .meet-calendar-embed {
    min-height: 500px;
    border-radius: 12px;
  }
  
  .meet-calendar-embed iframe {
    min-height: 500px;
  }
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .meet-hero:hover {
    transform: none;
  }
  .meet-calendar-embed:hover {
    transform: none;
  }
  .meet-hero h1,
  .meet-hero p {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== KEYFRAME ANIMATIONS ===== */

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-30px) translateX(10px) rotate(90deg) scale(1.2);
    opacity: 1;
  }
  50% { 
    transform: translateY(-20px) translateX(-15px) rotate(180deg) scale(0.8);
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-40px) translateX(5px) rotate(270deg) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
  }
  50% { 
    box-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.3);
  }
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(6%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

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

@keyframes titleFadeIn {
  0% { 
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes titleGlow {
  0% { 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 0 10px rgba(255,255,255,0.1);
  }
  100% { 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 0 20px rgba(255,255,255,0.2), 0 0 30px rgba(255,255,255,0.1);
  }
}

@keyframes lineExpand {
  0% { 
    width: 0;
    opacity: 0;
  }
  100% { 
    width: 80px;
    opacity: 1;
  }
}
