/*
Theme Name: Automobile Mechanic Child
Theme URI: https://www.luzuk.com/products/free-automobile-mechanic-wordpress-theme
Author: Senin İsmin
Author URI: #
Description: Child theme of Automobile Mechanic
Template: automobile-mechanic
Version: 0.1
Text Domain: automobile-mechanic-child
*/

/* Hero */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
  }
  .hero .overlay {
    background: rgba(0,0,0,0.4);
    padding: 50px;
    border-radius: 10px;
  }
  .hero .btn {
    background-color: #FF6F00;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
  }
  
  /* Hizmetler */
  .services-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
  }
  .service-item {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    transition: transform 0.3s;
  }
  .service-item:hover {
    transform: translateY(-5px);
  }
  .service-item img {
    max-width: 100px;
    margin-bottom: 15px;
  }
  
  /* Ürünler */
  .products-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
  }
  .products-grid img {
    max-width: 120px;
  }
  
  /* Müşteri Memnuniyeti */
  .reviews-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
  }
  .review-item {
    background: #f1f1f1;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 45%;
  }
  .review-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  /* Slider item görünümleri */
#products-slider .item img {
  width: 180px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.4s, box-shadow 0.4s;
}

#products-slider .item img:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* Slider navigation okları */
.owl-nav button {
  background: #0F2B5B;
  color: #fff;
  padding: 10px 15px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.owl-nav button:hover {
  background: #1E3D8C;
  transform: translateY(-50%) scale(1.1);
}

.owl-nav .owl-prev { left: -25px; }
.owl-nav .owl-next { right: -25px; }

/* My Custom Home V2 Template Özel Stilleri */
#main-content {
  margin-top: 0;
}

/* Container genişlik ayarları */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero section iyileştirmeleri */
#hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,43,91,0.75) 0%, rgba(15,43,91,0.45) 45%, rgba(15,43,91,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 20px;
}

/* CTA butonları */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Services grid responsive */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background: #fff;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 2px solid rgba(15,43,91,0.08);
  position: relative;
  overflow: hidden;
}

.service-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 10px 30px rgba(15,43,91,0.15);
  border-color: rgba(15,43,91,0.2);
}

.service-item:hover h3 {
  color: #FF6B00;
  transform: translateY(-2px);
}

/* Products slider */
#products-slider .item {
  text-align: center;
  padding: 20px;
}

#products-slider .item img {
  width: 180px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}

#products-slider .item img:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* Reviews slider */
#reviews-slider .item {
  padding: 20px;
}

.review-item {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.review-item img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* About section */
#about {
  padding: 80px 0;
  background: #fff;
}

#about h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #0F2B5B;
  margin-bottom: 30px;
  font-weight: 800;
}

/* Contact info section */
#contact-info {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F2B5B 0%, #1E3D8C 100%);
  color: #fff;
}

#contact-info h2 {
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 50px;
  font-weight: 800;
}

/* Final CTA section */
#final-cta {
  padding: 60px 0;
  background: #f8f9fa;
  text-align: center;
}

#final-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: #0F2B5B;
  margin-bottom: 20px;
  font-weight: 800;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .service-item {
    padding: 25px 20px;
  }
  
  #about > .container > div {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  #contact-info .container > div {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  #final-cta .container > div {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  #final-cta .container > div > a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    min-height: 60vh;
  }
  
  .hero-content h1 {
    font-size: clamp(24px, 6vw, 40px);
  }
  
  .hero-content p {
    font-size: clamp(14px, 3vw, 18px);
  }
  
  #cta-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  #contact-info .container > div {
    grid-template-columns: 1fr;
  }
}
.products-title {
  text-align: center;
  font-size: 3rem;      /* başlığı büyük yapar */
  font-weight: 700;     /* kalın yapar */
  margin-bottom: 2rem;  /* slider ile arada boşluk */
  color: #0F2B5B;          /* isteğe göre renk */
}

/* service-query-container için temel stiller */
.service-query-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
    max-width: 800px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.service-query-container .page-title {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.service-query-container .page-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-query-form .form-group {
    margin-bottom: 20px;
}

.service-query-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.service-query-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* padding'i genişliğe dahil et */
}

.service-query-form input[type="text"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}

.service-query-form .query-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-query-form .query-btn:hover {
    background-color: #005f8a;
}

.query-results {
    color: #333;
}

.query-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.query-results p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.query-results table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.query-results table th,
.query-results table td {
    padding: 12px;
    border: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.query-results table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #666;
}

.query-results table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.query-results .query-message p {
    font-size: 1rem;
    font-weight: 500;
}

.query-results .query-message p.error-message {
    color: red;
}
.query-results .query-message p.success-message {
    color: green;
}
/* style.css veya özel CSS dosyanızda */

/* style.css veya özel CSS dosyanızda */

.solution-partner-tagline {
  text-align: center;
  margin: 40px 0; /* Üstten ve alttan boşluk */
  font-size: 4rem; /* Great Vibes gibi fontlar daha büyük olunca daha iyi görünür */
  font-weight: 400; /* Great Vibes genellikle tek (normal) ağırlıktadır */
  color: #0F2B5B; /* Biraz daha koyu, sofistike bir gri-mavi tonu */
  letter-spacing: 0.5px; /* Harfler arasında hafif boşluk, okunabilirliği artırabilir */
  line-height: 1.4; /* Okunabilirliği artırmak için */
  
  /* Great Vibes fontunu uygula */
  font-family: 'Great Vibes', cursive; 

  /* El yazısı fontlarında metni büyük harf yapmak okunabilirliği çok düşürür, bu yüzden 'none' kullanıyoruz. */
  text-transform: none; 

  /* Hafif bir gölge efekti ekleyerek derinlik verebilirsiniz (isteğe bağlı) */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); 
}

/* Responsive (duyarlı) tasarım için medya sorgusu */
@media (max-width: 768px) {
  .solution-partner-tagline {
    font-size: 2rem; /* Mobil cihazlarda daha küçük font */
  }
}
/* ==========================================================================
   İletişim Sayfası Stilleri
   ========================================================================== */

   
.contact-page-container {
    padding: 80px 0;
    background-color: #f8f9fa; /* Sitenizin genel arka plan rengiyle uyumlu */
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .page-title {
    font-size: clamp(28px, 4vw, 42px);
    color: #0F2B5B;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-header .page-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form 2 birim, bilgi 1 birim yer kaplasın */
    gap: 50px;
    align-items: flex-start;
}

/* Form Alanı */
.contact-form-wrapper,
.contact-info-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    font-size: 1.8rem;
    color: #0F2B5B;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0F2B5B;
    box-shadow: 0 0 0 3px rgba(15, 43, 91, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    background-color: #FF6F00; /* Sitenizdeki ana CTA rengi */
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #E66300;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.25);
}

/* Form Gönderim Mesajları */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none; /* JS ile gösterilecek */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Sağdaki İletişim Bilgileri */
.contact-info-wrapper p {
    color: #666;
    margin-bottom: 25px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-details i {
    font-size: 1.5rem;
    color: #FF6F00;
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.contact-details div {
    display: flex;
    flex-direction: column;
}

.contact-details strong {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.contact-details span,
.contact-details a {
    color: #555;
    text-decoration: none;
}

.contact-details a:hover {
    color: #FF6F00;
}

/* Mobil Cihazlar için Responsive Ayarlar */
@media (max-width: 992px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-page-container {
        padding: 60px 0;
    }
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
    }
}

/* --- Kısa Sayfalarda Footer'ı En Alta Sabitleme Kodu --- */

/* Sayfa gövdesini esnek bir dikey konteyner yap */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sayfa boyu en az ekran yüksekliği kadar olsun */
}

/* Ana içerik alanını esneterek boşluğu doldurmasını sağla */
/* Not: Temanızda bu ID #content veya #main olabilir. #primary çalışmazsa bunları deneyin. */
#primary {
    flex-grow: 1;
}

/* ==========================================================================
   Mobil ve Tablet İçin Ek İyileştirmeler
   ========================================================================== */

@media (max-width: 768px) {
    
    /* Bölümler (section) arasındaki boşlukları mobil için biraz azaltalım */
    #about,
    #contact-info,
    #final-cta {
        padding: 60px 0;
    }
    
    /* Hero alanındaki yazıları ve butonu biraz daha kompakt yapalım */
    .hero .overlay {
        padding: 30px;
    }

    .hero h1 {
        font-size: 2.5rem; /* Başlık boyutunu mobil için ayarla */
    }

    .hero p {
        font-size: 1rem; /* Paragraf metnini ayarla */
    }

    /* İletişim sayfası düzenlemesi */
    .contact-content-wrapper {
        grid-template-columns: 1fr; /* Zaten yapmışsınız ama tekrar teyit edelim */
        gap: 30px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px 25px; /* İç boşlukları biraz azalt */
    }
}

@media (max-width: 768px) {
    
    /* Hizmetler bölümü - Zaten grid ile yapmışsınız, bu harika! */
    .services-grid {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
    }

    /* Ürünler ve Müşteri Yorumları esnek (flex) yapıda olduğu için */
    .products-grid,
    .reviews-grid {
        flex-direction: column; /* Öğeleri dikeyde sırala (alt alta) */
        align-items: center;    /* Ortala */
    }

    .review-item {
        flex-basis: 100%; /* Her bir yorumun genişliği tam olsun */
        width: 100%;
    }
}

@media (max-width: 480px) {

    /* Genel başlıkların boyutlarını küçük telefonlar için optimize edelim */
    .products-title,
    .contact-header .page-title,
    #about h2 {
        font-size: 2rem; /* Daha küçük bir başlık boyutu */
    }

    .solution-partner-tagline {
        font-size: 2.2rem; /* El yazısı fontunu biraz daha küçült */
    }

    /* Butonların iç boşluğunu biraz azaltarak daha zarif görünmelerini sağlayalım */
    .btn, 
    .submit-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Form elemanlarını daha kompakt hale getirelim */
    .service-query-container {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

}

/* ========================================================================= */
/* WORDPRESS ADMIN BAR İÇİN HEADER KONUM DÜZELTMESİ                        */
/* ========================================================================= */

/* Admin bar'ı aktifken, sabitlenmiş header'ı aşağı it */
body.admin-bar .header {
    top: 32px; /* Admin bar'ının masaüstü yüksekliği */
}

/* Admin bar'ı mobilde daha yüksek olduğu için (782px altında) */
@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px; /* Admin bar'ının mobil yüksekliği */
    }
}

/* --- İÇERİK BOŞLUĞU AYARI (ÇOK ÖNEMLİ) --- */
/* 
   body'e verdiğiniz padding-top değeri de admin bar'ına göre ayarlanmalı,
   aksi takdirde içeriğiniz yine header'ın altına girer.
*/
body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif;
    /* Normalde header yüksekliği kadar boşluk */
    padding-top: 84px; 
}

/* Admin bar'ı varken bu boşluğu artır */
body.admin-bar {
    padding-top: calc(84px + 32px); /* Header yüksekliği + Admin Bar Yüksekliği */
}

@media screen and (max-width: 782px) {
    body.admin-bar {
       padding-top: calc(84px + 46px); /* Mobil için de aynı hesaplama */
    }
    
    
    
    
    
}



