/* ==========================================================================
   VIKING ELEKTRİK — İÇ SAYFA ORTAK STİLLER
   Shared page layout, hero banners, breadcrumbs & components for inner pages
   ========================================================================== */

/* PAGE HERO BANNER */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-base);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(200, 16, 46, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(200, 16, 46, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.page-hero-content {
  max-width: 680px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-faint);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary-red);
}

.breadcrumb .sep {
  color: var(--border-subtle);
  font-size: 0.7rem;
}

.breadcrumb .current {
  color: var(--primary-red);
  font-weight: 600;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-hero-title .red {
  color: var(--primary-red);
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}

.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-hero-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  text-align: center;
  min-width: 160px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.page-hero-stat-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-3px);
}

.page-hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-red);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.page-hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* DIVIDER LINE */
.page-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 30%, var(--border-subtle) 70%, transparent 100%);
  margin: 0;
}

/* SECTION GENERIC */
.page-section {
  padding: 80px 0;
}

.page-section-alt {
  padding: 80px 0;
  background: var(--bg-surface);
}

.section-header-wrap {
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-label i {
  font-size: 0.75rem;
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-h2 .red {
  color: var(--primary-red);
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* CARD GRIDS */
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* GENERIC FEATURE CARD */
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-red);
  transform: scaleY(0);
  transition: transform var(--transition-normal);
  transform-origin: bottom;
}

.feat-card:hover {
  border-color: rgba(200, 16, 46, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feat-card:hover::before {
  transform: scaleY(1);
}

.feat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-red-soft);
  border: 1px solid rgba(200, 16, 46, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-red);
  margin-bottom: 20px;
  transition: background var(--transition-fast);
}

.feat-card:hover .feat-card-icon {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

.feat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FEATURE LIST (Checkmarks) */
.feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feat-list li i {
  color: var(--primary-red);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* SPLIT CONTENT (text + image) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.split-visual-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* STEP PROCESS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-red), rgba(200,16,46,0.3));
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 0 6px rgba(200,16,46,0.3);
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--primary-red) 0%, #a50d25 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.5;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-band-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cta-band-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* TIMELINE VERTICAL */
.timeline-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 52px;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 15px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-red), rgba(200,16,46,0.15));
}

.tl-item {
  position: relative;
  padding-bottom: 40px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -52px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 0 6px rgba(200,16,46,0.25);
}

.tl-year {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.tl-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.tl-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary-red);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

/* STAT BOXES ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.stat-box:hover {
  border-color: var(--primary-red);
  transform: translateY(-3px);
}

.stat-box-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-red);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* INFO CARD — Contact Info Block */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 i {
  color: var(--primary-red);
  font-size: 1rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.info-row-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.info-row-body a,
.info-row-body strong {
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 600;
}

.info-row-body a:hover {
  color: var(--primary-red);
}

/* FORM CARD */
.form-card-page {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-card-page h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card-page > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* CONTACT PAGE LAYOUT */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* MAP EMBED */
.map-embed-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.map-embed-box iframe {
  display: block;
  width: 100%;
  height: 340px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-grid::after { display: none; }
  .contact-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding: 130px 0 60px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .split-section { grid-template-columns: 1fr; gap: 36px; }
  .split-section.reverse { direction: ltr; }
  .cards-grid-2, .cards-grid-3 { grid-template-columns: 1fr; }
  .page-section, .page-section-alt { padding: 56px 0; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .page-hero-title { font-size: 1.9rem; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions .btn { width: 100%; }
}
