* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
}

/* HEADER */
/* Menü Çubuğu - Ortalanmış ve genişliği sınırlı kapsayıcı */
.container {
  width: 90%;            /* Genişliği yüzde 90 yapar */
  max-width: 1200px;     /* Maksimum genişlik 1200px */
  margin: auto;          /* Yatayda ortalar */
  padding: 0 20px;       /* Yatayda 20px iç boşluk */
}


/* ---------------------- */
/* HEADER & NAV MENÜ      */
/* ---------------------- */

/* Üst menü arka plan ve sabitlenme */
header {
  background-color: #000;  /* Menü arka plan siyah */
  box-shadow: 0 2px 5px rgba(255, 254, 254, 0.1); /* Hafif gölge efekti */
  position: sticky;       /* Sayfa kaydırılırken üstte sabit kalır */
  top: 0;                 /* Üstte sabit */
  z-index: 100;           /* Üst katman değeri (diğer elemanların üstünde) */
}

.nav-container {
  display: flex;          /* Flexbox ile yatay düzen */
  align-items: center;    /* Dikey ortalama */
  justify-content: space-between; /* Logo ve menüyü aralıklı yerleştirir */
  height: 100px;          /* Header yüksekliği */
}

.logo img {
  height: 103px;          /* Logo yüksekliği */
  width: auto;            /* Genişlik orantılı */
}

nav ul {
  list-style: none;       /* Liste madde işaretlerini kaldırır */
  display: flex;          /* Menü linklerini yatay dizer */
  gap: 30px;              /* Menü elemanları arasına 30px boşluk */
}

nav ul li a {
  text-decoration: none;  /* Link altı çizgisi kaldırılır */
  color: #efefef;         /* Açık gri renk */
  font-weight: 800;       /* Kalın yazı */
  transition: color 0.3s ease; /* Renk değişim animasyonu */
  padding: 5px 0;         /* Dikey iç boşluk */
  border-bottom: 3px solid transparent; /* Alt çizgi başlangıçta görünmez */
}


nav ul li a:hover,
nav ul li a.active {
  color: #f0f0f0;         /* Hover veya aktif linkte renk değişir */
  border-bottom-color: #007BFF; /* Alt çizgi mavi olur */
}
.nav-links p {
    color: white;
    font-weight: bold;  /* istersen yazıyı kalın yapar */
    margin: 0;          /* boşlukları sıfırlar */
}


/* HERO */
.fren-hero {
    background-image: url('../../images/services/fren/fren11.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 43vh !important;
    min-height: 400px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
}
.hero-overlay {
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-text {
    text-align: center;
    color: white;
}
.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.btn {
    display: inline-block;
    background: #FFD700;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

/* CONTENT */
.content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 60px 5%;
    gap: 20px;
}
.content img {
    max-width: 100%;
    border-radius: 8px;
}
.content .text {
    flex: 1 1 300px;
}
.content .image {
    flex: 1 1 200px;
}

/* TIMELINE */
.timeline {
    background: #F5F6FA;
    padding: 40px 5%;
    text-align: center;
}
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.step {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* BENEFITS */
.benefits {
    padding: 40px 5%;
    text-align: center;
}
.benefit-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.benefit {
    background: #F5F6FA;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
}

/* TABLE */
.table-section {
    padding: 40px 5%;
}
.table-section table {
    width: 100%;
    border-collapse: collapse;
}
.table-section th, .table-section td {
    border: 1px solid #ddd;
    padding: 10px;
}
.table-section th {
    background: #0A3D62;
    color: white;
}

/* GALLERY */
.gallery {
    padding: 40px 5%;
    text-align: center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 10px;
    margin-top: 20px;
}
.gallery-item {
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 8px;
}

/* CONTACT */
.contact {
    background-color: var(--color-white) !important;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xl) !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}
.contact form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact button {
    background: #0A3D62;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

/* FOOTER */
footer {
    background: #0A3D62;
    color: white;
    text-align: center;
    padding: 10px;
}
