/* ============================================================
   Homepage — AutoFix-style layout, Novaris brand colors
   ============================================================ */

.home-page {
  --hp-navy: #041D3A;
  --hp-navy-2: #082E5C;
  --hp-gold: #C8941F;
  --hp-gold-light: #E8C04A;
}

/* ── Hero Slider ── */
.hero-slider {
  position: relative;
  width: 100%;
  /* Görsel ölçüsüyle bire bir: 1920 × 600 px (16:5) */
  aspect-ratio: 1920 / 600;
  max-height: 70vh;
  min-height: 360px;
  overflow: hidden;
  background: var(--hp-navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 29, 58, 0.88) 0%, rgba(4, 29, 58, 0.55) 55%, rgba(4, 29, 58, 0.35) 100%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-slide__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hp-gold-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-slide__label i {
  font-size: 16px;
}

.hero-slide__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.hero-slide__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-slide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--hp-gold-light), var(--hp-gold));
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-slide__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 148, 31, 0.35);
  color: #fff;
}

.hero-slide__btn--sm {
  padding: 14px 28px;
  font-size: 12px;
}

.hero-slide__btn--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.hero-slide__btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s;
}

.hero-arrow:hover {
  background: rgba(200, 148, 31, 0.85);
}

.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 36px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.hero-dot.active {
  background: var(--hp-gold);
  width: 48px;
}

/* ── Features (4 columns) ── */
.home-features {
  padding: 72px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.home-features__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.home-feature {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.home-feature__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--hp-navy);
  color: var(--hp-gold-light);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.home-feature h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--hp-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.home-feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ── Section shared ── */
.section-tag {
  display: inline-block;
  color: var(--hp-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head--center {
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--hp-navy);
  letter-spacing: -0.03em;
}

/* ── About ── */
.home-about {
  padding: 80px 0;
  background: #f8f9fb;
}

.home-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.home-about__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.home-about__content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--hp-navy);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.home-about__content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ── Video ── */
.home-video {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

.home-video__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.home-video__content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--hp-navy);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.home-video__content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.home-video__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--hp-navy);
  box-shadow: 0 16px 48px rgba(4, 29, 58, 0.18);
}

.home-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Sectors ── */
.home-sectors {
  padding: 80px 0;
  background: #fff;
}

.home-sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-sector-card {
  display: block;
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.home-sector-card:hover {
  border-color: rgba(200, 148, 31, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.home-sector-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hp-navy);
  color: var(--hp-gold-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.home-sector-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-navy);
  margin-bottom: 10px;
}

.home-sector-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-sector-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Stats ── */
.home-stats {
  padding: 64px 0;
  background: var(--hp-navy);
}

.home-stats__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  text-align: center;
  align-items: flex-start;
  justify-content: space-between;
}

.home-stat {
  flex: 1 1 0;
  min-width: 0;
}

.home-stat__value {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--hp-gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.home-stat__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  line-height: 1.4;
}

/* ── News ── */
.home-news {
  padding: 80px 0;
  background: #f8f9fb;
}

.home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-news-card {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--border);
}

.home-news-card time {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-news-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0;
  line-height: 1.4;
}

.home-news-card h3 a {
  color: var(--hp-navy);
}

.home-news-card h3 a:hover {
  color: var(--hp-gold);
}

.home-news-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.home-news-card__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── CTA Banner ── */
.home-cta {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--hp-navy-2), var(--hp-navy));
}

.home-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.home-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.home-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Newsletter ── */
.home-newsletter {
  padding: 64px 0;
  background: linear-gradient(90deg, var(--hp-gold), #d4a020);
}

.home-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.home-newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.home-newsletter p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.home-newsletter__form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-newsletter__form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: none;
  border-radius: 0;
  font-size: 15px;
  outline: none;
}

.home-newsletter__form .hero-slide__btn {
  background: var(--hp-navy);
  white-space: nowrap;
}

.home-newsletter__form .hero-slide__btn:hover {
  background: var(--hp-navy-2);
  box-shadow: 0 8px 24px rgba(4, 29, 58, 0.3);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .home-sectors__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .home-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .home-features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 992px) {
  .home-about__grid { grid-template-columns: 1fr; }
  .home-about__image img { height: 300px; }
  .home-video__grid { grid-template-columns: 1fr; }
  .home-news__grid { grid-template-columns: 1fr; }
  .home-newsletter__inner { grid-template-columns: 1fr; }
  .hero-arrow { width: 42px; height: 42px; font-size: 18px; }
  .hero-arrow--prev { left: 12px; }
  .hero-arrow--next { right: 12px; }
}

@media (max-width: 576px) {
  .home-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-sectors__grid { grid-template-columns: 1fr; }
  .home-stats__grid { grid-template-columns: 1fr 1fr; }
  .home-cta__inner { flex-direction: column; text-align: center; }
  .home-cta__actions { justify-content: center; width: 100%; }
  .hero-slide__content { padding-bottom: 64px; }
}
