/* ==============================
   GLOBAL BASE
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', 'Inter', sans-serif;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  color: #eaeaea;
  overflow-x: hidden;
}

/* ==============================
   HERO SECTION
============================== */
.site-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.video-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-background iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.2);
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 80%, rgba(0,0,0,0.5) 100%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 80%, rgba(0,0,0,0.5) 100%);
}

/* ==============================
   FLOATING GLASS TEXT
============================== */
.floating-glass-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glass-text-item {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 10rem);
  color: transparent;
  background: linear-gradient(135deg, 
    rgba(230, 200, 101, 0.12) 0%,
    rgba(255, 0, 85, 0.12) 50%,
    rgba(83, 224, 224, 0.12) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  backdrop-filter: blur(1px);
  text-shadow: 0 0 25px rgba(230, 200, 101, 0.2);
  animation: floatGlass 25s infinite linear;
  white-space: nowrap;
  user-select: none;
  will-change: transform, opacity;
}

.glass-text-item:nth-child(1) {
  top: 15%;
  left: -25%;
  animation-delay: 0s;
  transform: rotate(-12deg);
}

.glass-text-item:nth-child(2) {
  top: 35%;
  right: -35%;
  animation-delay: -7s;
  transform: rotate(8deg);
}

.glass-text-item:nth-child(3) {
  top: 65%;
  left: -30%;
  animation-delay: -14s;
  transform: rotate(-6deg);
}

.glass-text-item:nth-child(4) {
  top: 85%;
  right: -25%;
  animation-delay: -21s;
  transform: rotate(10deg);
}

@keyframes floatGlass {
  0% {
    transform: translateX(0) translateY(0) rotate(var(--rotate, 0deg));
    opacity: 0;
  }
  15% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(120vw) translateY(-30px) rotate(var(--rotate, 0deg));
    opacity: 0;
  }
}

.hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(18px);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  max-width: 750px;
  animation: fadeIn 2.5s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #e6c865;
  text-shadow: 0 0 18px rgba(230, 200, 101, 0.3);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #d4d4d4;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #e6c865, #ff0055);
  color: #000;
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.4);
  transform: scale(1.05);
}

/* ==============================
   SERVICES SECTION
============================== */
.services {
  padding: 8rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  color: #e6c865;
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.section-subtext {
  color: #bcbcbc;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 2rem;
  justify-items: center;
}

.service-card {
  background: rgba(20, 20, 25, 0.6);
  border: 0.08rem solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  padding: 2rem;
  width: 100%;
  max-width: 26rem;
  backdrop-filter: blur(1rem);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-0.6rem);
  box-shadow: 0 0 2rem rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.service-card h3 {
  font-size: 1.4rem;
  color: #f8f8f8;
  margin: 1rem 0 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1.6rem;
}

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #e6c865;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.btn-small {
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 0.6rem;
}

/* ==============================
   ANIMATIONS
============================== */
.fade-section {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 1.2s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
