/*
TemplateMo 583 Festava Live
Cleaned & fixed for fullscreen video + centered hero
*/

/* =====================================================
   CSS VARIABLES
===================================================== */
:root {
  --white-color: #ffeaec;
  --primary-color: #f39a9d;
  --secondary-color: #3E2F5B;
  --section-bg-color: #f0f8ff;
  --custom-btn-bg-color: #3E2F5B;
  --custom-btn-bg-hover-color: #c01f27;
  --dark-color: #000;
  --p-color: #717275;
  --link-hover-color: #B22727;

  --body-font-family: 'Outfit', sans-serif;

  --h1-font-size: 74px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 18px;

  --radius-lg: 100px;
  --radius-md: 20px;
  --radius-sm: 10px;
}

/* =====================================================
   BASE
===================================================== */
body {
  margin: 0;
  font-family: var(--body-font-family);
  background: transparent;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color .3s;
}

a:hover {
  color: var(--link-hover-color);
}

/* =====================================================
   FULLSCREEN VIDEO + PARTICLES
===================================================== */
.video-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.video-wrap video,
.custom-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  background: transparent !important;
  z-index: 10;
}

.navbar-brand {
  color: var(--white-color);
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--white-color);
  margin: 10px;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

/* Dropdown */
.navbar .dropdown-menu {
  background: transparent;
  border: none;
}

.navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
}

.navbar .dropdown-item:hover {
  color: #fff;
  background: transparent;
}

@media (max-width: 991px) {
  .navbar .dropdown-menu {
    position: static;
  }
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-section>.container {
  max-width: none;
  padding: 0;
}

/* =====================================================
   HERO LOGO (LOTTIE)
===================================================== */
.logo-wrapper {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper dotlottie-wc {
  width: clamp(480px, 90vw, 1350px);
  /* true 1.5x */
  height: auto;
  display: block;
}

@media (max-height: 800px) {
  .logo-wrapper dotlottie-wc {
    width: clamp(380px, 80vw, 1150px);
  }
}

/* =====================================================
   SOCIAL ICONS
===================================================== */
.social-icon {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  padding: 0;
  margin: 0;
}

.social-icon-item {
  list-style: none;
}

.social-icon-link {
  background: var(--primary-color);
  border-radius: var(--radius-lg);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.social-icon-link span {
  font-size: clamp(18px, 2.5vw, 28px);
}

/* =====================================================
   SECTIONS (Template preserved)
===================================================== */
.section-padding {
  padding: 100px 0;
}

.section-bg {
  background: var(--section-bg-color);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--dark-color);
  color: var(--white-color);
}

/* =====================================================
   RESPONSIVE TYPE
===================================================== */
@media (max-width: 991px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 52px;
  }
}

/* Ensure sections appear above video */
section,
.ml-embedded {
  position: relative;
  z-index: 2;
}

.navbar {
  background: #000 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Dropdown menu background */
.navbar .dropdown-menu {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: var(--radius-md);
  padding: 12px 0;
  border: 1px solid rgba(255, 235, 236, 0.15);
  min-width: 220px;
}

/* Dropdown items */
.navbar .dropdown-item {
  color: #ffebec;
  padding: 10px 20px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}

.navbar .dropdown-item:hover {
  background: rgba(255, 235, 236, 0.12);
  color: #fff;
}

.social-icon {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(8px, 2vw, 24px);
}

.social-icon-link {
  background: #000;
  color: #ffebec;
  border-radius: var(--radius-lg);
  width: clamp(38px, 4vw, 56px);
  height: clamp(38px, 4vw, 56px);
  display: grid;
  place-items: center;
  transition: background .25s ease, transform .25s ease;
}

.social-icon-link span {
  font-size: clamp(18px, 2vw, 28px);
  color: #ffebec;
}

/* Hover polish */
.social-icon-link:hover {
  background: #000;
  transform: translateY(-8px);
}

.social-icon-link:hover span {
  color: #fff;
}

/* Divider spacing polish */
.custom-divider {
  border-color: rgba(255, 235, 236, 0.2);
  margin: 10px 0;
}

/* Archived / cancelled project */
.project-archived {
  text-decoration: line-through;
  opacity: 0.5;
  cursor: default;
  user-select: none;
}

.project-archived:hover {
  background: transparent;
  color: #ffebec;
}

.custom-video {
  pointer-events: none;
}

.video-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}