/* HERO SECTION */
.hero {
  height: 80vh;
  background: linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.6)
  ),
  url('../elonmusk.jpg') center/cover;
  color: white;
  display: flex;
  align-items: center;
  padding-left: 8%;
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* 3D SLIDER */
.slider-3d {
  perspective: 1000px;
}

.slider-container {
  width: 100%;
  height: 350px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 18s infinite linear;
}

.slider-container img {
  position: absolute;
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.slider-container img:nth-child(1) {
  transform: rotateY(0deg) translateZ(380px);
}
.slider-container img:nth-child(2) {
  transform: rotateY(120deg) translateZ(380px);
}
slider-container img:nth-child(3) {
  transform: rotateY(240deg) translateZ(380px);
}

@keyframes rotate {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* THUMBNAIL SLIDER */
.thumb-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 15px 0;
}

.thumb-slider img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.3s;
}

.thumb-slider img:hover {
  transform: scale(1.1);
}

/* GRID SECTION */
.grid-section h2 {
  margin-bottom: 25px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  gap: 25px;
}

.card {
  background: var(--card-bg);
  padding: 15px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card img {
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

.card h3 {
  font-size: 20px;
  margin-top: 15px;
}

footer {
  background: #111;
  padding: 40px 8%;
  color: white;
  margin-top: 50px;
}

footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap: 40px;
}

footer ul li {
  list-style: none;
  margin-bottom: 8px;
  cursor: pointer;
  color: #ccc;
}


body {
  background: #0d0d0d;
  font-family: "Poppins", sans-serif;
  margin: 0;
}

/* Glassmorphism card + Neon Border + 3D Hover Tilt */
.glass-card {
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border: 2px solid rgba(0, 255, 200, 0.5);
  position: relative;

  box-shadow: 0 8px 25px rgba(0, 255, 200, 0.2);

  text-align: center;
  color: #fff;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;

  animation: neonGlow 3s infinite alternate ease-in-out;
}

/* Hover 3D Tilt Effect */
.glass-card:hover {
  transform: rotateX(8deg) rotateY(-8deg) scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.7);
}

/* Neon border glow animation */
@keyframes neonGlow {
  0% {
    box-shadow:
      0 0 10px rgba(0, 255, 200, 0.4),
      0 0 20px rgba(0, 200, 255, 0.3),
      0 0 40px rgba(0, 255, 200, 0.3);
  }
  100% {
    box-shadow:
      0 0 20px rgba(0, 255, 200, 0.8),
      0 0 40px rgba(0, 200, 255, 0.6),
      0 0 80px rgba(0, 255, 200, 0.5);
  }
}

.title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Animated location icon */
.location-icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.pulse {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 255, 150, 0.3);
  animation: pulseAnim 1.5s infinite ease-out;
}

.dot {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 21px;
  left: 21px;
  background: #00ff9d;
  border-radius: 50%;
  box-shadow: 0 0 12px #00ff9d;
}

@keyframes pulseAnim {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Google Map Box */
.map-container {
  width: 100%;
  height: 250px;
  margin-bottom: 25px;
  border-radius: 15px;
  overflow: hidden;

  box-shadow: 0 6px 20px rgba(0, 255, 200, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 3D Slider */
.slider {
  perspective: 1000px;
  margin-bottom: 25px;
}


/* ==========================================
   VIDEO SECTION
========================================== */

.billionaire-video-section {
  position: relative;
  height: 80vh;
  border-radius: 25px;
  overflow: hidden;
  margin: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Video */
.bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

/* Dark overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
}

/* Center Content */
.video-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 20px;
}

/* Title */
.video-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(0,0,0,0.6);
}

/* Play Button */
.play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 20px auto;
  transition: 0.3s;
  box-shadow: 0 0 25px rgba(0,255,255,0.5);
}

.play-btn:hover {
  scale: 1.1;
  box-shadow: 0 0 35px rgba(0,255,255,0.8);
}

.play-btn .material-icons {
  font-size: 48px;
  color: #0ff;
}

/* Glass Info Box */
.video-info.glass {
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 25px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  font-size: 16px;
  line-height: 1.6;
}


/* ==========================================
   POPUP VIDEO PLAYER
========================================== */

.video-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-popup-content {
  position: relative;
  width: 85%;
  max-width: 900px;
  animation: scaleIn 0.35s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.video-popup video {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 40px rgba(0,255,255,0.4);
}

/* Close Button */
.close-popup {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 38px;
  cursor: pointer;
  color: #0ff;
  font-weight: bold;
  transition: 0.3s;
}

.close-popup:hover {
  opacity: 0.7;
}
