/* ============================================================
   HOME.CSS — Home page section styles
   ============================================================ */

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--white);
}

/* img or video drop-in — uncomment in index.html when media is ready */
.hero__bg img,
.hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Subtle left-side fade so text pops without killing the florals */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(253, 245, 242, 0.52) 0%,
    rgba(253, 245, 242, 0.18) 50%,
    transparent 78%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 5rem;
  color: var(--text);
}

.hero__content .section-tag {
  color: var(--gold);
  animation: heroUp 0.8s var(--ease-out) 0.15s both;
}

.hero__content h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-style: italic;
  font-weight: 600;
  color: #4a1a2a;
  margin-block: 1.25rem 1.5rem;
  animation: heroUp 0.9s var(--ease-out) 0.35s both;
  line-height: 1.08;
  max-width: 14ch;
}

.hero__content h1 em {
  color: var(--rose);
  font-style: italic;
}

.hero__sub {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: rgba(44, 34, 31, 0.75);
  max-width: 54ch;
  margin-bottom: 2.5rem;
  animation: heroUp 0.9s var(--ease-out) 0.55s both;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: heroUp 0.9s var(--ease-out) 0.75s both;
}

.btn--ghost {
  border: 1px solid var(--rose);
  color: var(--wine);
}
.btn--ghost:hover {
  border-color: var(--wine);
  background: var(--surface);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
  animation: heroUp 1s var(--ease-out) 1.2s both;
}

.hero__scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(44, 34, 31, 0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDrop 2.2s ease-in-out 1.8s infinite;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDrop {
  0%   { top: -100%; opacity: 1; }
  80%  { top: 100%;  opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}


/* ===== PROOF STRIP / MARQUEE ===== */
.proof-strip {
  background: var(--wine);
  overflow: hidden;
  padding-block: 0.9rem;
  border-top: 1px solid rgba(201, 165, 109, 0.15);
}

.marquee { overflow: hidden; }

.marquee__track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__item {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-inline: 2rem;
  color: rgba(248, 243, 238, 0.7);
  white-space: nowrap;
}

.marquee__sep {
  color: var(--gold);
  font-size: 0.4rem;
  flex-shrink: 0;
  opacity: 0.7;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}


/* ===== STATS ===== */
.stats-section {
  background: var(--surface);
  padding-block: 4rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat__number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--wine);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold);
  line-height: 1;
}

.stat p {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: none;
}


/* ===== SERVICES GRID ===== */
.services-section {
  background: var(--bg);
}

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

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  text-decoration: none;
}

/* Placeholder color backgrounds — remove once images are added */
.service-card:nth-child(1) { background: #50263a; }
.service-card:nth-child(2) { background: #7a3d5e; }
.service-card:nth-child(3) { background: #7a6230; }
.service-card:nth-child(4) { background: #3d1520; }
.service-card:nth-child(5) { background: #455040; }
.service-card:nth-child(6) { background: #1e1a1a; }
.service-card:nth-child(7) { background: #6b3a55; }
.service-card:nth-child(8) { background: #3a2030; }

/* Dark overlay that lightens on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.6s var(--ease);
}

.service-card:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

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

.service-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(30, 10, 20, 0.8) 0%, transparent 100%);
}

.service-card__body h3 {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-style: italic;
  color: var(--white);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.service-card__body span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover .service-card__body span,
.service-card:focus .service-card__body span {
  opacity: 1;
  transform: translateY(0);
}


/* ===== FEATURED PORTFOLIO ===== */
.featured-section {
  background: var(--surface);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
  .featured-item--tall {
    grid-row: span 2;
  }
}

.featured-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  text-decoration: none;
  background: var(--wine);
  aspect-ratio: 4 / 3;
}

.featured-item--tall {
  aspect-ratio: 3 / 4;
}

@media (min-width: 640px) {
  .featured-item--tall { aspect-ratio: auto; min-height: 480px; }
  .featured-item:not(.featured-item--tall) { aspect-ratio: 4 / 3; }
}

/* Placeholder colors */
.featured-item:nth-child(1) { background: #4a1a2a; }
.featured-item:nth-child(2) { background: #8b4a6b; }
.featured-item:nth-child(3) { background: #7a6030; }

.featured-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.featured-item:hover img { transform: scale(1.04); }

.featured-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 10, 20, 0.55) 0%, transparent 55%);
  transition: background 0.6s var(--ease);
}

.featured-item:hover .featured-item__overlay {
  background: linear-gradient(to top, rgba(30, 10, 20, 0.65) 0%, rgba(30,10,20,0.1) 55%);
}

.featured-item__label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
}

.featured-item__label span {
  display: inline-block;
  background: rgba(248, 243, 238, 0.9);
  color: var(--wine);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 1px;
  transition: background 0.3s, color 0.3s;
}

.featured-item:hover .featured-item__label span {
  background: var(--gold);
  color: var(--white);
}

.featured-cta {
  text-align: center;
  margin-top: 2.5rem;
}


/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 2px;
  border-top: 2px solid var(--gold);
}

.testimonial__mark {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 0.75;
  color: var(--rose);
  opacity: 0.35;
  display: block;
  margin-bottom: 0.75rem;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: none;
}

.testimonial__divider {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1rem;
}

.testimonial__name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--wine);
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial__event {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
}


.inquiry-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
