/* ============================================
   SIHIA AFRICA LTD — HOME PAGE CSS v2
   Blue × Gold × White Premium Design
   ============================================ */

/* ── Hero Section ────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.3) saturate(0.6);
  animation: kenBurns 20s ease-in-out infinite alternate;
}

/* Blue-tinted gradient overlay from left */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(30,58,138,0.90) 0%,
    rgba(30,58,138,0.70) 45%,
    rgba(15,23,42,0.40) 75%,
    rgba(217,119,6,0.08) 100%
  );
  z-index: 1;
}

.hero-overlay-bottom {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 6rem;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--blue-light);
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.92;
  margin-bottom: 1.5rem;
}

.hero-title .line1 {
  font-size: clamp(4rem, 10vw, 9rem);
  color: #FFFFFF;
  display: block;
}

.hero-title .line2 {
  font-size: clamp(4rem, 10vw, 9rem);
  color: var(--gold-light);
  display: block;
}

.hero-title .line3 {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  color: var(--blue-light);
  display: block;
  margin-top: 0.5rem;
  font-weight: 300;
}

.hero-text {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Light Beams ─────────────────────────── */
.hero-beams {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.beam-1 {
  position: absolute;
  left: 55%;
  top: 0;
}

.beam-2 {
  position: absolute;
  left: 72%;
  top: 0;
}

/* ── Ticker ──────────────────────────────── */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
}

/* ── What We Do Section ──────────────────── */
#what-we-do {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  padding: var(--space-md);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.service-card:hover {
  border-top-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}

/* Alternate: even cards get gold top accent */
.service-card:nth-child(even):hover {
  border-top-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.service-card .service-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.service-card:nth-child(even) .service-tagline { color: var(--gold); }

.service-card p {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.7;
}

/* ── AI Advantage Strip ──────────────────── */
#ai-advantage {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.ai-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.12) saturate(0.3);
  z-index: 0;
}

/* Blue decorative orbs inside AI section */
#ai-advantage::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,0.2) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
  z-index: 1;
}

#ai-advantage::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,0.12) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  pointer-events: none;
  z-index: 1;
}

.ai-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ai-quote {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  font-style: italic;
}

.ai-quote .highlight-white { color: #FFFFFF; font-style: normal; font-weight: 600; }
.ai-quote .highlight-gold  { color: var(--gold-light); font-weight: 600; font-style: normal; }
/* Legacy */
.ai-quote .highlight-cyan  { color: var(--blue-light); font-style: normal; font-weight: 600; }

.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.ai-feature-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--transition-fast);
}

.ai-feature-card:hover {
  border-left-color: var(--gold-light);
  background: rgba(255,255,255,0.1);
  box-shadow: -4px 0 20px rgba(217,119,6,0.15), 0 8px 32px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.ai-feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.ai-feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.ai-feature-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

/* ── Services Grid ───────────────────────── */
#services {
  background: var(--off-white);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.services-item {
  background: #FFFFFF;
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
  transition: background var(--transition-fast);
}

.services-item:hover {
  background: var(--blue-pale);
}

.services-num {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(29,78,216,0.05);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
}

.services-icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.services-item:hover .services-icon-box {
  border-color: var(--blue);
  background: var(--blue-pale);
  box-shadow: 0 0 16px rgba(29,78,216,0.1);
}

/* Even items use gold accent */
.services-item:nth-child(even) .services-num {
  color: rgba(217,119,6,0.05);
}

.services-item:nth-child(even) .services-icon-box {
  border-color: var(--border-gold);
}

.services-item:nth-child(even):hover {
  background: var(--gold-pale);
}

.services-item:nth-child(even):hover .services-icon-box {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: 0 0 16px rgba(217,119,6,0.1);
}

.services-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.services-item p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.services-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.services-item:nth-child(even) .services-tag { color: var(--gold); }

/* ── Featured Projects ───────────────────── */
#featured-projects {
  background: #FFFFFF;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 12px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: none;
}

.project-card.large {
  grid-row: 1 / 3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.project-card:hover img {
  filter: brightness(0.65);
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(30,58,138,0.4) 60%, transparent 100%);
  z-index: 2;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: block;
}

.project-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}

.project-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  display: none;
}

.project-card:hover .project-desc {
  display: block;
}

.project-light-blob {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 20%;
  left: 30%;
  background: radial-gradient(circle, rgba(29,78,216,0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: blobDrift 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* ── Spotlight CTA Section ───────────────── */
#spotlight-cta {
  position: relative;
  min-height: 70vh;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.spotlight-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.15) saturate(0.4);
}

#spotlight-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.92);
  z-index: 1;
  transition: mask-image 0.05s ease;
  mask-image: radial-gradient(circle 280px at -200px -200px, transparent 0%, transparent 40%, rgba(15,23,42,0.92) 70%);
  -webkit-mask-image: radial-gradient(circle 280px at -200px -200px, transparent 0%, transparent 40%, rgba(15,23,42,0.92) 70%);
}

.spotlight-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) 0;
}

.spotlight-content .eyebrow {
  margin-bottom: 1.5rem;
  display: block;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3em;
  font-size: 0.65rem;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  color: #FFFFFF;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.spotlight-title span {
  display: block;
}

.spotlight-title .line2 {
  color: var(--gold-light);
}

.spotlight-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

.spotlight-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Shop Preview ────────────────────────── */
#shop-preview {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.shop-preview-content {
  position: relative;
  z-index: 1;
}

.preview-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.preview-product-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.preview-product-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}

.preview-product-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.preview-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.preview-product-card:hover .preview-product-img img {
  transform: scale(1.05);
}

.preview-product-body {
  padding: 1rem;
}

.preview-product-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.preview-product-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.preview-product-actions {
  display: flex;
  gap: 0.5rem;
}

.preview-product-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 0.6rem 0.75rem;
  font-size: 0.62rem;
}

/* ── About Strip ─────────────────────────── */
#about-strip {
  background: var(--off-white);
  overflow: hidden;
}

.about-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-visual {
  position: relative;
  height: 500px;
}

.about-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(0.4);
  border-radius: var(--radius-lg);
}

.about-stats-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(29,78,216,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-stat-box {
  background: rgba(255,255,255,0.92);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(8px);
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-stat-box:nth-child(even) .about-stat-num {
  color: var(--gold);
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.about-orbital {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(29,78,216,0.12);
}

.about-text h2 {
  margin-bottom: var(--space-md);
  line-height: 0.95;
}

.about-text p {
  margin-bottom: 1rem;
}

/* ── Testimonials Section ────────────────── */
#testimonials {
  background: var(--blue-dark);
  overflow: hidden;
  position: relative;
}

/* Subtle orb decoration */
#testimonials::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,0.3) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.testimonials-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials-wrapper::before,
.testimonials-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

/* Fades match the dark-blue section background */
.testimonials-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--blue-dark), transparent);
}

.testimonials-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--blue-dark), transparent);
}

/* ── Contact Strip ───────────────────────── */
#contact-strip {
  background: var(--off-white);
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-detail-text strong {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-detail-text span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-detail-text a {
  color: var(--blue);
  transition: color var(--transition-fast);
}

.contact-detail-text a:hover { color: var(--blue-mid); }

/* ── Footer ──────────────────────────────── */
#footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(217,119,6,0.25);
  padding: var(--space-lg) 0 var(--space-md);
}

#footer h4 {
  color: rgba(255,255,255,0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand .nav-logo img {
  height: 44px;
  width: auto;
}

/* Override nav-logo colors in footer (legacy text fallback) */
#footer .nav-logo .logo-main  { color: #FFFFFF; }
#footer .nav-logo .logo-accent { color: var(--gold-light); }

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  cursor: none;
}

.social-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(217,119,6,0.12);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1199px) {
  .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

@media (max-width: 899px) {
  #hero { height: auto; padding: 7rem 0 4rem; }
  .hero-content { max-width: 100%; }
  .what-we-do-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .project-card.large { grid-row: auto; }
  .about-strip-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-strip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ai-features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; }
  .preview-products-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .spotlight-ctas { flex-direction: column; align-items: center; }
}
