/* ============================================================
   HOME PAGE — css/home.css
   Styles specific to index.html (homepage)
   ============================================================ */

/* ── HERO SECTION ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}

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

/* Individual slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.hero-slide.active { opacity: 1; }

/* Dark overlay + subtle diamond pattern on top of slides */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(26,24,20,.45) 0%, rgba(26,24,20,.65) 50%, rgba(26,24,20,.92) 100%),
    repeating-linear-gradient(45deg, transparent 0px, transparent 49px, rgba(196,169,107,0.08) 49px, rgba(196,169,107,0.08) 50px),
    repeating-linear-gradient(-45deg, transparent 0px, transparent 49px, rgba(196,169,107,0.08) 49px, rgba(196,169,107,0.08) 50px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem 7rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s .4s forwards;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s .6s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: .9rem;
  line-height: 1.85;
  color: rgba(245,240,232,.7);
  max-width: 480px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s .8s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1s forwards;
}

/* ── HERO SCROLL INDICATOR ── */
.hero-scroll {
  position: fixed;
  bottom: 2.5rem;
  right: 1.5rem;
  z-index: 100;
  writing-mode: vertical-rl;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(196,169,107,.7);
  text-shadow: 0 0 12px rgba(26,24,20,.6);
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(196,169,107,.7), transparent);
  filter: drop-shadow(0 0 4px rgba(26,24,20,.5));
}

.hero-scroll.hidden { opacity: 0 !important; }

/* ── ABOUT PREVIEW ── */
#about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual { position: relative; height: 580px; }
.about-img-main { position: absolute; top: 0; left: 0; width: 75%; height: 85%; object-fit: cover; z-index: 1; }
.about-img-accent { position: absolute; bottom: 0; right: 0; width: 52%; height: 55%; object-fit: cover; z-index: 2; border: 6px solid var(--cream); }

.about-badge {
  position: absolute;
  top: 40%;
  left: 55%;
  z-index: 3;
  width: 110px;
  height: 110px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
}

.about-badge strong { font-size: 2rem; font-weight: 600; color: var(--charcoal); line-height: 1; }
.about-badge span { font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal); text-align: center; margin-top: 2px; }

/* About features (expandable cards) */
.about-features { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: white;
  border-left: 3px solid var(--gold);
  transition: background .3s;
}

.about-feature:hover { background: var(--cream); }
.about-feature-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .15rem; }
.about-feature-text strong { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--charcoal); margin-bottom: .2rem; }
.about-feature-tag { display: block; font-family: var(--ff-display); font-style: italic; font-size: .82rem; color: var(--gold); font-weight: 300; }
.about-feature-desc { font-size: .78rem; color: var(--muted); line-height: 1.65; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .4s ease, margin .3s; }
.about-feature:hover .about-feature-desc { max-height: 120px; opacity: 1; margin-top: .6rem; }

/* ── SERVICES PREVIEW ── */
#services { background: var(--charcoal); }
#services .section-title { color: var(--cream); }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

/* ── PORTFOLIO PREVIEW (mosaic) ── */
#portfolio { background: var(--warm-white); }

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.portfolio-item:nth-child(1) { grid-column: 1/7;  height: 420px; }
.portfolio-item:nth-child(2) { grid-column: 7/10; height: 420px; }
.portfolio-item:nth-child(3) { grid-column: 10/13; height: 420px; }
.portfolio-item:nth-child(4) { grid-column: 1/5;  height: 340px; }
.portfolio-item:nth-child(5) { grid-column: 5/9;  height: 340px; }
.portfolio-item:nth-child(6) { grid-column: 9/13; height: 340px; }

/* ── PROCESS STEPS ── */
#process { background: var(--cream); text-align: center; }
/* Shared .process-steps / .step-circle / .step-title / .step-desc → css/style.css */

/* ── BLOG PREVIEW ── */
#blog-preview { background: var(--warm-white); }

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.blog-card {
  background: var(--cream);
  overflow: hidden;
  transition: transform .4s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover { transform: translateY(-6px); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 2rem; }
.blog-card-cat { font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; display: block; }
.blog-card-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 400; color: var(--charcoal); line-height: 1.3; margin-bottom: .8rem; }
.blog-card-excerpt { font-size: .78rem; line-height: 1.8; color: var(--muted); margin-bottom: 1.5rem; }
.blog-card-meta { display: flex; gap: .5rem; font-size: .62rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1rem; flex-wrap: wrap; }
.blog-card-meta span+span::before { content: '·'; margin-right: .3rem; color: var(--gold); }

/* ── SERVICES PREVIEW EXTRAS ── */
.services-header .section-body { color: rgba(245,240,232,0.5); }
.services-explore { text-align: center; margin-top: 3.5rem; }
.services-explore .btn-outline { border-color: var(--border); color: rgba(245,240,232,0.5); }

/* ── TESTIMONIALS PREVIEW ── */
.testimonials-section { background: var(--warm-white); text-align: center; }
.testimonials-section .section-body { margin: 0 auto; }

/* ── CONTACT STRIP (CTA) ── */
#contact-strip {
  background: var(--gold);
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-strip-text h2 { font-family: var(--ff-display); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 300; color: var(--charcoal); line-height: 1.15; }
.contact-strip-text h2 em { font-style: italic; }
.contact-strip-btns { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── RESPONSIVE — HOME ── */
@media (max-width: 900px) {
  #about { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { height: 380px; }
  .services-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .portfolio-mosaic { display: flex; flex-direction: column; }
  .portfolio-item { height: 260px !important; }
  .blog-grid { grid-template-columns: 1fr; }
  #contact-strip { flex-direction: column; text-align: center; }
  .contact-strip-btns { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-content { padding: 0 1.5rem 5rem; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .hero-content { padding: 0 1rem 4rem; }
  .portfolio-item { height: 200px !important; }
  .contact-strip-text h2 { font-size: 1.5rem; }
}
