/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  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;
  transform: scale(1.05);
  animation: hero-zoom 10s ease-out forwards;
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,13,13,0.85) 0%,
    rgba(13,13,13,0.5) 60%,
    rgba(13,13,13,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 680px;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-up-hero 1s ease 0.3s both;
}

.hero-text .divider {
  animation: fade-up-hero 1s ease 0.5s both;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(240, 236, 228, 0.75);
  margin-bottom: 40px;
  animation: fade-up-hero 1s ease 0.7s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up-hero 1s ease 0.9s both;
}

@keyframes fade-up-hero {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  animation: fade-up-hero 1s ease 1.2s both;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* SELECTED WORKS */
.selected-works { background: var(--bg-primary); }

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 48px;
}

.work-card-large {
  grid-row: 1 / 3;
}

.work-card { overflow: hidden; }

.work-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
}

.work-card-large .work-img { min-height: 580px; }

.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.1) 60%, transparent 100%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

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

.work-category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.work-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.work-link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-card:hover .work-link {
  opacity: 1;
  transform: translateY(0);
}

.works-cta { text-align: center; }

/* WHAT WE DO */
.what-we-do { background: var(--bg-secondary); }

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

.service-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  padding: 40px 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  transition: letter-spacing var(--transition-fast);
}

.service-link:hover { letter-spacing: 0.15em; }

/* HOW WE WORK */
.how-we-work { background: var(--bg-primary); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 0 32px;
  position: relative;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 8px;
}

.process-line {
  position: absolute;
  top: 28px;
  right: -20px;
  width: 40px;
  height: 1px;
  background: var(--border);
}

.process-line.last { display: none; }

.process-step h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  margin-top: 16px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.process-check {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 16px;
  opacity: 0.6;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.testimonials-wrapper {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  display: none;
  animation: fade-in-t 0.5s ease;
}

.testimonial-slide.active { display: block; }

@keyframes fade-in-t {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  color: var(--gold);
  font-size: 1.8rem;
  opacity: 0.4;
  margin-bottom: 24px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--off-white);
  line-height: 1.6;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.author-role {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-dot {
  width: 28px;
  height: 2px;
  background: var(--gray-dark);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  padding: 0;
}

.testimonial-dot.active { background: var(--gold); }

/* FEATURED PROJECT */
.featured-project { background: var(--bg-primary); }

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

.featured-img {
  position: relative;
  overflow: hidden;
}

.featured-img img {
  height: 520px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.featured-label {
  position: absolute;
  top: 24px;
  right: -1px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  font-weight: 500;
}

.featured-content h2 { margin-bottom: 8px; }
.featured-content p { font-size: 1rem; line-height: 1.8; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-line { display: none; }
  .featured-inner { grid-template-columns: 1fr; gap: 40px; }
  .featured-img img { height: 380px; }
}

@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-card-large { grid-row: auto; }
  .work-card-large .work-img { min-height: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}
