/* ═══════════════════════════════════════════════════
   HOMEPAGE.CSS — Smart Designs Studio
   All new section styles for the improved homepage.
   This file is ADDITIVE — it does not override style.css
   ═══════════════════════════════════════════════════ */

/* ══════════════════════════════════
   HERO IMPROVEMENTS
══════════════════════════════════ */

/* Trust badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(184,134,11,0.3);
  background: rgba(184,134,11,0.06);
  padding: 0.45rem 1.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-pale);
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.05s ease both;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  animation: blink 2s infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* Push hero-content well below the fixed nav bar (nav ~72px tall) */
.hero-content {
  padding-top: 6rem !important;
}

/* Hero service tags — now clearly below the nav */
.hero-tags {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.1s ease both;
  /* Subtle separator line above to visually anchor below nav */
  padding-top: 1rem;
}
.hero-tags span {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,134,11,0.3);
  background: rgba(10,10,8,0.5);   /* dark bg so they sit on top of anything */
  padding: 0.35rem 1rem;
  font-family: var(--font-body);
  font-weight: 400;
}

/* Hero title — stronger */
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 5.5rem) !important;
}

/* Hero social proof strip */
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hproof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.hproof-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.hproof-label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.hproof-sep {
  width: 1px;
  height: 36px;
  background: rgba(184,134,11,0.2);
}

/* Pulse CTA button */
.btn-pulse {
  animation: fadeUp 0.8s 0.3s ease both, ctaPulse 3s 2s infinite;
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(184,134,11,0.4); }
  50%      { box-shadow: 0 0 0 12px rgba(184,134,11,0); }
}

/* Reassurance line */
.hero-reassurance {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 1rem;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* ══════════════════════════════════
   SECONDARY HERO BUTTON
   Clearly visible against dark hero bg
══════════════════════════════════ */
.btn-hero-secondary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: transparent;
  color: var(--gold-pale);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1.5px solid rgba(240,208,128,0.55);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
  cursor: pointer;
}
.btn-hero-secondary:hover {
  background: rgba(184,134,11,0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-hero-secondary.btn-large {
  padding: 1.1rem 3rem;
  font-size: 0.78rem;
}

/* ══════════════════════════════════
   FOOTER MESSAGE BUTTON
   Dark text on gold — clearly readable
══════════════════════════════════ */
.footer-msg-btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: var(--gold);
  color: var(--ink) !important;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.footer-msg-btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  color: var(--ink) !important;
}

/* ══════════════════════════════════
   WHO WE HELP SECTION
══════════════════════════════════ */
.who-we-help { background: var(--cream); }

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

.who-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.3s ease;
  cursor: default;
}
.who-card:hover {
  border-color: var(--gold);
  background: var(--ink);
  transform: translateY(-4px);
}
.who-card:hover h3 { color: var(--gold-pale); }
.who-card:hover p  { color: #999; }
.who-card:hover .who-card-icon svg { stroke: var(--gold-bright); }

.who-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(184,134,11,0.08);
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s;
}
.who-card:hover .who-card-icon {
  background: rgba(184,134,11,0.15);
}
.who-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  transition: stroke 0.35s;
}

.who-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.35s;
  line-height: 1.2;
}
.who-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.85;
  transition: color 0.35s;
}

/* ══════════════════════════════════
   RESULTS / CASE STUDIES
══════════════════════════════════ */
.results-section { background: var(--dark2, #1A1710); }

/* Override dark2 if var not available */
.results-section { background: #161410; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 1rem;
}

.result-card {
  background: #1C1A16;
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid transparent;
  transition: border-color 0.35s;
  overflow: hidden;
}
.result-card:hover { border-color: var(--gold); }

/* Image wrap */
.result-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
}
.result-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.result-card:hover .result-img { transform: none; }

/* Result body */
.result-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.result-tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
}
.result-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0;
}

/* Result stats row */
.result-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(184,134,11,0.15);
  border-bottom: 1px solid rgba(184,134,11,0.15);
  padding: 1rem 0;
}
.rstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border-right: 1px solid rgba(184,134,11,0.15);
}
.rstat:last-child { border-right: none; }
.rstat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.rstat-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.result-desc {
  font-size: 0.84rem;
  color: #888;
  line-height: 1.85;
  margin: 0;
}

/* Results CTA */
.results-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(184,134,11,0.15);
}
.results-cta p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════ */
.why-choose { background: var(--cream); }

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 1rem;
}

.wc-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-top: 3px solid transparent;
  transition: border-color 0.35s, background 0.35s, transform 0.3s;
}
.wc-card:hover {
  border-color: var(--gold);
  background: var(--ink);
  transform: translateY(-3px);
}
.wc-card:hover h3 { color: var(--gold-pale); }
.wc-card:hover p  { color: #999; }

.wc-icon {
  width: 56px;
  height: 56px;
  background: rgba(184,134,11,0.07);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s, border-color 0.35s;
}
.wc-card:hover .wc-icon {
  background: rgba(184,134,11,0.15);
  border-color: rgba(184,134,11,0.4);
}
.wc-icon svg {
  width: 32px;
  height: 32px;
}
.wc-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.35s;
  line-height: 1.25;
}
.wc-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.9;
  transition: color 0.35s;
}

/* ══════════════════════════════════
   TESTIMONIALS
══════════════════════════════════ */
.testimonials-section { background: var(--ink); }

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

.testi-card {
  background: #181610;
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid transparent;
  transition: border-color 0.35s, transform 0.3s;
  overflow: hidden;
}
.testi-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Screenshot area — replace image later */
.testi-screenshot-wrap {
  position: relative;
  background: #111;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.testi-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}
.testi-card:hover .testi-screenshot {
  opacity: 1;
  transform: scale(1.03);
}
.testi-screenshot-label {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10,10,8,0.8);
  padding: 0.25rem 0.6rem;
  font-family: var(--font-body);
}

/* Testimonial body */
.testi-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testi-stars {
  color: var(--gold-bright);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.testi-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.75;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid rgba(184,134,11,0.12);
  padding-top: 1rem;
}
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #7A5900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.testi-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream);
  font-family: var(--font-body);
}
.testi-biz {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* ══════════════════════════════════
   ENHANCED WHATSAPP FLOAT
══════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 888;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 4px 16px rgba(0,0,0,0.3);
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  white-space: nowrap;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
  border-right: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* Pulse ring around WhatsApp button */
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2.5s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ══════════════════════════════════
   ENHANCED FOOTER
══════════════════════════════════ */
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184,134,11,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.social-link svg {
  width: 16px;
  height: 16px;
}
.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(184,134,11,0.08);
}

.footer-address {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1.2rem;
  opacity: 0.7;
}

/* ══════════════════════════════════
   MOBILE RESPONSIVE — ALL NEW SECTIONS
══════════════════════════════════ */
@media (max-width: 900px) {
  /* Who we help */
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  /* Results */
  .results-grid { grid-template-columns: 1fr; }
  /* Why choose us */
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  /* Hero proof */
  .hproof-item { padding: 0 1rem; }
  .hproof-num { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  /* Who we help */
  .who-grid { grid-template-columns: 1fr; }
  /* Why choose us */
  .why-choose-grid { grid-template-columns: 1fr; }
  /* Hero tags */
  .hero-tags { gap: 0.4rem; }
  .hero-tags span { font-size: 0.58rem; padding: 0.25rem 0.6rem; }
  /* Hero proof */
  .hero-proof { gap: 0; }
  .hproof-item { padding: 0.8rem 1rem; }
  .hproof-sep { display: none; }
  /* Results stats */
  .rstat-num { font-size: 1.2rem; }
  /* WA float */
  .wa-float { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; }
  .wa-tooltip { display: none; }
  /* Result card */
  .result-body { padding: 1.5rem; }
  /* Testi */
  .testi-body { padding: 1.5rem; }
  /* WC / who card */
  .who-card, .wc-card { padding: 2rem 1.5rem; }
}


/* ══════════════════════════════════════
   FIX: Section titles/subtitles visible on dark backgrounds
   ══════════════════════════════════════ */
.results-section .section-title,
.results-section .section-sub,
.results-section .section-label,
.testimonials-section .section-title,
.testimonials-section .section-sub,
.testimonials-section .section-label,
.process-section .section-title,
.process-section .section-sub,
.process-section .section-label,
.trust-section .section-title,
.trust-section .section-sub,
.trust-section .section-label,
.svc-cards-section .section-title,
.svc-cards-section .section-sub,
.svc-cards-section .section-label,
.svc-detail-section .section-title,
.svc-detail-section .section-sub,
.svc-detail-section .section-label,
.svc-work-section .section-title,
.svc-work-section .section-sub,
.svc-work-section .section-label,
.svc-why-section .section-title,
.svc-why-section .section-sub,
.svc-why-section .section-label,
.abt-diff-section .section-title,
.abt-diff-section .section-sub,
.abt-diff-section .section-label,
.abt-expertise-section .section-title,
.abt-expertise-section .section-sub,
.abt-expertise-section .section-label,
.cnt-why-section .section-title,
.cnt-why-section .section-sub,
.cnt-why-section .section-label {
  color: var(--cream, #F8F4EC);
}

/* Generic: any section-title/sub inside a dark-bg parent */
[style*="background: var(--ink)"] .section-title,
[style*="background: var(--ink)"] .section-sub,
[style*="background: var(--ink)"] .section-label {
  color: var(--cream, #F8F4EC);
}

