/* Genel Stil Ayarları */
:root {
    --primary-color: #004d99; /* Koyu Mavi - arızadestekmerkezi.com'a benzer */
    --secondary-color: #ffc107; /* Vurgu Rengi (Sarı) */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Üst Bar */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .logo-area h1 {
        font-size: 1.5em;
        margin-bottom: 5px;
    }
    .contact-info a {
        font-size: 1.2em;
        margin-left: 0;
    }
}

.logo-area h1 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info a {
    color: var(--secondary-color);
    font-size: 1.5em;
    font-weight: 700;
    margin-left: 20px;
}

/* Hero Section - Ana Başlık ve Görsel */
#hero {
    position: relative;
    height: 600px; /* Slider yüksekliği artırıldı */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Koyu overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    color: var(--white); /* Yazı rengi beyaz */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.6em;
    margin-bottom: 30px;
    font-weight: 300;
    color: var(--white); /* Yazı rengi beyaz */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background-color: #ffdb6d;
}

/* Quick Contact Bar - Hızlı İletişim Çubuğu */
#quick-contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.quick-contact-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; /* Mobil görünümde alt alta geçişi garantilemek için */
}

@media (max-width: 768px) {
    .quick-contact-content {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }
    .quick-contact-content h2 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    .quick-contact-content a {
        margin-top: 0;
    }
}

.quick-contact-content h2 {
    font-size: 1.8em;
    margin: 0;
    text-align: center; /* Mobil görünümde ortalamak için */
    width: 100%;
}

.quick-contact-content a {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2em; /* Telefon numarasını büyütmek için */
    margin-top: 10px; /* Mobil görünümde boşluk bırakmak için */
}

/* Markalarımız Section - Google Ads Uyumlu */
#brands {
    padding: 60px 0;
    background-color: var(--light-bg);
}

#brands h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

#brands h2:after, #services h2:after, #why-us h2:after, #testimonials h2:after, #about h2:after, #map h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

.brands-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.brand-button-new {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 10px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.brand-button-new:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bg-light {
    background-color: var(--light-bg);
}

/* Hizmetlerimiz */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-bottom: 4px solid var(--secondary-color);
    /* position: relative kaldırıldı, responsive sorunları gidermek için */
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    height: 150px; /* Görsel yüksekliği daha da küçültüldü */
    object-fit: cover; /* Görselin kutuyu doldurması sağlandı */
    margin-bottom: 15px;
    border-radius: 5px;
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Neden Biz? */
#why-us .why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.why-us-item {
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* position: relative kaldırıldı, responsive sorunları gidermek için */
}

.why-us-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.why-us-item h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Müşteri Yorumları */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white); /* Yorum kartı arka planı beyaz yapıldı */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card footer {
    font-weight: 600;
    color: var(--white); /* Yorum yapan adı beyaz yapıldı */
    background-color: var(--primary-color); /* Arka planı koyu mavi yapıldı */
    padding: 10px;
    border-radius: 0 0 10px 10px;
    margin-top: 15px;
    border-top: none;
    display: block;
    text-align: center;
}

.testimonial-card {
    background-color: var(--light-bg); /* Yorum kartı arka planı açık gri yapıldı */
    padding: 30px 30px 0 30px; /* Footer için boşluk bırakıldı */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    flex-grow: 1;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    .footer-section {
        min-width: 100%;
        text-align: center;
    }
    .footer-section h3 {
        margin-top: 15px;
    }
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.footer-section p, .footer-section a {
    color: #ccc;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Ayarlar */
section {
    padding: 60px 0; /* Tüm section'lara varsayılan padding */
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
        color: var(--white);
    }
    .hero-content p {
        font-size: 1.2em;
        color: var(--white);
    }
    #hero {
        height: 450px;
    }
    /* Genel mobil düzenleme */
    section {
        padding: 40px 0;
    }
    .container {
        padding: 0 15px;
    }
    h2 {
        font-size: 2em !important;
    }
    .services-grid, .why-us-grid, .testimonials-slider {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
    }
    .service-item img {
        height: 200px; /* Mobil için görsel yüksekliği ayarı */
    }
}
