/* =====================================================
   GLOBAL RESETS
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-unstyled li {
  padding: 4px 0;
}

.list-unstyled li a {
  color: #d6d6d6;
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  text-decoration: none;
  transition: color .25s ease;
}

.list-unstyled li a:hover {
  color: #efc475;
}

/* =====================================================
   MEGA MENU
===================================================== */
.mega-menu {
  border: none !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  padding: 24px;
  min-width: 800px;
}

.mega-inner {
  display: flex;
  gap: 40px;
}

.mega-column-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.mega-title {
  color: #efc475;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.mega-title:not(:first-child) {
  margin-top: 20px;
}

.dropdown-menu > li,
.dropdown-divider,
.mega-menu hr {
  display: none;
}

/* =====================================================
   VENUE CARD
===================================================== */
.venue-card {
  background: transparent;
  color: #efc475;
  box-shadow: 6px 6px #efc475;
}

/* =====================================================
   POPULAR CATEGORIES
===================================================== */
.popular-categories {
  background: radial-gradient(circle at top, #111 0%, #000 70%);
  color: #fff;
  overflow: hidden;
  padding: 80px 0;
}

.header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color:#efc475;
}

.view-all-link {
  color: #efc475;
  font-weight: 500;
  text-decoration: none;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
  perspective: 1200px;
}

.category-card-3d {
  border-radius: 22px;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s;
  box-shadow: 0 25px 50px rgba(0,0,0,.45);
  cursor: pointer;
  animation: fadeUp .9s ease forwards;
}

.category-card-3d:hover {
  transform: rotateY(8deg) rotateX(6deg) translateY(-15px);
  box-shadow: 0 40px 90px rgba(239,196,117,.25);
}

.img-wrap {
  height: 230px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.category-card-3d:hover img {
  transform: scale(1.12);
}

.glass {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  padding: 1.4rem;
  border-radius: 0 0 22px 22px;
}

.category-details h3 {
  font-size: 1.25rem;
}

.category-details p {
  font-size: .95rem;
  opacity: .85;
  line-height: 1.5;
}

.category-details a {
  margin-top: .8rem;
  display: inline-block;
  color: #efc475;
  font-weight: 600;
  transition: transform .3s ease;
}

.category-details a:hover {
  transform: translateX(6px);
}

/* =====================================================
   MANPOWER SECTION (DESKTOP)
===================================================== */
.manpower-section .manpower-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  /* Section heading */
  .manpower-section .section-subtitle {
    color: #efc475;
    font-size: 38px;
    font-weight: 600;
    margin: 20px 0 15px 0; /*  reduced gap */
    white-space: nowrap; /* ✅ single line */
  }

  .manpower-section .manpower-card {
    position: relative;
    z-index: 10;
    grid-column: 1;
  }

  .manpower-section .manpower-card p {
    margin-top: 5px; /* ✅ reduce gap between heading & lorem */
  }

  .manpower-section .manpower-gallery {
    position: relative;
    grid-column: 2;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .manpower-section .manpower-images-3d {
    position: relative;
    width: 700px;
    height: 450px;
    perspective: 1500px;
    transform-style: preserve-3d;
  }

  .manpower-section .img-3d {
    position: absolute;
    width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    left: 50%;
    top: 50%;
  }

  .img-3d.active {
    transform: translate(-50%, -50%) scale(1);
    z-index: 5;
    opacity: 1;
  }

  .img-3d.next {
    transform: translate(-50%, -50%) translateX(180px) translateZ(-150px) rotateY(-25deg) scale(0.85);
    opacity: 0.7;
  }

  .img-3d.next-2 {
    transform: translate(-50%, -50%) translateX(320px) translateZ(-250px) rotateY(-35deg) scale(0.7);
    opacity: 0.5;
  }

  .img-3d.prev {
    transform: translate(-50%, -50%) translateX(-180px) translateZ(-150px) rotateY(25deg) scale(0.85);
    opacity: 0.7;
  }

  .img-3d.prev-2 {
    transform: translate(-50%, -50%) translateX(-320px) translateZ(-250px) rotateY(35deg) scale(0.7);
    opacity: 0.5;
  }

  .img-3d.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) translateZ(-400px) scale(0.5);
  }

  /* Hide dots */
  .manpower-section .dots {
    display: none;
  }

  @media (max-width: 1024px) {
    .manpower-section .manpower-row {
      grid-template-columns: 1fr;
    }
  }

.img-3d {
  position: absolute;
  width: 350px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transition: all .6s cubic-bezier(.4,0,.2,1);
  left: 50%;
  top: 50%;
}

.img-3d.active {
  transform: translate(-50%,-50%) scale(1);
  z-index: 5;
}

.img-3d.next {
  transform: translate(-50%,-50%) translateX(180px) translateZ(-150px) rotateY(-25deg) scale(.85);
  opacity: .7;
}

.img-3d.prev {
  transform: translate(-50%,-50%) translateX(-180px) translateZ(-150px) rotateY(25deg) scale(.85);
  opacity: .7;
}

.img-3d.hidden {
  opacity: 0;
}

/* =====================================================
   WEDDING STORIES
===================================================== */
.wedding-stories {
  background: linear-gradient(180deg,#1f2529 0%,#111 100%);
  color: #fff;
  overflow: hidden;
  padding: 80px 0;
}

.stories-track {
  display: flex;
  gap: 2rem;
  width: max-content;
}

.story-card-3d {
  width: 360px;
  background: #fff;
  color: #111;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  transition: transform .6s, box-shadow .6s;
}

.story-card-3d:hover {
  transform: translateY(-18px) rotateY(6deg);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: #2f2f2f;
  color: #efc475;
  padding: 60px 0 30px;
  font-size: 14px;
}

.site-footer a {
  color: #efc475;
  opacity: .85;
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  opacity: .85;
}

/* Social icons */
.social-bg-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-bg-icons .social {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.social-bg-icons .social:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}

.facebook { background:#1877F2; }
.instagram { background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); }
.linkedin { background:#0A66C2; }
.google { background:#4285F4; }
.x { background:#000; }
.gmail { background:#EA4335; }
.yahoo { background:#6001D2; }

/* =====================================================
   RESPONSIVE FIXES (CRITICAL)
===================================================== */
@media (max-width: 1024px) {
  .manpower-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  /* Disable 3D on mobile */
  .manpower-images-3d {
    width: 100%;
    height: auto;
    perspective: none;
  }

  .img-3d {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: auto;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 auto 20px;
  }

  .manpower-gallery {
    height: auto;
    padding: 20px 0;
  }

  .section-subtitle {
    white-space: normal;
    font-size: 30px;
  }

  .story-card-3d {
    width: 280px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}