/* ============================================================
   BraidedbyAGB — Homepage Styles
   FILE: /assets/css/home.css
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  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 top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(75,0,130,0.92) 0%,
    rgba(42,0,80,0.85) 40%,
    rgba(128,0,128,0.65) 100%
  );
  z-index: 1;
}
/* Decorative flowing shape — matches brand flyer aesthetic */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 160px;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
}
.hero-title {
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}
.hero-title-accent {
  font-family: var(--font-accent);
  font-weight: 600;
  font-style: italic;
  color: var(--color-gold);
  display: block;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-6);
  font-weight: 300;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-rating .star { font-size: 1.1rem; }
.hero-rating-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-primary);
}
.hero-rating-text strong { color: var(--color-white); }
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.hero-features {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-feature-icon { color: var(--color-gold); }
.hero-scroll {
  position: absolute;
  bottom: 140px;
  right: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  z-index: 3;
}
.hero-scroll-text {
  font-family: var(--font-primary);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── FOUNDER ──────────────────────────────────────────────── */
.founder-section { background: var(--color-white); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.founder-image-wrap { position: relative; }
.founder-img-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.founder-img-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  background: var(--color-bg-light);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
}
.founder-img-placeholder span { font-size: 3rem; }
.founder-img-frame.no-img .founder-img { display: none; }
.founder-img-frame.no-img .founder-img-placeholder { display: flex; }
.founder-accent-block {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-gold);
  z-index: -1;
  border-radius: var(--border-radius-lg);
  opacity: 0.6;
}
.founder-bio {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  font-size: var(--text-md);
}
.founder-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}
.value-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.value-icon {
  color: var(--color-gold);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.value-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-deep-purple);
  margin-bottom: 3px;
}
.value-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services-section { position: relative; overflow: hidden; }
.services-section-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}
.services-section .container { position: relative; z-index: 1; }
.section-subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-3);
  font-weight: 300;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.service-card { position: relative; }
.service-card-img-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--color-bg-light);
}
.service-card-img-wrap .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .card-img { transform: scale(1.05); }
.service-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--color-bg-light), #ede0f0);
}
.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: var(--space-2) 0 var(--space-3);
  min-height: 2.5em;
}
.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.service-duration {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.badge-new {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--color-gold);
  color: var(--color-dark);
  font-family: var(--font-primary);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  z-index: 2;
}

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews-section { background: var(--color-bg-light); }
.reviews-overall { margin-top: var(--space-4); }
.reviews-overall-text {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.review-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.review-author { display: flex; flex-direction: column; gap: 2px; }
.review-date {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ── PRODUCTS ─────────────────────────────────────────────── */
.products-section { position: relative; overflow: hidden; }
.products-section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2a0050 0%, var(--color-deep-purple) 100%);
  z-index: 0;
}
.products-section .container { position: relative; z-index: 1; }
.section-subtitle.light { color: rgba(255,255,255,0.6); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.product-card { position: relative; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.product-card:hover { border-color: var(--color-gold); background: rgba(255,255,255,0.08); }
.product-img-wrap {
  height: 220px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.product-img-wrap .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img { transform: scale(1.05); }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.badge-gift {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-gold);
  color: var(--color-dark);
  font-family: var(--font-primary);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 2px;
  z-index: 2;
}
.product-name {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}
.product-price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.product-actions {
  display: flex;
  gap: var(--space-3);
}
.product-actions .btn-outline-primary {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  flex: 1;
  font-size: var(--text-xs);
  padding: var(--space-3) var(--space-4);
}
.product-actions .btn-primary {
  flex: 1;
  font-size: var(--text-xs);
  padding: var(--space-3) var(--space-4);
}

/* ── SOCIAL ───────────────────────────────────────────────── */
.social-section { background: var(--color-white); }
.social-handle {
  margin-top: var(--space-2);
  font-family: var(--font-primary);
  font-size: var(--text-md);
  font-weight: 700;
}
.social-handle a {
  color: var(--color-primary);
  text-decoration: none;
}
.social-handle a:hover { color: var(--color-primary-dark); }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-10);
}
.instagram-tile {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  text-decoration: none;
}
.instagram-tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-bg-light);
  transition: var(--transition);
}
.instagram-tile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  background: linear-gradient(135deg, var(--color-bg-light), #ede0f0);
}
.instagram-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(128,0,128,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.instagram-tile:hover .instagram-tile-overlay { opacity: 1; }
.social-follow-row {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-10);
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
  text-align: center;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-deep-purple) 60%, #1a003a 100%);
  z-index: 0;
}
.cta-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,175,55,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,20,147,0.12) 0%, transparent 50%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}
.cta-banner-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-8);
  font-weight: 300;
  line-height: 1.7;
}
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.cta-phone {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.cta-phone:hover { color: var(--color-gold); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fadeLeft"] { transform: translateX(-32px); }
[data-animate="fadeRight"] { transform: translateX(32px); }
[data-animate].animated {
  opacity: 1;
  transform: translate(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .products-grid  { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .founder-grid   { grid-template-columns: 1fr; gap: var(--space-10); }
  .founder-image-wrap { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .hero-scroll  { display: none; }
  .services-grid  { grid-template-columns: 1fr; }
  .products-grid  { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-values { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
  .social-follow-row { flex-direction: column; align-items: center; }
}
