/* Genel Stiller */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #2c3e50; /* Koyu mavi-gri */
}

a {
    text-decoration: none;
    color: #e74c3c; /* Kırmızımsı */
}

a:hover {
    color: #c0392b; /* Koyu kırmızımsı */
}

/* Header */
header {
    background: #34495e; /* Koyu mavi */
    color: #ecf0f1; /* Açık gri */
    padding: 1rem 0;
    border-bottom: #e74c3c 3px solid;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 a {
    color: #ecf0f1;
    font-size: 1.8rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #e74c3c;
}

header .header-phone a {
    color: #ecf0f1;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid #e74c3c;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header .header-phone a:hover {
    background-color: #e74c3c;
    color: #fff;
}
header .header-phone i {
    margin-right: 8px;
}


/* Hero Section & Slider */
.hero {
    position: relative;
    height: 70vh; /* Ekran yüksekliğinin %70'i */
    min-height: 400px;
    overflow: hidden; /* Slider taşmalarını engelle */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Slaytları yan yana sıralamak için */
}

.slide {
    min-width: 100%; /* Her slayt tam ekran genişliğinde */
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out, transform 0.8s ease-out;
    opacity: 0;
    position: absolute; /* Slaytları üst üste bindirmek için */
    left:0; /* Başlangıçta solda */
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Slaytların üzerinde */
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6); /* Okunurluk için yarı saydam arka plan */
    padding: 30px 40px;
    border-radius: 10px;
    max-width: 700px;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
    color: white;
}

/* Slider Kontrolleri */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
    z-index: 3; /* Hero content'in de üzerinde */
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(231, 76, 60, 0.8); /* Kırmızımsı hover */
}

/* Hizmetler Bölümü */
.services {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.service-item {
    flex-basis: calc(50% - 40px); /* İki sütun için */
    max-width: calc(50% - 40px);
    background: #ecf0f1; /* Açık gri */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* İletişim Bölümü */
.contact {
    padding: 60px 0;
    background-color: #34495e; /* Koyu mavi */
    color: #ecf0f1; /* Açık gri */
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 30px;
}

.info-item {
    flex-basis: calc(33.333% - 40px);
    max-width: calc(33.333% - 40px);
    background: #2c3e50; /* Daha koyu mavi */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.info-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.info-item p, .info-item p a {
    font-size: 1.1rem;
    color: #bdc3c7; /* Gri */
}
.info-item p a:hover {
    color: #e74c3c;
}

.contact-buttons-mobile {
    display: none; /* Varsayılan olarak gizli, mobil için görünecek */
    margin-top: 30px;
}

.contact-buttons-mobile a {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    transition: opacity 0.3s ease;
}
.contact-buttons-mobile a:hover {
    opacity: 0.8;
}
.contact-buttons-mobile .whatsapp-mobile {
    background-color: #25D366; /* WhatsApp yeşili */
}
.contact-buttons-mobile .call-mobile {
    background-color: #e74c3c; /* Ana renk */
}
.contact-buttons-mobile i {
    margin-right: 8px;
}


/* Footer */
footer {
    background: #2c3e50; /* En koyu mavi */
    color: #bdc3c7; /* Gri */
    text-align: center;
    padding: 30px 0;
    margin-top: 0; /* Contact bölümü ile bitişik */
}

footer p {
    margin: 5px 0;
}
footer a {
    color: #bdc3c7;
}
footer a:hover {
    color: #e74c3c;
}


/* Kayar Butonlar */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001; /* Diğer her şeyin üzerinde */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-buttons a {
    background-color: #e74c3c; /* Ana renk */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.floating-buttons a:hover {
    transform: scale(1.1);
}

.floating-buttons .whatsapp-fab {
    background-color: #25D366; /* WhatsApp yeşili */
}
.floating-buttons .whatsapp-fab:hover {
    background-color: #1DA851;
}
.floating-buttons .call-fab:hover {
    background-color: #c0392b;
}


/* Responsive Tasarım */
@media (max-width: 992px) {
    .service-item, .info-item {
        flex-basis: calc(50% - 20px); /* Orta ekranlarda iki sütun */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    header .logo h1 {
        margin-bottom: 10px;
    }
    header nav ul {
        margin-top: 10px;
        margin-bottom: 15px;
        justify-content: center;
    }
    header nav ul li {
        margin: 0 10px;
    }
     header .header-phone {
        margin-top: 10px;
    }

    .hero {
        height: 60vh;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .service-item, .info-item {
        flex-basis: 100%; /* Küçük ekranlarda tek sütun */
        max-width: 100%;
        margin-bottom: 20px;
    }

    .service-items, .contact-info {
        gap: 20px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    .floating-buttons a {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-buttons-mobile {
        display: flex; /* Mobilde görünür */
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    header .logo h1 a {
        font-size: 1.5rem;
    }
    header nav ul li a {
        font-size: 0.9rem;
    }
    header .header-phone a {
        font-size: 1rem;
        padding: 6px 12px;
    }
    .hero-content {
        padding: 20px;
    }
    .hero-content h2 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .services h2, .contact h2 {
        font-size: 2rem;
    }
    .service-item h3, .info-item h3 {
        font-size: 1.3rem;
    }
}