/* css/home.css */

/* ======================== HERO ======================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.03);
  transition: opacity 1.4s ease-in-out, transform 8s ease-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,21,16,0.75) 0%,
    rgba(26,21,16,0.45) 60%,
    rgba(184,151,58,0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 72px;
}

.hero-badge {
  display: inline-block;
  background: rgba(184,151,58,0.2);
  border: 1px solid rgba(184,151,58,0.5);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: white;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-3px);
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.indicator.active {
  width: 32px;
  border-radius: 4px;
  background: var(--gold);
}

/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  margin-top: 36px;
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow.prev { right: 24px; }
.hero-arrow.next { left: 24px; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 90px;
  left: 24px;
  z-index: 10;
}

.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hero animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-hero {
  animation: heroFadeUp 0.8s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.55s; }
.delay-3 { animation-delay: 0.8s; }

/* ======================== STATS STRIP ======================== */
.stats-strip {
  background: var(--charcoal);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ======================== INTRO ======================== */
.intro-section {
  padding: 100px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--gold);
  border-radius: 28px;
  opacity: 0.3;
  z-index: -1;
}

.media-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  max-width: 220px;
}

.media-badge svg {
  color: var(--gold);
  flex-shrink: 0;
  background: rgba(184,151,58,0.1);
  padding: 6px;
  border-radius: 8px;
  width: 36px;
  height: 36px;
}

.media-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.media-badge span {
  font-size: 11px;
  color: var(--muted);
}

.intro-text .section-label { margin-bottom: 12px; }
.intro-text .section-title { margin-bottom: 20px; }
.intro-text p { color: var(--muted); margin-bottom: 28px; line-height: 1.9; }

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

.feat-item svg {
  color: var(--gold);
  flex-shrink: 0;
  background: rgba(184,151,58,0.1);
  padding: 4px;
  border-radius: 6px;
  width: 28px;
  height: 28px;
}

/* ======================== SERVICES ======================== */
.services-section {
  padding: 100px 0;
  background: var(--cream);
}

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

.service-card .service-img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.service-card .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,21,16,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-body {
  padding: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(184,151,58,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.service-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ======================== PALETTE SECTION ======================== */
.palette-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, #3d3228 100%);
  position: relative;
  overflow: hidden;
}

.palette-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23b8973a' fill-opacity='0.05'%3E%3Cpath d='M40 40m-20 0a20 20 0 1 1 40 0a20 20 0 1 1-40 0' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
}

.palette-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.palette-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.mini-swatch {
  aspect-ratio: 1;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.mini-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.more-swatch {
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}

/* ======================== CTA ======================== */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 28px;
  padding: 64px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(184,151,58,0.3);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-box .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.cta-box .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .intro-grid { gap: 48px; }
}

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .palette-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-features { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .cta-box { padding: 40px 24px; }
  .hero-arrow { display: none; }
  .palette-swatches { grid-template-columns: repeat(4, 1fr); }
}
