/* ══════════════════════════════════════
   CONTACT.CSS — Aditya Horizon
   ══════════════════════════════════════ */

/* ── Contact Hero ── */
.contact-hero {
  position: relative;
  z-index: 1;
  padding: 140px 0 60px;
  text-align: center;
  overflow: hidden;
}
.contact-hero-inner h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 12px 0;
}
.contact-hero-inner p {
  font-size: 18px;
  color: var(--text2);
  margin-top: 8px;
}

/* ── Profile Section ── */
.contact-profile {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}

.profile-card {
  display: flex;
  gap: 60px;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 32px;
  padding: 52px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 32px 32px 0 0;
}

/* Profile Photo */
.profile-photo-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.profile-ring {
  position: absolute;
  width: 164px; height: 164px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ffd25a, #ff785a, #e84855, #ffd25a);
  animation: ring-spin 4s linear infinite;
  top: -2px; left: -2px;
  opacity: 0.7;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.profile-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg2);
  position: relative;
  z-index: 1;
  background: var(--bg3);
  transition: transform 0.35s;
}
.profile-photo:hover { transform: scale(1.04); }

.profile-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: badge-pulse 1.8s ease-in-out infinite;
}

/* Profile Info */
.profile-info { flex: 1; min-width: 0; }

.profile-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,210,90,0.08);
  border: 1px solid rgba(255,210,90,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.profile-name {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.profile-role {
  font-size: 15px;
  color: var(--text2);
  font-weight: 500;
  margin-bottom: 18px;
}

.profile-bio {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 500px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.profile-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg3);
  border: 1px solid var(--border2);
  padding: 6px 14px;
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s;
}
.profile-tag:hover {
  border-color: rgba(255,210,90,0.3);
  background: rgba(255,240,90,0.04);
}

/* Contact Cards */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.2s;
}
.contact-card:hover {
  border-color: var(--border2);
  background: rgba(255,240,90,0.03);
  transform: translateX(4px);
}
.contact-card:hover::before { opacity: 0.03; }

.contact-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.email-card .contact-card-icon {
  background: rgba(255,210,90,0.1);
  color: var(--accent);
  border: 1px solid rgba(255,210,90,0.15);
}
.ai-card .contact-card-icon {
  background: rgba(255,120,90,0.1);
  border: 1px solid rgba(255,120,90,0.15);
}

.contact-card-body {
  flex: 1;
  position: relative;
  z-index: 1;
}
.contact-card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.contact-card-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
}

.contact-card-arrow {
  font-size: 18px;
  color: var(--text3);
  transition: transform 0.2s, color 0.2s;
  position: relative;
  z-index: 1;
}
.contact-card:hover .contact-card-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ── Fun Facts ── */
.fun-facts {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(255,240,90,0.02), transparent);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fact-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.fact-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}

.fact-emoji {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
  animation: fact-float 3s ease-in-out infinite;
}
.fact-card:nth-child(2) .fact-emoji { animation-delay: -0.75s; }
.fact-card:nth-child(3) .fact-emoji { animation-delay: -1.5s; }
.fact-card:nth-child(4) .fact-emoji { animation-delay: -2.25s; }
@keyframes fact-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.fact-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.fact-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── Light Mode ── */
[data-theme="light"] .profile-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 16px 60px rgba(0,0,0,0.08);
}
[data-theme="light"] .contact-card { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .contact-card:hover { background: rgba(0,0,0,0.02); }
[data-theme="light"] .fact-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .profile-tag {
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .email-card .contact-card-icon { background: rgba(255,180,0,0.1); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .profile-card { flex-direction: column; padding: 36px 28px; gap: 32px; text-align: center; }
  .profile-bio  { max-width: 100%; }
  .profile-tags { justify-content: center; }
  .contact-methods { max-width: 400px; margin: 0 auto; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contact-hero { padding: 120px 0 40px; }
  .facts-grid { grid-template-columns: 1fr; }
}

/* ── Nav extras ── */
.nav-logo-img {
  width: 24px; height: 24px;
  object-fit: contain;
  border-radius: 4px;
}
.nav-arrow { font-size: 16px; }
.theme-btn {
  background: none;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.theme-btn:hover { border-color: var(--border3, rgba(255,240,90,0.3)); background: rgba(255,240,90,0.05); }
