
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Layout */

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.8rem 0;
}

.section.alt {
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.24), rgba(15, 23, 42, 0.94));
}

.section-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 2.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f9fafb;
}

.section-header p {
  color: #9ca3af;
  max-width: 640px;
  margin-inline: auto;
  font-size: 0.95rem;
}

/* Portal overlay - EXTREME */

.portal-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #020617 0, #020617 40%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  overflow: hidden;
}

.portal-cracks .crack {
  position: absolute;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #f97316, #e5e7eb, #38bdf8, #a855f7, #22c55e);
  box-shadow: 0 0 18px rgba(248,250,252,0.9);
  animation: crack-grow 1.6s forwards;
}

.portal-cracks .c1 { top: 10%; left: 48%; transform: rotate(10deg); }
.portal-cracks .c2 { top: 30%; left: 25%; transform: rotate(-20deg); animation-delay: .1s; }
.portal-cracks .c3 { top: 35%; right: 22%; transform: rotate(18deg); animation-delay: .15s; }
.portal-cracks .c4 { bottom: 20%; left: 30%; transform: rotate(35deg); animation-delay: .25s; }
.portal-cracks .c5 { bottom: 18%; right: 30%; transform: rotate(-28deg); animation-delay: .3s; }

@keyframes crack-grow {
  0% { height: 0; opacity: 0; }
  40% { height: 120px; opacity: 1; }
  100% { height: 180px; opacity: 0.9; }
}

.portal-core {
  position: relative;
  width: min(360px, 80vw);
  height: min(360px, 80vw);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    conic-gradient(from 0deg, #f97316, #facc15, #22c55e, #38bdf8, #a855f7, #ec4899, #f97316);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 100%);
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 100%);
  animation: ring-spin 4s linear infinite;
  box-shadow: 0 0 30px rgba(248,250,252,0.5);
}

.ring-2 {
  inset: 12%;
  opacity: 0.8;
  animation-duration: 6s;
  animation-direction: reverse;
}

.ring-3 {
  inset: 25%;
  opacity: 0.6;
  animation-duration: 8s;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.portal-vortex {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 0%, rgba(248,250,252,0.95), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(59,130,246,0.85), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(249,115,22,0.85), transparent 70%);
  filter: blur(1px);
  animation: vortex-pulse 2.3s ease-in-out infinite;
}

@keyframes vortex-pulse {
  0%, 100% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}

.portal-logo {
  position: relative;
  text-align: center;
  z-index: 2;
}

.portal-logo img {
  width: min(260px, 70vw);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.85);
}

.portal-logo p {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-overlay.portal-hide {
  animation: portal-exit 1.2s forwards ease-in-out;
}

@keyframes portal-exit {
  0% { opacity: 1; transform: scale(1); }
  60% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.35); visibility: hidden; }
}

/* Universe background */

.universe {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
}

.star-field {
  position: absolute;
  inset: -200px;
  background-image:
    radial-gradient(circle, rgba(248,250,252,0.9) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.12;
  animation: star-drift 80s linear infinite;
}

.layer-2 {
  opacity: 0.1;
  background-size: 3px 3px;
  animation-duration: 120s;
}

.layer-3 {
  opacity: 0.08;
  background-size: 6px 6px;
  animation-duration: 160s;
}

@keyframes star-drift {
  to { transform: translate3d(-200px, 200px, 0); }
}

/* Sticky social bar */

.social-bar {
  position: fixed;
  inset: 50% auto auto 0.8rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 20;
}

.social-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #020617;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  position: relative;
}

.social-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
}

.social-dot.whatsapp::after {
  background: radial-gradient(circle at 30% 0%, #bbf7d0, #22c55e);
}

.social-dot.facebook::after {
  background: radial-gradient(circle at 30% 0%, #bfdbfe, #2563eb);
}

.social-dot.google::after {
  background: radial-gradient(circle at 30% 0%, #fee2e2, #f97316);
}

.social-dot.email::after {
  background: radial-gradient(circle at 30% 0%, #e0f2fe, #38bdf8);
}

/* Hero & navbar */

.hero {
  position: relative;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding-bottom: 3.4rem;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.9), rgba(15,23,42,0.92));
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 15;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.96), rgba(15,23,42,0.75));
  border-bottom: 1px solid rgba(148,163,184,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img-wrap {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(248,250,252,0.9);
  box-shadow: 0 0 0 1px rgba(15,23,42,0.9), 0 16px 30px rgba(0,0,0,0.9);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f9fafb;
}

.logo-sub {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #22c55e, #38bdf8, #a855f7, #ec4899);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 1.7rem;
}

/* Hero */

.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 2.7rem auto 0;
  padding: 0 0 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.6rem;
  align-items: center;
  z-index: 1;
}

.hero-tag {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #a5b4fc;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 3.5vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero-title .accent {
  display: block;
  margin-top: 0.35rem;
  color: #fbbf24;
}

.hero-text {
  font-size: 0.98rem;
  color: #d1d5db;
  max-width: 520px;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.94rem;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  box-shadow: 0 18px 32px rgba(22,163,74,0.6);
}

.btn.outline {
  background: transparent;
  border-color: rgba(148,163,184,0.7);
  color: #e5e7eb;
}

.btn.gradient {
  background: linear-gradient(135deg, #22c55e, #f97316, #a855f7);
  color: #fefefe;
  border: none;
}

.btn.full-width {
  width: 100%;
}

/* Hero stats */

.hero-stats {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
}

.hero-stat {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.2), rgba(15,23,42,0.96));
  border: 1px solid rgba(148,163,184,0.3);
}

.hero-stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.hero-stat-value {
  font-size: 0.95rem;
  margin-top: 0.18rem;
}

/* Hero gallery side */

.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.hero-main-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.9);
  border: 1px solid rgba(148,163,184,0.4);
}

.hero-main-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 4s ease-out;
}

.hero-main-card:hover .hero-main-img {
  transform: scale(1.08);
}

.hero-main-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(to top, rgba(15,23,42,0.92), transparent);
}

.hero-main-overlay h2 {
  font-size: 1.1rem;
}

.hero-main-overlay p {
  font-size: 0.85rem;
  color: #d1fae5;
}

.hero-side-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-mini-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 16px 35px rgba(15,23,42,0.85);
}

.hero-mini-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  filter: saturate(1.2);
}

.hero-mini-card span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
}

/* Feature strip */

.feature-strip {
  border-top: 1px solid rgba(31,41,55,0.8);
  border-bottom: 1px solid rgba(31,41,55,0.8);
  background: radial-gradient(circle at center, rgba(15,23,42,0.85), rgba(15,23,42,0.96));
}

.feature-marquee {
  padding: 0.7rem 0;
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.8rem;
  color: #9ca3af;
  animation: marquee 28s linear infinite;
}

.feature-marquee span {
  padding-inline: 2rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Glass effect */

.glass {
  background: radial-gradient(circle at top left, rgba(248,250,252,0.04), rgba(15,23,42,0.9));
  backdrop-filter: blur(16px);
}

/* Services */

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

.service-card {
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid rgba(55,65,81,0.9);
  box-shadow: 0 18px 42px rgba(0,0,0,0.85);
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
}

/* Signature */

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

.signature-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(156,163,175,0.5);
  box-shadow: 0 22px 55px rgba(0,0,0,0.9);
}

.signature-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(1.2);
}

.signature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.95), transparent 50%);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Reel / moving gallery */

.reel-section {
  position: relative;
}

.reel-wrapper {
  position: relative;
  overflow: hidden;
  padding-block: 0.8rem 0;
}

.reel-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: reel-scroll 40s linear infinite;
}

.reel-card {
  width: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.5);
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  box-shadow: 0 18px 46px rgba(0,0,0,0.9);
}

.reel-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.reel-card figcaption {
  padding: 0.7rem 0.8rem;
  font-size: 0.82rem;
  color: #e5e7eb;
}

@keyframes reel-scroll {
  to { transform: translateX(-50%); }
}

/* Projects */

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

.project-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(75,85,99,0.9);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* Multiverse card animation */

.multiverse-card {
  position: relative;
}

.multiverse-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #f97316, #facc15, #22c55e, #38bdf8, #a855f7, #ec4899, #f97316);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  z-index: -1;
}

.multiverse-card:hover::before {
  opacity: 0.7;
}

/* Booking & contact */

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
}

.booking-form {
  border-radius: 20px;
  padding: 1.8rem 1.7rem 1.5rem;
  border: 1px solid rgba(75,85,99,0.9);
  box-shadow: 0 18px 45px rgba(0,0,0,0.9);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  color: #e5e7eb;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #4b5563;
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  background: rgba(15,23,42,0.95);
  color: #e5e7eb;
  outline: none;
  font-family: inherit;
}

textarea {
  border-radius: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.35);
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.form-note a {
  color: #38bdf8;
  text-decoration: none;
}

.booking-info h3 {
  margin-bottom: 0.8rem;
}

.booking-info ul {
  list-style: disc;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.booking-info ul li + li {
  margin-top: 0.3rem;
}

.contact-box {
  margin-top: 1.4rem;
  padding: 1.1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(34,197,94,0.7);
  background: radial-gradient(circle at top left, rgba(34,197,94,0.35), rgba(15,23,42,0.95));
}

.contact-box a {
  color: #bbf7d0;
  text-decoration: none;
}

.multi-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.multi-links a {
  font-size: 0.8rem;
  text-decoration: none;
  color: #bfdbfe;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
}

/* Contact section */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.2rem;
}

.contact-list {
  list-style: none;
  margin: 1.1rem 0 1.4rem;
  font-size: 0.92rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.contact-list a {
  color: #38bdf8;
  text-decoration: none;
}

.map-box iframe {
  border: none;
  width: 100%;
  height: 260px;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.95);
}

/* Footer */

.footer {
  padding: 1.7rem 0 2.3rem;
  background: #020617;
  color: #9ca3af;
  border-top: 1px solid rgba(31,41,55,0.9);
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.82rem;
}

/* Floating WhatsApp */

.floating-whatsapp {
  position: fixed;
  right: 1.3rem;
  bottom: 1.4rem;
  z-index: 30;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  background: conic-gradient(from 180deg, #22c55e, #16a34a, #f97316, #facc15, #22c55e, #a855f7, #38bdf8);
  color: #020617;
  box-shadow: 0 20px 40px rgba(0,0,0,0.95);
  overflow: hidden;
}

.floating-whatsapp .dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(248,250,252,0.9);
  animation: float-dots 1.8s infinite ease-in-out;
}

.floating-whatsapp .dot-1 { left: 10px; bottom: 6px; }
.floating-whatsapp .dot-2 { left: 22px; top: 6px; animation-delay: .3s; }
.floating-whatsapp .dot-3 { right: 16px; bottom: 5px; animation-delay: .6s; }

@keyframes float-dots {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* Anim helpers */

.slide-up {
  opacity: 0;
  transform: translateY(25px);
  animation: slide-up 1.2s ease-out forwards;
  animation-delay: 1.6s; /* after portal */
}

@keyframes slide-up {
  to { opacity: 1; transform: translateY(0); }
}

.tilt-card {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.tilt-card:hover {
  transform: translateY(-4px) rotate3d(0.4, -0.4, 0, 4deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.9);
  border-color: rgba(56,189,248,0.7);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 3.2rem;
  }

  .hero-gallery {
    order: -1;
  }

  .navbar {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 54px;
    right: 1rem;
    flex-direction: column;
    background: rgba(15,23,42,0.98);
    padding: 0.9rem 1.2rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.65);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .booking-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-bar {
    display: none;
  }

  .feature-marquee {
    animation-duration: 22s;
  }

  .portal-core {
    width: min(280px, 80vw);
    height: min(280px, 80vw);
  }

  .reel-track {
    animation-duration: 32s;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.6rem 0;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-main-img {
    height: 250px;
  }

  .reel-card {
    width: 220px;
  }

  .nav-inner {
    padding-inline: 0.3rem;
  }
}
