/* ============================================================
   Balloons Heaven – styles.css
   ============================================================ */

/* ---------- Reset & Root Variables ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #ff6b9d;
  --purple: #a855f7;
  --violet: #7c3aed;
  --gold: #f59e0b;
  --sky: #38bdf8;
  --dark: #1a0533;
  --dark2: #2d1057;
  --text: #4b3066;
  --light-bg: #fdf4ff;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #ff6b9d, #a855f7, #7c3aed);
  --gradient2: linear-gradient(135deg, #f59e0b, #ef4444, #a855f7);
  --shadow: 0 10px 40px rgba(168, 85, 247, 0.15);
  --shadow-lg: 0 20px 60px rgba(168, 85, 247, 0.25);
  --radius: 16px;
  --transition: 0.35s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 10px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(26, 5, 51, 0.55);
  backdrop-filter: blur(8px);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(168, 85, 247, 0.15);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Dancing Script", cursive;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  transition: color var(--transition);
}

.navbar.scrolled .logo {
  color: var(--dark);
}

.logo-icon {
  font-size: 1.8rem;
  animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.logo .highlight {
  color: var(--pink);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--pink);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--dark);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(
      150deg,
      rgba(26, 5, 51, 0.78) 0%,
      rgba(45, 16, 87, 0.72) 40%,
      rgba(74, 26, 122, 0.65) 70%,
      rgba(124, 58, 237, 0.6) 100%
    ),
    url("images/banner-1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
  text-align: center;
}

.balloons-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.balloon {
  position: absolute;
  font-size: clamp(2rem, 5vw, 4rem);
  animation: floatBalloon linear infinite;
  opacity: 0.2;
}

.b1 {
  left: 5%;
  animation-duration: 9s;
  animation-delay: 0s;
}
.b2 {
  left: 20%;
  animation-duration: 12s;
  animation-delay: 2s;
}
.b3 {
  left: 40%;
  animation-duration: 8s;
  animation-delay: 4s;
}
.b4 {
  left: 60%;
  animation-duration: 11s;
  animation-delay: 1s;
}
.b5 {
  left: 78%;
  animation-duration: 10s;
  animation-delay: 3s;
}
.b6 {
  left: 92%;
  animation-duration: 7s;
  animation-delay: 5s;
}

@keyframes floatBalloon {
  0% {
    transform: translateY(110vh) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.25;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-15vh) scale(1.2);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-tag {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  font-family: "Dancing Script", cursive;
}

.gradient-text {
  background: linear-gradient(135deg, #ff6b9d, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 107, 157, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 14px 36px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.bounce {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--purple);
}

.divider {
  font-size: 1.6rem;
  margin-top: 6px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
  background: linear-gradient(135deg, #fce4ec, #e1bee7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-box img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.badge-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}

.about-content p {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 14px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid rgba(168, 85, 247, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 85, 247, 0.3);
}

/* Image area */
.service-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.07);
}

/* Text area */
.service-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-body p {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.service-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.svc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
  white-space: nowrap;
}

.svc-call {
  background: linear-gradient(135deg, #ff6b9d, #a855f7);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.35);
}

.svc-enquire {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

.svc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.3);
  opacity: 0.92;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--light-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item .gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.8),
    rgba(255, 107, 157, 0.8)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-overlay i {
  font-size: 1.8rem;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-video {
  cursor: default;
}

.gallery-item-video .gallery-overlay {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: "🎈🎊🎀🎉";
  font-size: 10rem;
  position: absolute;
  opacity: 0.04;
  top: -20px;
  right: -20px;
  letter-spacing: 20px;
  pointer-events: none;
}

.why-us .section-title {
  color: var(--white);
}
.why-us .section-tag {
  color: var(--gold);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition:
    background var(--transition),
    transform var(--transition);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.35);
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: stretch;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.contact-info > p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

.contact-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-text span,
.contact-text a {
  font-size: 0.92rem;
  color: var(--text);
  transition: color var(--transition);
}

.contact-text a:hover {
  color: var(--pink);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.45);
}

/* --- Form --- */
.contact-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  height: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.map-directions-btn {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
  white-space: nowrap;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.map-directions-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand .logo-text {
  color: var(--white);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-contact p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.footer-contact i {
  color: var(--pink);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact a:hover {
  color: var(--pink);
}

.footer-bottom {
  text-align: center;
  padding: 22px 24px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.83rem;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--transition),
    transform var(--transition);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ============================================================
   FLOATING ACTION BUTTONS (WhatsApp & Call)
   ============================================================ */
.floating-buttons {
  position: fixed;
  right: 24px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.fab-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  animation: fabPop 0.4s ease both;
}

@keyframes fabPop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fab-whatsapp {
  background: #25d366;
  animation-delay: 0.1s;
}

.fab-call {
  background: linear-gradient(135deg, #ff6b9d, #a855f7);
  animation-delay: 0.2s;
}

.fab-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

/* Pulse ring on WhatsApp */
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: fabPulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Tooltip */
.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--dark);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.fab-tooltip::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

.fab-btn:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   ONLOAD POPUP FORM
   ============================================================ */
.popup-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.popup-modal.open {
  display: flex;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 36, 0.68);
  backdrop-filter: blur(3px);
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: 28px 24px 24px;
  z-index: 1;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f3e9f8;
  color: #6f2c66;
  cursor: pointer;
}

.popup-content h3 {
  color: var(--dark);
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.popup-content p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.92rem;
}

.popup-content .form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d8c4ea;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  outline: none;
}

.popup-content .btn.btn-block {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

body.popup-open {
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 5, 51, 0.97);
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.open a {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  section {
    padding: 60px 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 320px;
  }

  .popup-content {
    padding: 24px 16px 18px;
  }
}
