/* Genel ayarlar */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; background-color: #f9f9f9; color: #333; }
a { text-decoration: none; color: inherit; }

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo img { height: 60px; }
.certificates img { height: 40px; margin-left: 10px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

/* Menü */
nav {
    background-color: #28a745;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
nav a {
    color: #fff;
    padding: 15px 25px;
    display: block;
    font-weight: 700;
    transition: 0.3s;
}
nav a:hover { background-color: #ff7f00; border-radius: 5px; }

/* Slider */
.slider { position: relative; width: 100%; height: 450px; overflow: hidden; }
.slides { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* Ana içerik */
.main-content { display: flex; padding: 50px; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* Vizyon ve Misyon widgetleri */
.widget.vision {
    background-color: #28a745; /* firma yeşili */
    color: white;
}
.widget.vision h3 { color: #fff; }
.widget.vision:hover { background-color: #1e7a35; }

.widget.mission {
    background-color: #ff7f00; /* firma portakal rengi */
    color: white;
}
.widget.mission h3 { color: #fff; }
.widget.mission:hover { background-color: #e66a00; }

/* Genel widgetler */
.widget {
    background-color: #fff;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s;
}
.widget:hover { transform: translateY(-5px); }

.center-content {
    background-color: #fff;
    padding: 25px;
    flex: 2;
    min-width: 300px;
    max-width: 700px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.center-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Ürünler Widget */
.products a {
    display: block;
    margin: 12px 0;
    padding: 8px 12px;
    background-color: #28a745;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}
.products a:hover { background-color: #ff7f00; }

/* Footer */
footer { background-color: #333; color: white; text-align: center; padding: 20px; margin-top: 50px; }

/* Animasyonlar */
@keyframes fadeIn { from {opacity: 0; transform: translateY(20px);} to {opacity: 1; transform: translateY(0);} }

/* Responsive */
@media(max-width: 1024px){ .main-content { padding: 30px 20px; } }
@media(max-width: 768px){
    header { flex-direction: column; gap: 15px; }
    nav { display: none; flex-direction: column; width: 100%; text-align: center; }
    .hamburger { display: flex; }
    nav.show { display: flex; }
    nav a { padding: 12px 0; }
    .main-content { flex-direction: column; padding: 20px; }
    .center-content { order: 0; }
}

/* Tam genişlikte Fren Bakımı alanı */
.full-width-section {
    width: 100%;
    background-color: #fff;
    margin-top: 40px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.full-width-section img {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
}

.full-width-section .text {
    max-width: 600px;
}

.full-width-section h3 {
    color: #28a745;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.full-width-section p {
    line-height: 1.6;
    color: #555;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .full-width-section {
        flex-direction: column;
        text-align: center;
    }
    .full-width-section img {
        max-width: 100%;
    }
}

/* İletişim Sayfası */
.contact-page {
  padding: 60px 30px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-page h1 {
  font-size: 2em;
  color: #28a745;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.contact-info, .contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 450px;
  text-align: left;
}

.contact-info h2, .contact-form h2 {
  color: #ff7f00;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40,167,69,0.3);
}

.contact-form button {
  padding: 12px;
  border: none;
  background-color: #28a745;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #ff7f00;
}

/* Harita Alanı */
.map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-info, .contact-form {
    width: 100%;
    max-width: 100%;
  }
}

