/* --- GENEL AYARLAR VE SIFIRLAMA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #526578; /* Biraz daha açık ve ferah arka plan */
    color: #1a252f;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER & NAVİGASYON --- */
header {
    background-color: #0f172a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #0056b3;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #00a8ff;
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #00a8ff;
}

/* --- HERO SLIDER (5 GÖRSELLİ DÖNGÜ) --- */
.hero {
    position: relative;
    height: 75vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: imageSlider5 25s infinite;
}

/* Görsel Atamaları (Sabit Görsel Yolları) */
.bg1 { background-image: url('dukkanici.jfif'); animation-delay: 0s; }
.bg2 { background-image: url('klima.png'); animation-delay: 5s; }
.bg3 { background-image: url('camasirmak.jfif'); animation-delay: 10s; }
.bg4 { background-image: url('bulasikmak.jfif'); animation-delay: 15s; }
.bg5 { background-image: url('buzdolabi.jfif'); animation-delay: 20s; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

.sub-tag {
    background: #0056b3;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.4);
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.cta-btn {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #003d80;
    transform: translateY(-2px);
}

/* --- MARKALAR BANNERI --- */
.brands-banner {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    border-bottom: 1px solid #1e293b;
}

.brands-container span {
    color: #00a8ff;
    margin: 0 8px;
}

/* --- HİZMETLERİMİZ --- */
.services {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0056b3;
    margin: 10px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

/* Koyu Mavi Çerçeveli Beyaz Hizmet Kartları */
.card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #0056b3; /* Koyu Mavi Çerçeve */
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #003d80;
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.3);
}

.card i {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 18px;
    background: #eef7ff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    display: inline-block;
}

.card h3 {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 1.2rem;
}

.card p {
    color: #475569;
    font-size: 0.92rem;
}

/* --- İLETİŞİM & KONUM --- */
.contact-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* Koyu Mavi Çerçeveli İletişim Kartı */
.contact-info {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #0056b3; /* Koyu Mavi Çerçeve */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.2rem;
    background: #0056b3;
    color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
    flex-shrink: 0;
}

.info-item h4 {
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 2px;
}

.info-item p {
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
}

/* Koyu Mavi Çerçeveli Harita Kutusu */
.map-container {
    border-radius: 18px;
    overflow: hidden;
    min-height: 350px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #0056b3; /* Koyu Mavi Çerçeve */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- WHATSAPP BUTONU --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 10000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
    margin-top: 60px;
}

/* --- SLIDER ANİMASYONU --- */
@keyframes imageSlider5 {
    0% { opacity: 0; transform: scale(1); }
    6% { opacity: 1; }
    20% { opacity: 1; }
    26% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

/* --- MOBİL VE TABLET UYUMLULUK --- */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero {
        height: 65vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .brands-banner {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .brands-container span {
        margin: 0 4px;
    }
}