/************************************************************
 *  ABOUT.CSS - About page specific styles
 *  Cinematic, mysterious design for Kaayko services
 ************************************************************/

/* About page wrapper */
.about-page-content {
  background: #0a0a0a;
  color: #f5f5f5;
}

/* ============================================
   A. HERO SECTION – Signal in the Dark
============================================ */
.hero-dark {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.05) 0%, rgba(10,10,10,1) 60%);
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-pretitle {
  font-family: 'Josefin_Light', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.5);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title {
  font-family: 'Josefin_Bold', sans-serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 0 40px rgba(255,215,0,0.3);
}

.hero-tagline {
  font-family: 'Josefin_Light', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(245,245,245,0.7);
  margin-bottom: 48px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

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

.cta-primary {
  padding: 14px 36px;
  background: #ffd700;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 6px;
  font-family: 'Josefin_Bold', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
}

.cta-primary:hover {
  background: #ffed4e;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}

.cta-secondary {
  padding: 14px 36px;
  background: transparent;
  color: rgba(245,245,245,0.8);
  text-decoration: none;
  border-radius: 6px;
  font-family: 'Josefin_Medium', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(245,245,245,0.2);
  transition: all 0.2s ease;
}

.cta-secondary:hover {
  border-color: rgba(245,245,245,0.5);
  background: rgba(245,245,245,0.05);
}

/* Scroll hint */
.scroll-hint {
  font-family: 'Josefin_Light', sans-serif;
  font-size: 1.5rem;
  color: rgba(255,215,0,0.4);
  margin-top: 48px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ============================================
   B. CONSTELLATION SECTION
============================================ */
.constellation-section {
  padding: 100px 20px 80px;
  background: radial-gradient(ellipse at center top, rgba(20,20,20,1) 0%, rgba(10,10,10,1) 100%);
  text-align: center;
}

.service-tiles {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.service-tile {
  flex: 1;
  min-width: 220px;
  max-width: 220px;
  height: 280px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,215,0,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 8px 32px rgba(255,215,0,0.15);
}

.service-tile:hover::before {
  opacity: 1;
}

.tile-icon {
  width: 48px;
  height: 48px;
  stroke: #ffd700;
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
  flex-shrink: 0;
  margin-top: 8px;
}

.service-tile:hover .tile-icon {
  stroke: #ffed4e;
}

.service-tile > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 8px;
}

.tile-label {
  font-family: 'Josefin_Bold', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f5f5f5;
  text-align: center;
  line-height: 1.3;
}

.tile-hint {
  font-family: 'Josefin_Light', sans-serif;
  font-size: 0.875rem;
  color: rgba(245,245,245,0.5);
  text-align: center;
  line-height: 1.6;
  max-width: 180px;
}

/* ============================================
   C. SIGNALS STRIP
============================================ */
.signals-strip {
  padding: 60px 20px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,215,0,0.1);
  border-bottom: 1px solid rgba(255,215,0,0.1);
}

.signals-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.signal-item {
  font-family: 'Josefin_Medium', sans-serif;
  font-size: 1rem;
  color: #ffd700;
  letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .hero-dark {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 20px;
  }
  
  .constellation-section {
    padding: 80px 20px;
  }
  
  .scroll-hint {
    font-size: 1.25rem;
    margin-top: 40px;
  }
  
  .constellation-headline {
    margin-bottom: 60px;
  }
  
  .service-tiles {
    flex-direction: column;
    align-items: center;
  }
  
  .service-tile {
    max-width: 100%;
    width: 100%;
  }
  
  .what-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .signals-content {
    gap: 30px;
  }
}

/* ============================================
   E. MODAL STYLES – Progressive Disclosure
============================================ */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  position: relative;
  background: #0a0a0a;
  border: 2px solid #ffd700;
  border-radius: 12px;
  max-width: 560px;
  width: 90%;
  padding: 3rem 2.5rem 2.5rem;
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.service-modal-overlay.active .service-modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffd700;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-icon {
  width: 64px;
  height: 64px;
  stroke: #ffd700;
  stroke-width: 2;
  fill: none;
}

.modal-title {
  font-family: 'Josefin_Bold', serif;
  font-size: 2rem;
  color: #f5f5f5;
  text-align: center;
  margin: 0 0 1.5rem 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal-description {
  font-family: 'Josefin_Light', serif;
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.8;
  text-align: center;
  margin: 0 0 2rem 0;
}

.modal-cta {
  display: block;
  width: 100%;
  background: #ffd700;
  color: #0a0a0a;
  border: none;
  padding: 1rem 2rem;
  font-family: 'Josefin_Medium', serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.modal-cta:hover {
  background: #ffed4e;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Modal Responsive */
@media (max-width: 768px) {
  .service-modal {
    padding: 2.5rem 1.5rem 2rem;
    max-width: 90%;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-description {
    font-size: 1rem;
  }

  .modal-icon {
    width: 48px;
    height: 48px;
  }

  .modal-close {
    font-size: 1.5rem;
    top: 0.75rem;
    right: 0.75rem;
  }
}
