/* ================================================
   TheMellCode — IT Consulting Custom Styles
   ================================================ */

/* ── Hero ────────────────────────────────────── */
.hero-logo {
  max-width: 280px;
}

.hero-tagline {
  font-family: 'Inter', 'Source Sans Pro', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Skip Link (a11y) ────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1.25rem;
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
}
.skip-link:focus {
  top: 0;
}

/* ── Small Label (eyebrow text) ──────────────── */
.small-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Section eyebrow (replaces h3.text-secondary) */
/* #7a6000 on #fff = 5.5:1, on #f8f9fa = 5.3:1 — passes AA */
.section-eyebrow {
  color: #7a6000;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
}
/* On dark backgrounds (bg-primary), use the brand yellow */
.bg-primary .section-eyebrow {
  color: #ecb807;
}

/* ── About Section ───────────────────────────── */
.about-avatar-wrap {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #1D809F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(29, 128, 159, 0.25);
  padding: 1.5rem;
}

.about-avatar {
  max-width: 100%;
  filter: brightness(0) invert(1);
}

/* ── Expertise Badges ────────────────────────── */
.badge-expertise {
  display: inline-block;
  background: #e8f5f8;
  color: #1D809F;
  border: 1px solid #b0dcea;
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Stats Bar ───────────────────────────────── */
.stats-bar {
  background: #1a1a2e;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ecb807;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}

/* ── Service Cards ───────────────────────────── */
.service-card {
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}


.service-tag {
  display: inline-block;
  background: rgba(236, 184, 7, 0.15);
  color: #ecb807;
  border: 1px solid rgba(236, 184, 7, 0.3);
  border-radius: 12px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0.15rem;
}

.services-cta-box {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

/* ── Why Section ─────────────────────────────── */
.why-item {
  padding: 1rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.why-item:hover {
  background: #f0f7fa;
}

.why-icon {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1D809F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Portfolio — "Your Project" placeholder ──── */
.portfolio-placeholder {
  background: linear-gradient(135deg, #1D809F 0%, #145f7a 100%);
  min-height: 300px;
  width: 100%;
}

.caption-always {
  opacity: 1 !important;
  background: linear-gradient(to bottom, rgba(29,128,159,0.7), rgba(20,95,122,0.9));
}

/* ── Contact Cards ───────────────────────────── */
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.contact-card-icon {
  color: #ecb807;
}

.contact-card-primary {
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid #ecb807;
  padding: 2rem 2.5rem;
  border-radius: 14px;
}

.contact-card-primary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ── Neumorphism (legacy) ────────────────────── */
.neumorphism-box {
  border-radius: 50px;
  background: #F0F0F3;
  box-shadow: 10px 10px 21px #d3d3d6,
              -10px -10px 21px #ffffff;
}

/* ── Button contrast fix ─────────────────────── */
/* #ecb807 yellow with white text = 1.83:1 (FAILS).
   Dark text on yellow = ~9:1 (passes AAA). */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
  color: #1a1a1a !important;
}

/* ── Responsive tweaks ───────────────────────── */
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1.4rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .about-avatar-wrap {
    width: 180px;
    height: 180px;
  }
}
