/* ══════════════════════════════════════
   HOME PAGE STYLES
══════════════════════════════════════ */

/* ── Hero ──────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease; z-index: 1;
}
.hero__slide.active { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    125deg,
    rgba(6,14,31,0.94) 0%,
    rgba(26,47,94,0.72) 55%,
    rgba(6,14,31,0.88) 100%
  );
}
.hero__content {
  position: relative; z-index: 3;
  padding-top: 80px; max-width: 780px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(184,146,42,0.1);
  border: 1px solid rgba(184,146,42,0.28);
  color: var(--gold-400);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 8px 18px; margin-bottom: 28px;
  clip-path: var(--clip-badge);
  animation: badgeFadeIn 0.8s 0.3s ease both;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-400);
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.6)} }
@keyframes badgeFadeIn { from{opacity:0;transform:translateX(-16px)} to{opacity:1;transform:translateX(0)} }

.hero__title {
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900; color: var(--white);
  line-height: 1.0; margin-bottom: 6px;
  animation: titleSlide 0.9s 0.15s ease both;
}
.hero__title-gold {
  color: var(--gold-400);
  display: block;
  position: relative;
}
.hero__title-gold::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  animation: lineGrow 0.8s 1s ease forwards;
}
@keyframes lineGrow { to { width: 50%; } }
@keyframes titleSlide { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-200); line-height: 1.7;
  max-width: 540px; margin: 24px 0 40px;
  opacity: 0.85;
  animation: subtitleFade 0.9s 0.3s ease both;
}
@keyframes subtitleFade { from{opacity:0} to{opacity:0.85} }

.hero__btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
  animation: btnsSlide 0.9s 0.45s ease both;
}
@keyframes btnsSlide { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

.hero__stats {
  display: flex; gap: 44px; flex-wrap: wrap;
  animation: statsFade 0.9s 0.6s ease both;
}
@keyframes statsFade { from{opacity:0} to{opacity:1} }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem; color: var(--gold-400);
  letter-spacing: 2px; line-height: 1;
  display: block;
}
.hero__stat-label {
  font-size: 0.72rem; color: var(--text-400);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* Slide controls */
.hero__indicators {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 4;
}
.hero__indicator {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; cursor: pointer;
  transition: all 0.3s ease; padding: 0;
}
.hero__indicator.active {
  width: 28px; border-radius: 4px; background: var(--gold-500);
}
.hero__scroll {
  position: absolute; bottom: 36px; right: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-400); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; z-index: 4;
  animation: scrollBob 2s ease infinite;
}
@keyframes scrollBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ── About Snippet ─────────────────────── */
.about-snippet { background: var(--navy-800); }
.about-snippet__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-snippet__imgs {
  position: relative; height: 480px;
}
.about-snippet__img-main {
  width: 78%; height: 360px; object-fit: cover;
  position: absolute; top: 0; left: 0;
  border: 2px solid rgba(184,146,42,0.2);
}
.about-snippet__img-sec {
  width: 52%; height: 210px; object-fit: cover;
  position: absolute; bottom: 0; right: 0;
  border: 3px solid var(--gold-500);
}
.about-snippet__badge {
  position: absolute; bottom: 56px; left: -16px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border: 1px solid var(--gold-500);
  padding: 20px 22px; text-align: center;
  min-width: 130px; z-index: 2;
}
.about-snippet__badge-num {
  font-family: var(--font-display);
  font-size: 2.6rem; color: var(--gold-400);
  letter-spacing: 2px; display: block; line-height: 1;
}
.about-snippet__badge-text {
  font-size: 0.68rem; color: var(--text-400);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 5px; max-width: 90px;
}
.about-snippet__values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin: 24px 0 32px;
}
.about-snippet__value {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.87rem; color: var(--text-200); font-weight: 500;
}
.about-snippet__value-dot {
  width: 6px; height: 6px; background: var(--gold-500);
  flex-shrink: 0; clip-path: var(--clip-badge);
}
.about-snippet__text { color: var(--text-400); font-size: 0.95rem; line-height: 1.8; margin-bottom: 14px; }

/* ── Services Preview ──────────────────── */
.services-preview { background: linear-gradient(180deg, rgba(26,47,94,0.12) 0%, var(--navy-800) 100%); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card { padding: 34px 28px; }
.service-card__icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(184,146,42,0.08);
  border: 1px solid rgba(184,146,42,0.18);
  margin-bottom: 20px; transition: var(--transition);
  clip-path: var(--clip-badge);
}
.service-card:hover .service-card__icon { background: rgba(184,146,42,0.18); }
.service-card__icon svg { width: 26px; height: 26px; color: var(--gold-400); }
.service-card__cat {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 10px;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px; line-height: 1.3;
}
.service-card__desc { color: var(--text-400); font-size: 0.85rem; line-height: 1.65; margin-bottom: 20px; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-400); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: gap var(--transition);
}
.service-card__link:hover { gap: 10px; }

/* ── Projects Preview ──────────────────── */
.projects-preview { background: var(--navy-800); }
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.project-card { overflow: hidden; clip-path: var(--clip-card); }
.project-card__img {
  height: 220px; overflow: hidden; position: relative;
}
.project-card.featured .project-card__img { height: 280px; }
.project-card.featured { grid-column: span 2; }
.project-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__img img { transform: scale(1.06); }
.project-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,31,0.92) 0%, transparent 55%);
}
.project-card__cat {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; clip-path: var(--clip-badge);
}
.project-card__body { padding: 22px 24px; }
.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px; line-height: 1.3;
}
.project-card__desc {
  color: var(--text-400); font-size: 0.83rem;
  line-height: 1.6; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.project-card__meta { display: flex; gap: 18px; flex-wrap: wrap; }
.project-card__meta-item {
  display: flex; align-items: center; gap: 5px;
  color: var(--gold-500); font-size: 0.76rem; font-weight: 500;
}

/* ── Testimonials ──────────────────────── */
.testimonials { background: linear-gradient(180deg, rgba(26,47,94,0.12) 0%, var(--navy-800) 100%); }
.testimonials__wrap {
  max-width: 760px; margin: 0 auto;
  background: rgba(26,47,94,0.3);
  border: 1px solid rgba(184,146,42,0.14);
  padding: 56px 64px; text-align: center;
  position: relative;
}
.testimonials__quote-icon {
  position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 46px;
  background: var(--gold-500); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonials__stars { display: flex; justify-content: center; gap: 4px; color: var(--gold-400); font-size: 1rem; margin-bottom: 22px; }
.testimonials__msg {
  font-family: var(--font-heading);
  font-size: 1.15rem; line-height: 1.75;
  color: var(--text-200); font-style: italic; margin-bottom: 30px;
}
.testimonials__author { display: flex; align-items: center; gap: 14px; justify-content: center; }
.testimonials__avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; flex-shrink: 0;
}
.testimonials__author-name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.testimonials__author-role { font-size: 0.8rem; color: var(--gold-500); }
.testimonials__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 32px;
}
.testimonials__btn {
  width: 38px; height: 38px;
  background: rgba(184,146,42,0.1);
  border: 1px solid rgba(184,146,42,0.25);
  color: var(--gold-400); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 0.8rem;
}
.testimonials__btn:hover { background: var(--gold-500); color: var(--navy-900); }
.testimonials__dots { display: flex; gap: 7px; }
.testimonials__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none; cursor: pointer; padding: 0;
  transition: all 0.3s;
}
.testimonials__dot.active { background: var(--gold-500); width: 22px; border-radius: 4px; }

/* ── CTA ───────────────────────────────── */
.cta-section {
  position: relative; padding: 110px 0; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 50%, var(--navy-700) 100%);
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(184,146,42,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(184,146,42,0.06) 0%, transparent 60%);
}
.cta-section__content { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.cta-section__title { color: var(--white); margin-bottom: 18px; }
.cta-section__desc { color: var(--text-400); font-size: 1.02rem; line-height: 1.75; margin-bottom: 40px; }
.cta-section__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .about-snippet__grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.featured { grid-column: span 1; }
}
@media (max-width: 768px) {
  .hero__stats { gap: 24px; }
  .hero__scroll { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-snippet__imgs { height: 320px; }
  .about-snippet__badge { display: none; }
  .about-snippet__values { grid-template-columns: 1fr; }
  .testimonials__wrap { padding: 44px 24px; }
}
