/* ============================================================
   HOMEPAGE STYLES — index.css
   ============================================================ */

/* Hero */
.hero {
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: stretch;
  background: var(--color-navy);
  overflow: hidden;
  position: relative;
}
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  gap: 0;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 78px;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__body {
  font-size: 17px;
  font-weight: 300;
  line-height: 28px;
  color: var(--color-muted-light);
  max-width: 480px;
  margin-bottom: 48px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero__btn {
  padding: 14px 32px;
  background: var(--color-sand);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy-dark);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.hero__phone {
  font-size: 14px;
  color: var(--color-muted-light);
}
.hero__photo {
  width: 520px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-navy) 0%, transparent 28%);
}

/* Services */
.services {
  width: 100%;
  background: var(--color-white);
  padding: var(--section-pad-y) var(--page-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services .section-header { margin-bottom: 72px; }
.services__grid {
  display: flex;
  gap: 2px;
  width: 100%;
  max-width: var(--container-max);
}
.service-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 52px 48px;
  background: var(--color-fog-light);
}
.service-card--highlight {
  background: var(--color-navy);
}
.service-card__icon { width: 40px; height: 40px; flex-shrink: 0; }
.service-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 32px;
  color: var(--color-text);
}
.service-card--highlight .service-card__title { color: var(--color-white); }
.service-card__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 26px;
  color: var(--color-muted);
}
.service-card--highlight .service-card__body { color: var(--color-muted-light); }

/* Gallery */
.gallery {
  width: 100%;
  background: var(--color-fog-light);
  padding: var(--section-pad-y) var(--page-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery .section-header { margin-bottom: 56px; }
.gallery__grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: var(--container-max);
}
.gallery__row {
  display: flex;
  gap: 4px;
  height: 300px;
}
.gallery__item {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.03); }

/* About */
.about {
  width: 100%;
  background: var(--color-white);
  padding: var(--section-pad-y) var(--page-pad-x);
  display: flex;
  align-items: center;
  gap: 120px;
}
.about__photo {
  width: 420px;
  height: 520px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about__photo-accent-v {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3px;
  height: 80px;
  background: var(--color-sand);
}
.about__photo-accent-h {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--color-sand);
}
.about__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.about__body {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 28px;
  color: var(--color-muted);
  max-width: 500px;
}
.about__stats {
  display: flex;
  gap: 64px;
  margin-top: 16px;
}
.stat__number {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 44px;
  color: var(--color-navy);
}
.stat__label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* Contact CTA */
.contact-cta {
  width: 100%;
  background: var(--color-fog);
  padding: 80px 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}
.contact-cta__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 52px;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 16px;
}
.contact-cta__body {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 28px;
  color: var(--color-muted);
}
.contact-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row__phone {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text);
}
.contact-row__email {
  font-size: var(--text-base);
  color: var(--color-mid-blue);
}
.contact-cta__btn {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  background: var(--color-navy);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
}

/* Lightbox */
.gallery__item { cursor: zoom-in; }
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,61,90,0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.gallery__item:hover::after { background: rgba(28,61,90,0.22); }

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,14,18,0.93);
  align-items: center;
  justify-content: center;
}
#lightbox.lb-open {
  display: flex;
  animation: lb-fade 0.2s ease;
}
@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lb-img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
}
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.75);
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.lb-prev { left: 28px; }
.lb-next { right: 28px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  :root { --page-pad-x: 40px; }
  .hero__heading { font-size: 52px; line-height: 58px; }
  .hero__photo { width: 380px; }
  .about { flex-direction: column; gap: 48px; }
  .about__photo { width: 100%; height: 360px; }
  .contact-cta { flex-direction: column; padding: 64px 40px; }
}

@media (max-width: 639px) {
  :root { --page-pad-x: 24px; --section-pad-y: 64px; }

  /* Navbar — hamburger */
  .navbar { padding: 0 24px; }
  .navbar__hamburger { display: flex; }
  .navbar__links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    flex-direction: column;
    padding: 8px 24px 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    z-index: 200;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__link {
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
    gap: 0;
  }
  .navbar__cta {
    margin-top: 16px;
    padding: 14px;
    text-align: center;
    display: block;
  }

  /* Hero */
  .hero { flex-direction: column; min-height: auto; }
  .hero__content { padding: 48px 24px; }
  .hero__heading { font-size: 40px; line-height: 46px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero__photo { width: 100%; height: 260px; position: relative; }
  .hero__photo-fade { background: linear-gradient(to bottom, var(--color-navy) 0%, transparent 40%); }

  /* Services */
  .services__grid { flex-direction: column; }

  /* Gallery — single column on mobile */
  .gallery__row { flex-direction: column; height: auto; gap: 4px; }
  .gallery__item { min-height: 240px; flex: none; width: 100%; }

  /* About */
  .about__stats { gap: 32px; }

  /* Contact */
  .contact-cta { padding: 48px 24px; }

  /* Footer */
  .footer { flex-direction: column; gap: 20px; text-align: center; padding: 32px 24px; }
}
