/* ============================================
   PEAK LIGHT STUDIO — Home Page Styles
   ============================================ */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  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;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 26, 24, 0.72) 0%,
    rgba(28, 26, 24, 0.45) 60%,
    rgba(28, 26, 24, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 6rem;
}

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

.hero-overline {
  color: rgba(248, 246, 242, 0.7);
}

.hero-headline {
  color: var(--color-ivory);
  margin-top: 1rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  font-weight: 300;
}

.hero-subheadline {
  color: rgba(248, 246, 242, 0.8);
  margin-top: 1.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-br { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(248, 246, 242, 0.5);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(248,246,242,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ---- Brand Intro ---- */
.brand-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.brand-intro-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-strong);
}

.brand-intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-stat-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: var(--color-ivory);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-intro-image {
  position: relative;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-charcoal);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin-top: 0.25rem;
}

@media (max-width: 860px) {
  .brand-intro-grid {
    grid-template-columns: 1fr;
  }
  .brand-stat-badge { left: 1rem; }
}

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--color-stone);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

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

.product-card-featured .product-card-img {
  border-top: 3px solid var(--color-bronze);
}

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.product-card-body p {
  font-size: 0.875rem;
  color: var(--color-warm-gray);
  line-height: 1.65;
  flex: 1;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-top: 1.25rem;
  transition: gap var(--transition-base);
}

.product-card:hover .product-card-link {
  gap: 0.6rem;
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ---- Why Grid ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.why-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(196, 186, 168, 0.3);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.why-item:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(160, 137, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-bronze);
}

.why-item h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--color-warm-gray);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ---- Gallery Preview ---- */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  margin-top: 0;
}

.gallery-preview-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-preview-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-preview-lg {
  aspect-ratio: 3/4;
}

.gallery-preview-col .gallery-preview-item {
  flex: 1;
  min-height: 200px;
}

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

.gallery-preview-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(28,26,24,0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-preview-item:hover .gallery-preview-label {
  opacity: 1;
}

.gallery-preview-label span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(248, 246, 242, 0.9);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .gallery-preview-grid {
    grid-template-columns: 1fr;
  }
  .gallery-preview-lg { aspect-ratio: 16/9; }
  .gallery-preview-col { flex-direction: row; }
  .gallery-preview-col .gallery-preview-item { min-height: 180px; aspect-ratio: 1; }
}

@media (max-width: 480px) {
  .gallery-preview-col { flex-direction: column; }
}

/* ---- Process Steps ---- */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 1rem;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 2rem 1.25rem;
}

.process-step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-bronze);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-ivory);
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-taupe);
  line-height: 1.7;
}

.process-step-divider {
  color: var(--color-bronze);
  font-size: 1.5rem;
  opacity: 0.4;
  padding-top: 3rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 0;
  }
  .process-step-divider {
    padding-top: 0;
    transform: rotate(90deg);
    align-self: center;
  }
}

/* ---- Smart Teaser ---- */
.smart-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.smart-teaser-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-medium);
}

.smart-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smart-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.smart-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-charcoal-lt);
}

.smart-feature-list li svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .smart-teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Trade Teaser ---- */
.trade-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.trade-teaser-badges {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.trade-badge {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border: 1px solid rgba(196, 186, 168, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.trade-badge:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

.trade-badge svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.trade-badge h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 0.375rem;
}

.trade-badge p {
  font-size: 0.875rem;
  color: var(--color-warm-gray);
}

@media (max-width: 768px) {
  .trade-teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Final CTA ---- */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
