/* ============================================
   EZ EVENTS - 2026 MODERN DESIGN
   Black & White only. No color accents.
   ============================================ */

/* ===== GRAIN OVERLAY (B&W) ===== */
.ez-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== AMBIENT ORBS (GRAY ONLY) ===== */
.ez-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ez-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.06;
  will-change: transform;
}

.ez-orb--1 {
  width: 400px;
  height: 400px;
  background: #1a1a1a;
  top: 10%;
  left: -5%;
  animation: ez-orb-1 22s ease-in-out infinite;
}

.ez-orb--2 {
  width: 320px;
  height: 320px;
  background: #2d2d2d;
  bottom: 15%;
  right: -5%;
  animation: ez-orb-2 28s ease-in-out infinite;
}

@keyframes ez-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
}

@keyframes ez-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .ez-orb { animation: none; }
}

/* ===== FLUID TYPOGRAPHY ===== */
.ez-hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
}

.ez-hero__subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem) !important;
  letter-spacing: -0.02em;
}

.ez-hero__description {
  font-size: clamp(0.95rem, 1.4vw, 1.125rem) !important;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  letter-spacing: -0.02em !important;
}

.section__subtitle {
  letter-spacing: 0.2em !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
}

/* ===== PILL BUTTONS ===== */
.ez-hero__buttons .button,
.ez-cta__content .button,
.ez-nav__cta {
  border-radius: 100px !important;
  padding: 0.85rem 2rem !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.04em !important;
}

.ez-contact__button {
  border-radius: 100px !important;
  padding: 0.7rem 1.35rem !important;
  font-size: 0.8rem !important;
}

/* ===== TICKER BANNER (B&W) ===== */
.ez-ticker {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--ez-off-white, #fafafa);
}

.ez-ticker__track {
  display: flex;
  width: max-content;
  animation: ez-ticker-scroll 30s linear infinite;
  align-items: center;
  gap: 0;
}

.ez-ticker__track span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ez-medium-gray, #666);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.ez-ticker__dot {
  color: var(--ez-black) !important;
  font-weight: 700;
  padding: 0 0.25rem !important;
}

@keyframes ez-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ez-ticker__track { animation: none; }
}

/* ===== HEADER GLASS (B&W) ===== */
.ez-header {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
              0 4px 24px rgba(0, 0, 0, 0.04) !important;
}

/* ===== BACK TO TOP (B&W) ===== */
.ez-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  color: var(--ez-black);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ez-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ez-back-to-top:hover {
  background: var(--ez-black);
  color: var(--ez-white);
  border-color: var(--ez-black);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER MODERN ===== */
.ez-footer-modern .footer {
  border-radius: 2rem 2rem 0 0;
  margin-top: 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
}

.ez-footer-modern .footer__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  letter-spacing: -0.02em !important;
}

.ez-footer-modern .footer__social-link {
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* ===== CTA SECTION REFINEMENT ===== */
.ez-cta__title {
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}

/* ===== CARD HOVER REFINEMENTS ===== */
.ez-service__card,
.ez-event__item,
.ez-why__item,
.ez-contact__card {
  border-radius: 1.25rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ez-stats__item {
  border-radius: 1.5rem !important;
}

/* ===== CONTACT TAGLINE MODERN ===== */
.ez-contact__tagline {
  border-radius: 1.25rem !important;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem) !important;
  letter-spacing: -0.01em;
}

/* ===== WOW: TEXT SCRAMBLE ===== */
.ez-hero__title[data-scramble] {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.15em;
}

/* ===== WOW: ANIMATED COUNTERS ===== */
.ez-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 1.2ch;
}

/* ===== WOW: CURSOR SPOTLIGHT (B&W) ===== */
.ez-service__card,
.ez-event__item,
.ez-why__item,
.ez-contact__card,
.ez-stats__item {
  --ez-spot-x: 50%;
  --ez-spot-y: 50%;
  position: relative;
}

.ez-service__card::after,
.ez-event__item::after,
.ez-why__item::after,
.ez-contact__card::after,
.ez-stats__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--ez-spot-x) var(--ez-spot-y),
    rgba(0, 0, 0, 0.06) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.ez-service__card:hover::after,
.ez-event__item:hover::after,
.ez-why__item:hover::after,
.ez-contact__card:hover::after,
.ez-stats__item:hover::after {
  opacity: 1;
}

.ez-service__card > *,
.ez-event__item > *,
.ez-why__item > *,
.ez-contact__card > *,
.ez-stats__item > * {
  position: relative;
  z-index: 1;
}

/* Mystery cards have inner content with z-index 2 - ensure spotlight is below */
.ez-event__item--mystery::after {
  z-index: 1;
}

.ez-event__item--mystery .ez-event__icon,
.ez-event__item--mystery .ez-event__content {
  z-index: 2;
}

/* ===== WOW: 3D TILT CARDS ===== */
.ez-tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.ez-tilt-card > * {
  transform: translateZ(18px);
}

/* ===== WOW: CTA TITLE SHIMMER (B&W) ===== */
.ez-cta__title {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #e0e0e0 25%,
    #fff 50%,
    #c0c0c0 75%,
    #fff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ez-shimmer 5s ease-in-out infinite;
}

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

/* ===== WOW: BUTTON GLOW PULSE (B&W) ===== */
.ez-hero__buttons .button:first-child,
.ez-cta__content .button,
.ez-nav__cta {
  position: relative;
}

.ez-hero__buttons .button:first-child::after,
.ez-cta__content .button::after,
.ez-nav__cta::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: #000;
  z-index: -1;
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.3s ease;
}

.ez-hero__buttons .button:first-child:hover::after,
.ez-nav__cta:hover::after {
  opacity: 0.35;
  animation: ez-glow-pulse 1.8s ease-in-out infinite;
}

@keyframes ez-glow-pulse {
  0%, 100% { opacity: 0.25; filter: blur(12px); }
  50% { opacity: 0.45; filter: blur(18px); }
}

/* CTA section: white button, white glow */
.ez-cta__content .button::after {
  background: #fff;
}

.ez-cta__content .button:hover::after {
  opacity: 0.25;
  animation: ez-glow-pulse-white 1.8s ease-in-out infinite;
}

@keyframes ez-glow-pulse-white {
  0%, 100% { opacity: 0.15; filter: blur(12px); }
  50% { opacity: 0.35; filter: blur(18px); }
}

/* ===== HERO LOGO FLOAT ===== */
.ez-hero__logo-container {
  animation: ez-logo-float 6s ease-in-out infinite;
}

@keyframes ez-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .ez-hero__logo-container { animation: none; }
  .ez-cta__title { animation: none; -webkit-text-fill-color: #fff; background: none; }
  .ez-hero__buttons .button:first-child:hover::after,
  .ez-cta__content .button:hover::after,
  .ez-nav__cta:hover::after { animation: none; }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
  .ez-back-to-top {
    bottom: 1.5rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .ez-ticker__track span {
    font-size: 0.65rem;
    padding: 0 1rem;
  }
}
