/* Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth; /* Sayfa içi geçişleri yumuşatır */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    font-style: italic; /* Görsel yüklenmezse yazı düzgün dursun */
}

/* Performans İpucu: Sadece görünür olduğunda yükle */
.service-card, .testimonial-card {
    content-visibility: auto; 
    contain-intrinsic-size: 300px;
}

body {
    background-color: #121212; /* Kömür Siyahı */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

h1, h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Navigasyon */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(18, 18, 18, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.logo span {
    color: #FF6D00; /* Yarış Turuncusu */
}

/* Butonlar */
.btn-randevu, .btn-main {
    background-color: #FF6D00;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-randevu:hover {
    box-shadow: 0 0 15px #FF6D00;
}

/* Hero Bölümü */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* ÖNEMLİ: URL kısmını img/ klasöründeki resmine yönlendiriyoruz */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../img/ana-gorsel.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Opsiyonel: Sayfa kayarken resmin sabit kalmasını sağlar (Parallax efekti) */
    padding-top: 80px;
}
.hero-content {
    display: flex;
    flex-direction: column; /* İçerikleri alt alta dizer */
    align-items: center;
    gap: 25px; /* Slogan, P ve Buton arasına net boşluk bırakır */
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Ekrana göre boyutunu ayarlar, iç içe geçmeyi önler */
    line-height: 1.1;
    margin: 0;
}

.hero p {
    font-size: 1.5rem;
    color: #FF6D00; /* Vurgu rengi */
    font-weight: bold;
    margin: 0;
}

.hero-actions {
    margin-top: 10px; /* Ekstra manuel boşluk ihtiyacı için */
}

/* Hizmetler Bölümü Geneli */
.services-container {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: #FF6D00;
    margin-bottom: 40px;
    text-align: center;
}

/* Bento Grid Yapısı */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sütunlu yapı */
    grid-gap: 20px;
}

/* Kartların Tasarımı */
.service-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px); /* Cam efekti */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.service-card:hover {
    border-color: #FF6D00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 109, 0, 0.2);
}

/* Bento Stili Boyutlandırma */
.card-large {
    grid-row: span 2; /* İki kat yükseklik */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-wide {
    grid-column: span 2; /* İki kat genişlik */
}

/* İkon ve Metinler */
.service-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.service-card p {
    color: #aaa;
    line-height: 1.6;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
    .card-large, .card-wide {
        grid-row: auto;
        grid-column: auto;
    }
}
/* Randevu Bölümü Geneli */
.contact-section {
    padding: 100px 5%;
    background-color: #0a0a0a; /* Daha koyu bir siyah */
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* Form Tasarımı */
.appointment-form {
    flex: 1;
    background: #1e1e1e;
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #FF6D00;
}

.appointment-form h2 {
    margin-bottom: 10px;
}

.appointment-form p {
    margin-bottom: 30px;
    color: #aaa;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 15px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.input-group input:focus {
    border-color: #FF6D00;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #FF6D00;
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-submit:hover {
    box-shadow: 0 0 20px rgba(255, 109, 0, 0.4);
}

/* WhatsApp ve Bilgi Kutuları */
.direct-contact {
    flex: 1;
}

.contact-box {
    background: linear-gradient(135deg, #FF6D00, #E65100);
    padding: 30px;
    border-radius: 20px;
    color: #000;
    margin-bottom: 20px;
}

.btn-whatsapp {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
}

.info-box p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #ccc;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}
/* Yorumlar Bölümü */
.testimonials-section {
    padding: 80px 5%;
    background-color: #121212;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    position: relative;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: #FF6D00;
}

.rating {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 20px;
}

.client-info strong {
    display: block;
    color: #FF6D00;
}

.client-info span {
    font-size: 0.85rem;
    color: #888;
}

/* Referans Bandı */
.reference-band {
    background: #000;
    padding: 40px 0;
    border-top: 1px solid #222;
}

.reference-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.reference-container span {
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #aaa;
    filter: grayscale(100%);
    transition: 0.3s;
}

.logo-item:hover {
    filter: grayscale(0%);
    color: #fff;
    opacity: 1;
}

/* Mobil için küçük ayar */
@media (max-width: 768px) {
    .logos {
        gap: 20px;
    }
}
/* Footer Genel Tasarımı */
.main-footer {
    background-color: #080808;
    padding: 60px 5% 20px;
    border-top: 2px solid #FF6D00;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about p {
    color: #888;
    margin-top: 15px;
    line-height: 1.6;
}

.main-footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

/* Linkler ve Sosyal Medya */
.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #FF6D00;
    padding-left: 5px;
}

.social-icons a {
    display: block;
    color: #888;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #FF6D00;
}

/* Alt Telif Yazısı */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.btn-emergency {
    background-color: #d32f2f;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-right: 15px;
    animation: pulse 2s infinite; /* Parlama efekti */
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}
.partner-side {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid #444; /* İki logoyu zarifçe ayıran çizgi */
    padding-left: 20px;
}
.location-text {
    font-size: 0.75rem;
    color: #FF6D00; /* Turuncu vurgumuz */
    font-weight: bold;
    letter-spacing: 1px;
}
.homer-logo {
    height: 35px; /* Kurumsal logoyu zarif tutalım */
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.divider {
    width: 1px;
    height: 30px;
    background: #444;
}

.homer-logo-nav {
    height: 28px;
    filter: brightness(0) invert(1); /* Siyah logoyu beyaza çevirir, kırmızıyı korumak isterseniz görseli direkt ekleyin */
}

.btn-emergency {
    background-color: #E30613; /* Homer Kırmızısı */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 10px;
    animation: pulse 2s infinite;
}
/* Kurumsal Bölüm Stilleri */
.corporate-section {
    background: linear-gradient(90deg, #1a1a1a 0%, #121212 100%);
    padding: 80px 5%;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
}

.corporate-content {
    max-width: 900px;
    text-align: center;
}

.corporate-content h2 {
    color: #FF6D00; /* Automet Turuncusu */
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.corporate-content p {
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.corp-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.corp-features li {
    background: #252525;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    color: #fff;
    border: 1px solid #444;
    transition: 0.3s;
}

.corp-features li:hover {
    border-color: #FF6D00;
    transform: scale(1.05);
}

.btn-corp {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    color: #FF6D00;
    border: 2px solid #FF6D00;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-corp:hover {
    background-color: #FF6D00;
    color: #000;
}

/* Mobil Ayarı */
@media (max-width: 768px) {
    .corp-features {
        flex-direction: column;
        gap: 15px;
    }
}
.partner-statement {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 10px; /* Alttaki telif yazısıyla arayı açar */
    font-weight: 400;
}

.partner-statement span {
    color: #E30613; /* Homer'in kurumsal kırmızısı */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #222;
}
.card-tag {
    background: #E30613; /* Homer Kırmızısı */
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.mini-list {
    list-style: none;
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mini-list li {
    font-size: 0.85rem;
    color: #FF6D00; /* Automet Turuncusu */
    font-weight: bold;
}
.gallery-section {
    padding: 80px 5%;
    background-color: #121212;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #333;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya tam sığdırır ve kırpmaz */
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Üzerine gelince resmi büyütür */
}
@media (max-width: 768px) {
    /* Navigasyon kutusunu dikey (üst üste) hale getiriyoruz */
    nav {
        flex-direction: column !important;
        height: auto !important;
        padding: 15px 10px !important;
        gap: 20px !important; /* Logolar ve butonlar arasındaki boşluk */
    }

    /* Logo Grubunu Ortala */
    .logo-group {
        width: 100%;
        justify-content: center !important;
        gap: 10px;
    }

    /* Logoların boyutunu mobilde biraz optimize edelim */
    .logo {
        font-size: 1.1rem !important;
    }

    .homer-logo-nav {
        height: 20px !important; /* Homer logosu çok yer kaplamasın */
    }

    .divider {
        height: 15px !important; /* Çizgi mobilde daha küçük olsun */
    }

    /* Butonları Alt Satırda Yan Yana Diz */
    .nav-actions {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
        justify-content: center;
    }

    /* Butonların mobilde yan yana eşit genişlikte durması için flex: 1 */
    .btn-emergency, .btn-randevu {
        flex: 1; 
        font-size: 0.75rem !important; /* Yazıları biraz küçülterek sığdırıyoruz */
        padding: 12px 5px !important;
        text-align: center;
        white-space: nowrap; /* Yazıların alt satıra kaymasını önler */
        border-radius: 5px;
    }

    /* Yol yardım butonu daha dikkat çekici kalabilir */
    .btn-emergency {
        background-color: #FF6D00 !important;
        color: white !important;
    }
}

/* Çok küçük ekranlar için (Örn: iPhone SE) */
@media (max-width: 380px) {
    .btn-emergency, .btn-randevu {
        font-size: 0.65rem;
        letter-spacing: 0;
    }
}
.insurance-partners {
    padding: 80px 5%;
    background-color: #000; /* Koyu zemin */
    text-align: center;
}

.white-text {
    color: #FFFFFF !important; /* Başlık bembeyaz */
    border-bottom: 2px solid #CFB97F; /* Bina rengindeki altın sarısı çizgi */
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-subtitle {
    color: #FFFFFF; /* Alt başlık beyaz */
    opacity: 0.8;
    margin-bottom: 50px;
}

/* Logoların toplandığı ana ızgara */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Mobilde 120px'e kadar küçülür */
    gap: 30px;
    align-items: center;
    justify-items: center; /* Logoları hücre içinde ortalar */
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

/* Her bir logonun kutusu */
.partner-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Resmin kendisi */
.partner-logo img {
    width: auto !important;     /* Kendi orijinal oranını korusun */
    height: auto !important;    /* Orantılı kalsın */
    max-width: 130px !important; /* Logoların en büyük olabileceği genişlik */
    max-height: 60px !important; /* Logoların en fazla yüksekliği (Çok önemli!) */
    
    /* Beyaz yapma efektleri */
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.more-partners-action {
    margin-top: 50px;
    padding-bottom: 20px;
}

.more-partners-action p {
    color: #FFFFFF !important;
    opacity: 0.7;
    margin-bottom: 25px; /* Yazı ile butonun arasını açar */
    font-size: 0.95rem;
}

.btn-all-partners {
    display: inline-block !important;
    padding: 12px 35px !important;
    background-color: transparent !important;
    color: #FF6D00 !important; /* Mavi yerine turuncu */
    border: 2px solid #FF6D00 !important; /* Daha belirgin çerçeve */
    text-decoration: none !important; /* Alt çizgiyi kaldırır */
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-all-partners span {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-all-partners:hover {
    background-color: #FF6D00 !important;
    color: #000000 !important; /* Üzerine gelince yazı siyah olur */
}

.btn-all-partners:hover span {
    transform: translateX(5px); /* Ok işareti sağa kayar */
}
.campaign-video {
    position: relative;
    width: 100%;
    height: 500px; /* Bölüm yüksekliği */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin: 40px auto; /* Üstten ve alttan boşluk bırakır, bölümü ayırır */
}
/* Masaüstü (Bilgisayar) İçin Özel Ayar */
@media (min-width: 992px) {
    .campaign-video {
        height: 400px;       /* Bilgisayarda yüksekliği biraz azaltıyoruz */
        max-width: 1100px;   /* Sitenin geri kalanıyla aynı hizaya gelmesi için genişliği sınırlıyoruz */
        border-radius: 20px; /* Kenarları yuvarlatarak "kutu" içinde daha şık durmasını sağlarız */
        box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Hafif bir derinlik katar */
    }
}

.video-bg {
    position: absolute;
/*    top: 50%; */
/*    left: 50%; */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videoyu boşluk bırakmadan yayar */
/*    transform: translate(-50%, -50%); */
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Videoyu %30 karartır */
    z-index: -1;
}

.campaign-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.campaign-content h2 span {
    color: #FF6D00; /* Kendi turuncumuz */
}

.campaign-tag {
    background: #FF6D00;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.campaign-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-campaign {
    display: inline-block;
    padding: 15px 40px;
    background: #FF6D00;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-campaign:hover {
    background: #e66200;
    transform: scale(1.05);
}

/* Mobil Düzenleme */
@media (max-width: 768px) {
    .campaign-video { height: 400px; }
    .campaign-content h2 { font-size: 1.8rem; }
    .campaign-content p { font-size: 0.9rem; padding: 0 20px; }
}