/**
 * Manifest Europe Homepage Styles
 *
 * This stylesheet contains additional styles and overrides for the
 * Manifest Europe landing page template.
 */

/* ==========================================================================
   Variables & Base
   ========================================================================== */

:root {
  --me-pink: #ef32af;
  --me-orange: #ff640b;
  --me-blue: #3333ff;
  --me-purple: #a346ff;
  --me-dark-purple: #891d64;
  --me-black: #000000;
  --me-white: #ffffff;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.page-template-template-manifest-europe {
  font-family: var(--font-roobert), "Helvetica Neue", Arial, sans-serif;
}

.page-template-template-manifest-europe h1,
.page-template-template-manifest-europe h2,
.page-template-template-manifest-europe h3,
.page-template-template-manifest-europe h4,
.page-template-template-manifest-europe h5,
.page-template-template-manifest-europe h6 {
  font-family: var(--font-roobert), "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.page-template-template-manifest-europe .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1200px) {
  .page-template-template-manifest-europe .container {
    max-width: 1400px;
    padding: 0;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.manifest-europe-primary-button {
  font-family: var(--font-roobert);
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 47px;
  background: var(--me-pink);
  color: var(--me-white);
  height: 53px;
  padding: 0 33px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 5px 5.2px 0px rgba(0, 0, 0, 0.13);
}

.manifest-europe-primary-button:hover {
  opacity: 0.9;
  color: var(--me-white);
  text-decoration: none;
  transform: translateY(-1px);
}

.manifest-europe-primary-button:active {
  transform: translateY(0);
}

.manifest-europe-secondary-button {
  font-family: var(--font-roobert);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--me-white);
  border: none;
  color: var(--me-black);
  height: 64px;
  padding: 0 40px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.manifest-europe-secondary-button:hover {
  background: #f0f0f0;
  color: var(--me-black);
  text-decoration: none;
}

.manifest-europe-outline-button {
  font-family: var(--font-roobert);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  border: 3px solid var(--me-white);
  color: var(--me-white);
  height: 64px;
  padding: 0 30px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.manifest-europe-outline-button:hover {
  background: var(--me-white);
  color: var(--me-black);
  text-decoration: none;
}

/* ==========================================================================
   Background Utilities
   ========================================================================== */

.manifest-europe-gradient-purple-bg {
  background: linear-gradient(
    180deg,
    var(--me-black) 0%,
    var(--me-purple) 172.7%
  );
}

.manifest-europe-dark-bg {
  background: var(--me-black);
}

.manifest-europe-blue-bg {
  background: var(--me-blue);
}

.manifest-europe-gradient-pink-orange-bg {
  background: linear-gradient(180deg, var(--me-pink) 0%, var(--me-orange) 100%);
}

.manifest-europe-gradient-blue-black-bg {
  background: linear-gradient(
    180deg,
    var(--me-black) 2.97%,
    var(--me-blue) 133.3%
  );
}

/* ==========================================================================
   Smooth Scroll
   ========================================================================== */

.page-template-template-manifest-europe {
  scroll-behavior: smooth;
}

.page-template-template-manifest-europe .smooth-scroll {
  scroll-behavior: smooth;
}

/* ==========================================================================
   Header Override - Hide default header for full-screen hero
   ========================================================================== */

.page-template-template-manifest-europe #masthead,
.page-template-template-manifest-europe .site-header {
  display: none;
}

/* ==========================================================================
   Hero Section Refinements
   ========================================================================== */

.me-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Gradient overlay */
.me-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(51, 51, 255, 0.75) 0%,
    rgba(163, 70, 255, 0.5) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.me-stats {
  position: relative;
  z-index: 5;
}

.me-stat-value {
  background: linear-gradient(135deg, var(--me-orange) 0%, var(--me-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Who Should Attend Cards
   ========================================================================== */

.me-who-should-attend-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.me-who-should-attend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(163, 70, 255, 0.3);
}

/* ==========================================================================
   Form Styling
   ========================================================================== */

.me-insider-form .wpcf7-form-control-wrap {
  flex: 1;
  min-width: 280px;
}

.me-insider-form .wpcf7-form p {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.me-insider-form .wpcf7-not-valid-tip {
  color: var(--me-orange);
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 15px;
}

.me-insider-form .wpcf7-response-output {
  color: var(--me-white);
  border: 1px solid var(--me-white);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 10px 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.me-hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.me-stat-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.me-stat-item:nth-child(1) {
  animation-delay: 0.1s;
}
.me-stat-item:nth-child(2) {
  animation-delay: 0.2s;
}
.me-stat-item:nth-child(3) {
  animation-delay: 0.3s;
}
.me-stat-item:nth-child(4) {
  animation-delay: 0.4s;
}
.me-stat-item:nth-child(5) {
  animation-delay: 0.5s;
}
.me-stat-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 1024px) {
  .me-hero-blob-left,
  .me-hero-blob-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .manifest-europe-primary-button {
    font-size: 14px;
    height: 48px;
    padding: 0 25px;
  }

  .manifest-europe-secondary-button {
    font-size: 18px;
    height: 56px;
    padding: 0 30px;
  }

  .me-hero-nav-links {
    display: none;
  }

  /* Show mobile menu toggle if needed */
  .me-hero-nav-mobile-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .me-hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .me-stats {
    margin-top: -40px;
  }

  .me-stats-container {
    padding: 20px;
    border-radius: 16px;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .me-hero-nav,
  .me-insider-form,
  .manifest-europe-primary-button,
  .manifest-europe-secondary-button {
    display: none;
  }

  .me-hero {
    min-height: auto;
    padding: 40px 20px;
  }

  .me-hero::before {
    display: none;
  }

  .me-hero-background {
    display: none;
  }

  * {
    color: black !important;
    background: white !important;
  }
}
