/* --- Services Page: 2026 Asymmetrical Bento Grid --- */

/* Page Header */
.bento-header {
  padding: 150px 5% 50px 5%;
  text-align: center;
}

.fluid-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 2.5rem + 4vw, 5.5rem);
  font-weight: 400;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.subtitle {
  font-family: 'Montserrat', sans-serif;
  color: #888;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* =======================================
   BENTO GRID ARCHITECTURE (21st.dev Style)
   ======================================= */
.bento-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bento-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.span-2 { grid-column: span 2; }
.span-1 { grid-column: span 1; }

/* Base Card Styles */
.bento-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Video Cards --- */
.bento-video-card {
  aspect-ratio: 16 / 9; /* Perfect uncropped cinematic framing for landscape */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vertical-video-card {
  aspect-ratio: 9 / 16; /* Portrait framing for Reels/Shorts format */
}

.bento-vid {
  width: 100%;
  height: 100%;
  /* Removed object-fit: cover and transform to fix native controls hitbox bugs */
}

/* Removed the video scale on hover because scaling a native video element 
   breaks the hitboxes for the seek bar and controls in modern browsers. 
   The spotlight glow overlay will still provide a nice hover effect. */

/* Spotlight Overlay (Cursor tracking added via JS) */
.spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(255,255,255,0.06), 
    transparent 40%
  );
  z-index: 2;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.bento-video-card:hover .spotlight-overlay {
  opacity: 1;
}

/* --- Text Cards --- */
.bento-text-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background subtle gradient for depth */
  background: linear-gradient(135deg, rgba(20,20,20,1) 0%, rgba(10,10,10,1) 100%);
}

.srv-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
  display: block;
}

.srv-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 2rem 0;
}

.srv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.srv-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  padding-left: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.srv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.srv-list li:hover {
  color: #fff;
  transform: translateX(5px); /* Micro-interaction */
}
.srv-list li:hover::before {
  background: #fff;
  transform: scale(1.5);
}

/* Footer */
.bento-footer {
  text-align: center;
  padding: 100px 0 50px 0;
  font-family: 'Montserrat', sans-serif;
  color: #555;
  font-size: 0.9rem;
}

/* =======================================
   MOBILE RESPONSIVENESS
   ======================================= */
@media (max-width: 900px) {
  .bento-row {
    grid-template-columns: 1fr; /* Stack everything */
    gap: 1rem;
  }
  
  .span-2, .span-1 {
    grid-column: span 1;
  }
  
  /* On mobile, flip order so Video is always above Text */
  .bento-row {
    display: flex;
    flex-direction: column;
  }
  
  .bento-video-card {
    order: 1;
    border-radius: 20px;
  }
  
  .bento-text-card {
    order: 2;
    padding: 2rem;
    border-radius: 20px;
  }
  
  .srv-title {
    font-size: 2rem;
  }
}

/* =======================================
   18-CARD PREMIUM GRID (Replacing Bento)
   ======================================= */
.premium-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 0 5% 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card-18 {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card-18::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card-18:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.service-card-18:hover::before {
  opacity: 1;
}

.sc18-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.sc18-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.sc18-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sc18-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 0.8rem;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
