﻿
/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
}

/* Container System */
.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1140px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col-12, .col-md-12, .col-sm-12, .col-sm-6, .col-sm-4, .col {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-sm-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

/* Utilities */
.text-center {
    text-align: center !important;
}

.text-danger {
    color: #dc3545 !important;
}

.w-100 {
    width: 100% !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.375rem !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.mx-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Form */
.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.25);
    appearance: none;
    margin-right: 0.5em;
}

    .form-check-input[type="checkbox"] {
        border-radius: 0.25em;
    }

    .form-check-input:checked {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

.form-check-label {
    cursor: pointer;
    margin-bottom: 0;
}

/* Accordion */
.accordion {
    background-color: #fff;
}

.accordion-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    transition: border-color 0.3s;
}

    .accordion-item:hover {
        border-color: #007bff;
    }

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    background: #f8f9fa;
    border: 0;
    cursor: pointer;
}

    .accordion-button:not(.collapsed) {
        color: #fff;
        background-color: #007bff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

.accordion-collapse {
    display: none;
    border-top: 1px solid rgba(0,0,0,0.125);
}

    .accordion-collapse.show {
        display: block;
    }

.accordion-body {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Call to Action */
.calltoaction {
    background: #004085;
    color: #fff;
    padding: 40px 0;
}

    .calltoaction h4 {
        margin: 0;
    }

/* Contact Form */
#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: 900px;
    margin: auto;
}

    #contact-form h6 {
        font-size: 24px;
        font-weight: bold;
        color: #0033A1;
        margin-bottom: 25px;
    }

.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;
    transition: all .3s;
}

    .input:focus {
        border-color: #0033A1;
        box-shadow: 0 0 8px rgba(75,112,226,.4);
        outline: none;
    }

#submit {
    background: #0033A1;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
    transition: all .3s;
}

    #submit:hover {
        background: #3656b3;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(75,112,226,.3);
    }

/* Sorular */
.sorular h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
}

.sorular p {
    color: #666;
    font-size: 1rem;
}

/* Cards */
.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;
    min-height: 300px;
    transition: all 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: 20px auto 10px;
        transition: filter 0.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 0.3s;
    }

    .card-body p {
        font-size: 14px;
        color: #555;
        transition: color 0.3s;
    }

/* Responsive */
@media (max-width: 991px) {
    .custom-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 576px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .col-sm-6, .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #contact-form {
        padding: 20px;
    }

    .sorular h1 {
        font-size: 1.5rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 12px;
    }
}

/* Modal */
.fancybox__content {
    padding: 20px;
    line-height: 1.6;
}

    .fancybox__content h4 {
        color: #0033A1;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .fancybox__content p,
    .fancybox__content ul {
        margin-bottom: 15px;
    }

    .fancybox__content li {
        margin-bottom: 8px;
    }


