/* 1. Temel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 2. YAPIŞKAN HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid #f2f2f2;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

/* 3. NAVİGASYON (MASAÜSTÜ) */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.navbar ul li a {
    color: #333;
    font-size: 13px; /* Yazı boyutu biraz dengelendi */
    font-weight: 600;
    text-decoration: none;
    /* text-transform: uppercase;  <-- Bu satır kaldırıldı */
    padding: 8px 15px;
    border-radius: 6px;
    transition: 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active-page {
    background-color: #000000;
    color: #ffffff;
}

.menu-toggle, .close-menu, .mobile-menu-footer { 
    display: none; 
}

/* 4. İÇERİK DÜZENİ */
.services-content, .contact-content {
    padding-top: 95px;
}

.map-section {
    width: 100%;
    line-height: 0;
}

.contact-grid {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* FORM STİLİ */
.contact-form-container h2, .contact-info-container h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

.gradient-btn {
    background: linear-gradient(135deg, #8c52ff 0%, #236caf 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    /* text-transform: uppercase; <-- Butonlarda kalsın istersen durabilir, kaldırmak istersen silebilirsin */
    cursor: pointer;
    width: 100%;
}

/* BİLGİ KARTLARI */
.contact-info-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    color: #333;
    border: 1px solid #eee;
}

.info-item i {
    font-size: 20px;
    color: #8c52ff;
}

.info-item h3 { font-size: 14px; color: #333; font-weight: 700; }
.info-item p { font-size: 13px; color: #666; }

.social-links a {
    width: 35px; height: 35px;
    border-radius: 50%;
    background: #eee;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}
.social-links a:hover { background: #8c52ff; color: #fff; }

/* 5. HİZMET KARTLARI (SAYFA İÇİ) */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px;
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
}

.service-card {
    background: linear-gradient(135deg, #8c52ff 0%, #236caf 100%);
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    transition: 0.4s ease;
}

.service-card i { font-size: 28px; margin-bottom: 8px; }
.service-card h3 { 
    font-size: 0.85rem; 
    font-weight: 700; 
    /* text-transform: uppercase; <-- Kart başlıklarındaki büyük harf özelliğini de kaldırdım */
}
.card-details { max-height: 0; opacity: 0; overflow: hidden; transition: 0.5s ease; }
.service-card.active .card-details { max-height: 150px; opacity: 1; margin-top: 10px; }
.card-details p { font-size: 0.75rem; line-height: 1.4; }

/* 6. MOBİL AYARLAR */
@media (max-width: 992px) {
    .menu-toggle {
        display: block !important;
        font-size: 22px;
        color: #000;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        padding: 30px;
        transition: 0.4s ease-in-out;
        overflow-y: auto;
    }

    .navbar.active { right: 0; }

    .close-menu {
        display: block !important;
        align-self: flex-end;
        font-size: 26px;
        color: #333;
        margin-bottom: 20px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 0px;
        width: 100%;
    }

    .navbar ul li a i { display: none !important; }

    .navbar ul li a {
        background-color: transparent !important;
        color: #333 !important;
        padding: 15px 0;
        border-bottom: 1px solid #f9f9f9;
        display: block;
        width: 100%;
        /* text-transform: none; <-- Burası zaten küçük harfe izin veriyor */
    }

    .navbar ul li a span {
        display: block !important;
        font-size: 16px;
        font-weight: 600;
    }

    /* MOBİL MENÜ FOOTER */
    .mobile-menu-footer {
        display: flex !important;
        flex-direction: column;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .menu-description p {
        font-size: 13px;
        color: #777;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .menu-contact {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .menu-contact a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .menu-contact i {
        color: #8c52ff;
        font-size: 14px;
    }

    .menu-social {
        display: flex;
        gap: 12px;
    }

    .menu-social a {
        font-size: 18px;
        color: #555;
        background: #f2f2f2;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .services-detailed-grid {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 20px;
    }

    .service-card {
        aspect-ratio: auto;
        padding: 25px 15px;
        min-height: 120px;
    }

    .service-card.active {
        padding-bottom: 30px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card i {
        font-size: 32px;
    }

    .contact-grid { 
        grid-template-columns: 1fr; 
        width: 90%; 
    }
}

/* 7. FOOTER */
.main-footer { padding: 30px 0; text-align: center; background: #fdfdfd; border-top: 1px solid #f0f0f0; color: #999; font-size: 12px; }