/* ============================================================
   HOME PAGE STYLES  (index.html only)
   base.css is loaded first — do not re-declare variables,
   reset, buttons, nav, or footer here.
   ============================================================ */

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background-color: var(--bg);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 64px 0;
}

.hero-content {
  text-align: center;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-title span { color: var(--accent); }

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-social-proof img {
  height: 52px;
  width: auto;
  opacity: 0.85;
  transition: var(--transition);
  display: inline-block;
}

.hero-social-proof img:hover { opacity: 1; }

/* Floating stickers */
.devops-sticker {
  position: absolute;
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
  opacity: 0.85;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}

.devops-sticker img { width: 100%; height: 100%; object-fit: contain; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.sticker-1  { top: 14%; left: 32%;   animation-delay: 0s;   }
.sticker-2  { top: 12%; right: 30%;  animation-delay: 0.5s; }
.sticker-3  { top: 26%; left: 18%;   animation-delay: 1s;   }
.sticker-4  { top: 20%; left: 6%;    animation-delay: 1.5s; }
.sticker-5  { top: 48%; left: 20%;   animation-delay: 2s;   }
.sticker-6  { top: 45%; left: 5%;    animation-delay: 2.5s; }
.sticker-7  { top: 66%; left: 12%;   animation-delay: 3s;   }
.sticker-8  { top: 87%; left: 7%;    animation-delay: 3.5s; }
.sticker-9  { top: 80%; left: 24%;   animation-delay: 0.2s; }
.sticker-10 { top: 18%; right: 17%;  animation-delay: 0.7s; }
.sticker-11 { top: 33%; right: 6%;   animation-delay: 1.2s; }
.sticker-12 { top: 46%; right: 18%;  animation-delay: 1.7s; }
.sticker-13 { top: 59%; right: 8%;   animation-delay: 2.2s; }
.sticker-14 { top: 72%; right: 20%;  animation-delay: 2.7s; }
.sticker-15 { top: 80%; right: 5%;   animation-delay: 3.2s; }
.sticker-16 { top: 88%; right: 14%;  animation-delay: 3.7s; }
.sticker-17 { top: 89%; left: 37%;   animation-delay: 0.4s; }
.sticker-18 { top: 87%; right: 30%;  animation-delay: 0.9s; }

/* ── Services ── */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Why Work With Me ── */
#why-me { background: var(--light); }

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

.why-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
}

.why-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Projects ── */
#projects { background: var(--bg); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.project-image {
  height: 220px;
  overflow: hidden;
  background: var(--light);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img { transform: scale(1.04); }

.project-content { padding: 28px; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.project-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255,89,24,0.08);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.project-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.projects-footer { text-align: center; }

/* ── Certifications ── */
#certifications { background: var(--light); }

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

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.cert-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.cert-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.cert-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cert-card a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.cert-card a:hover { opacity: 0.75; }

/* ── CTA Banner ── */
#cta-banner { background: var(--bg); }

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  border-top: 3px solid var(--accent);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }

  .devops-sticker { width: 42px; height: 42px; padding: 7px; }
  .sticker-1  { top: 12%; left: 30%;  }
  .sticker-2  { top: 12%; right: 30%; }
  .sticker-3  { top: 22%; left: 3%;   }
  .sticker-4  { top: 35%; left: 8%;   }
  .sticker-5  { top: 48%; left: 5%;   }
  .sticker-6  { top: 61%; left: 9%;   }
  .sticker-7  { top: 74%; left: 4%;   }
  .sticker-8  { top: 87%; left: 7%;   }
  .sticker-9  { top: 92%; left: 22%;  }
  .sticker-10 { top: 20%; right: 4%;  }
  .sticker-11 { top: 33%; right: 9%;  }
  .sticker-12 { top: 46%; right: 5%;  }
  .sticker-13 { top: 59%; right: 8%;  }
  .sticker-14 { top: 72%; right: 3%;  }
  .sticker-15 { top: 85%; right: 7%;  }
  .sticker-16 { top: 88%; right: 22%; }
  .sticker-17 { top: 92%; left: 40%;  }
  .sticker-18 { top: 92%; right: 40%; }
}

@media (max-width: 576px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .certs-grid    { grid-template-columns: repeat(2, 1fr); }
  .hero-social-proof img { height: 40px; }
  .devops-sticker { width: 36px; height: 36px; padding: 6px; opacity: 0.7; }
}
