﻿/* Sabit boyutlu resim, mobil uyumlu */
.sabit-resim {
    width: 100%;
    max-width: 200%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0033A1;
}

p, label, input, textarea {
    font-weight: 400;
}

/* Utility replacements for Bootstrap */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    justify-content: center; /* ortalama */
}

.col {
    flex: 1;
    padding: 10px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 10px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 10px;
}

/* Bootstrap .col-sm-* karşılıkları */
.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 10px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 10px;
}

.col-sm-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 10px;
}

.text-center {
    text-align: center;
}

.my-4 {
    margin: 1.5rem 0;
}

.my-5 {
    margin: 3rem 0;
}

.py-4 {
    padding: 2rem 0;
}

.mx-3 {
    margin: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: #0033A1;
    color: #fff;
    transition: 0.3s;
}

    .btn-primary:hover {
        background: #3656b3;
    }

/* ============================== */
/* Contact Form (ORTALANMIŞ HAL) */
/* ============================== */
#contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #0033A1;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    max-width: 700px;
    margin: 0 auto; /* yatay ortalama */
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

    #contact-form h6 {
        text-align: center;
        font-weight: 600;
        margin-bottom: 25px;
        color: #0033A1;
    }

.inputBox {
    width: 100%;
    margin-bottom: 15px;
}

    .inputBox label {
        font-weight: 500;
        margin-bottom: 6px;
        display: block;
        color: #333;
    }

.input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 15px;
}

    .input:focus {
        border-color: #0033A1;
        box-shadow: 0 0 8px rgba(75,112,226,.4);
        outline: none;
    }

/* Checkbox satırları düzgün hizalansın */
.form-check-label {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

/* Gönder butonu ortalı */
#contact-form .btn {
    width: 200px;
    margin: 10px auto 0 auto;
}

/* ReCaptcha kutusu ortalı */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* ============================== */
/* Kart Yapısı */
/* ============================== */
.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .card img {
        max-height: 150px;
        object-fit: contain;
        margin: 0 auto 15px;
        display: block;
    }

.lacivert-card {
    background: #0033A1;
    color: #fff;
    text-align: center;
}

/* Header: logo + arama kutusu + buton */
.header-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #fff;
}

.site-logo {
    height: 50px;
    width: auto;
}

.search-box {
    width: 200px;
    height: 32px;
    padding: 5px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.search-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    cursor: pointer;
    background: #0033A1;
    color: #fff;
    border: none;
    border-radius: 6px;
}

    .search-btn:hover {
        background: #3656b3;
    }

/* ============================== */
/* Responsive düzeltmeler */
/* ============================== */
@media(max-width:768px) {
    .col-6, .col-sm-6, .col-sm-4, .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #contact-form {
        padding: 20px;
        width: 100%;
    }

    .header-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-box {
        width: 100%;
    }
}

/* ============================== */
/* Kart Grid (çağrı aksiyonu alanı) */
/* ============================== */
.calltoaction {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 300px;
    transition: all .3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .card img {
        max-height: 150px;
        object-fit: contain;
        margin: 20px auto 10px;
        transition: filter .3s;
    }

.card-body {
    padding: 15px;
    flex-grow: 1;
    text-align: center;
}

    .card-body h6 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #0033A1;
        transition: color .3s;
    }

    .card-body p {
        font-size: 14px;
        color: #555;
        font-weight: 400;
        transition: color .3s;
    }

.lacivert-card {
    background-color: #0033A1;
    color: white;
}

    .lacivert-card h6 {
        color: white;
    }

.custom-grid .card:not(:nth-child(6)):hover {
    background-color: #0033A1;
    color: white;
}

    .custom-grid .card:not(:nth-child(6)):hover h6,
    .custom-grid .card:not(:nth-child(6)):hover p {
        color: white;
    }

    .custom-grid .card:not(:nth-child(6)):hover img {
        filter: brightness(0) saturate(100%) invert(72%) sepia(26%) saturate(512%) hue-rotate(130deg) brightness(97%) contrast(93%);
    }

@media (max-width:991px) {
    .custom-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:576px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }
}
