/* ═══════════════════════════════════════
   DESIGN V2 — Premium Typography & Visual Upgrade
   First Unicorn Interiors
   Layered ON TOP of existing styles.css
   ═══════════════════════════════════════ */

/* ── PREMIUM FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Override typography to luxury fonts */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-accent: 'Space Grotesk', 'DM Sans', sans-serif;

  /* Upgraded gold — richer, more premium */
  --gold: #C8A871;
  --gold-light: #D4B88A;
  --gold-dark: #B8964D;
  --gold-glow: rgba(200, 168, 113, 0.15);

  /* Refined shadows */
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(200,168,113,0.25);
}

/* ── HEADING UPGRADES ── */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── LABEL / BADGE UPGRADE ── */
.label,
.badge-text,
.trust-item {
  font-family: var(--font-accent);
}

/* ── HERO UPGRADE ── */
.hero {
  min-height: 100vh;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

/* Hero proof box upgrade */
.hero-proof {
  border: 1px solid rgba(200,168,113,0.2) !important;
  border-radius: 12px !important;
}

/* ── TRUST BAR UPGRADE ── */
.trust-bar {
  background: var(--bg-secondary);
  padding: 1.2rem var(--container-padding) !important;
  border-bottom: 1px solid var(--border);
}

.trust-item {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.trust-check {
  color: var(--gold);
}

/* ── SECTION HEADERS ── */
.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.section-header .label {
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
}

/* ── CARD UPGRADES ── */
.division-card,
.service-card,
.vtesti-card,
.gallery-card,
.premium-card {
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0.36, 0, 1);
}

.division-card:hover,
.service-card:hover,
.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.division-card h3,
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

/* ── PROCESS TIMELINE UPGRADE ── */
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
}

.process-step-number {
  font-family: var(--font-accent);
  font-weight: 700;
}

/* ── TESTIMONIAL UPGRADE ── */
.vtesti-card blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  font-weight: 400;
}

.vtesti-author {
  font-family: var(--font-body);
  font-weight: 600;
}

.vtesti-loc {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vtesti-stars {
  color: var(--gold) !important;
}

/* ── CTA BUTTONS UPGRADE ── */
.btn-primary,
.nav-cta {
  background: var(--gold) !important;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 8px;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s cubic-bezier(0.4, 0.36, 0, 1);
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200,168,113,0.4);
}

.btn-whatsapp {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 8px;
}

.btn-secondary {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 8px;
}

/* ── FAQ UPGRADE ── */
.faq-question {
  font-family: var(--font-body);
  font-weight: 600;
}

/* ── FOOTER UPGRADE ── */
.footer h3 {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── SEO DIRECTORY ── */
.seo-directory h3 {
  font-family: var(--font-accent);
}

/* ── BEFORE/AFTER SLIDER (new component) ── */
.ba-section {
  padding: var(--section-padding) var(--container-padding);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* Before image: flows naturally to give the container height */
.ba-slider .ba-before {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* After image: layered on top, clipped from left to show on right side */
.ba-slider .ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 0 50%);
  z-index: 2;
}

.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.9);
  z-index: 10;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  transform: translateX(-50%);
}

.ba-slider .ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 5px 12px;
  font-family: var(--font-accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  border-radius: 6px;
  z-index: 5;
}

.ba-label-before {
  left: 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: white;
  z-index: 20;
}

.ba-label-after {
  right: 12px;
  background: var(--gold);
  color: white;
  z-index: 20;
}

.ba-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ── ANIMATED NUMBER COUNTERS ── */
.v2-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.v2-stat {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.v2-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.v2-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--gold-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.v2-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.v2-stat-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-top: 4px;
}

.v2-stat-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .v2-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ba-grid {
    grid-template-columns: 1fr;
  }
  .v2-stat {
    padding: 24px 12px;
  }
  .v2-stat-number {
    font-size: 2rem;
  }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0.36, 0, 1),
              transform 0.7s cubic-bezier(0.4, 0.36, 0, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.1s; }
.stagger > *:nth-child(4) { transition-delay: 0.18s; }
.stagger > *:nth-child(5) { transition-delay: 0.24s; }
.stagger > *:nth-child(6) { transition-delay: 0.3s; }

/* ── COMMUNITY HERO (for area pages) ── */
.community-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 0;
}

.community-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.community-hero-content {
  position: relative;
  z-index: 10;
  padding: 3rem var(--container-padding);
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  color: white;
}

.community-hero-content h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.community-hero-meta {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

/* ── SERVICE HERO (for service pages) ── */
.service-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.service-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.service-hero-content {
  position: relative;
  z-index: 10;
  padding: 3rem var(--container-padding);
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  color: white;
}

.service-hero-content h1 {
  color: white;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.service-hero-badge {
  display: inline-flex;
  gap: 12px;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  background: rgba(200,168,113,0.2);
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* ── GALLERY UPGRADE ── */
.gallery-card {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-card img {
  transition: transform 0.6s cubic-bezier(0.4, 0.36, 0, 1);
}

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

.gallery-card-overlay {
  border-radius: 0 0 12px 12px;
}

.gallery-card-overlay h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

/* ── CTA BLOCK UPGRADE ── */
.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ── WHATSAPP FLOAT UPGRADE ── */
.whatsapp-float {
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  animation: wa-pulse-v2 2s infinite;
  border-radius: 50%;
}

@keyframes wa-pulse-v2 {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ── DESKTOP STICKY CTA UPGRADE ── */
.desktop-sticky-cta .desktop-sticky-text {
  font-family: var(--font-body);
}

.desktop-sticky-cta .desktop-sticky-text strong {
  color: var(--gold);
}

/* ── NAV UPGRADE ── */
.nav-name {
  font-family: var(--font-display);
  font-weight: 600;
}

.nav-links > li > a {
  font-family: var(--font-body);
  font-weight: 500;
}

.nav-dropdown-menu a {
  font-family: var(--font-body);
}

/* ── PRINT ── */
@media print {
  .whatsapp-float,
  .sticky-cta,
  .desktop-sticky-cta,
  .exit-popup-overlay { display: none !important; }
}
