﻿/* Google Fonts Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container System (Bootstrap replacement) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Grid System (Bootstrap replacement) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

.col-md-12,
.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

/* Responsive breakpoints */
@media (max-width: 991px) {
    .col-md-4,
    .col-md-6,
    .col-md-7,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.my-4 {
    margin: 1.5rem 0;
}

.my-5 {
    margin: 3rem 0;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.py-4 {
    padding: 1.5rem 0;
}

.pb-3 {
    padding-bottom: 1rem;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #0033A1;
    border-color: #0033A1;
}

    .btn-primary:hover {
        background-color: #3656b3;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(75,112,226,.3);
    }

/* Page specific styles */
.page-title {
    color: #001F54;
    font-weight: 700;
    font-size: 32px;
    margin: 30px 0;
    text-align: center;
}

.page-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Sectors grid */
.sektorler {
    padding: 50px 0;
}

    .sektorler .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

/* Masaüstü: geniş sector-item */
.sector-item {
    width: 200%; /* Masaüstü genişliği */
    aspect-ratio: 1 / 1;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
}

    .sector-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .sector-item:hover img {
        transform: scale(1.05);
    }

    .sector-item:hover {
        box-shadow: 0 8px 25px rgba(0,123,255,0.2);
        border-color: #007BFF;
    }

    .sector-item h6 {
        position: absolute;
        top: 12px;
        left: 12px;
        margin: 0;
        color: #fff;
        font-weight: 700;
        font-size: 20px;
        text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
        z-index: 2;
    }

/* Masaüstü dışı mobil uyumlu sector-item */
@media (max-width: 991px) {
    .sector-item {
        width: 100%; /* Tablet ve altı */
    }

        .sector-item h6 {
            font-size: 18px;
        }
}

@media (max-width: 768px) {
    .sector-item h6 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .sector-item h6 {
        font-size: 14px;
    }
}

/* Call to action section */
.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: transform 0.3s, box-shadow 0.3s, background-color 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;
        font-weight: 400;
        transition: color 0.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%);
    }

/* Contact form */
.contact-text h6 {
    font-weight: 600;
}

#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;
    background: #fff;
    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);
    }

/* Carousel styles */
.section.top-icon {
    padding: 30px 0;
    background: transparent;
    overflow: hidden;
}

.carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 0 20px;
}

    .carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .carousel-wrapper.dragging {
        cursor: grabbing;
    }

.carousel-track {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
    min-height: 180px;
}

.carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-image-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #0033A1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto 10px auto;
    box-shadow: 0 4px 15px rgba(0, 51, 161, 0.2);
    transition: all 0.3s ease;
    padding: 0;
}

    .icon-image-button img {
        width: 55%;
        height: 55%;
        object-fit: contain;
        pointer-events: none;
    }

    .icon-image-button:hover {
        border-color: #888;
        background-color: #0033A1;
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 51, 161, 0.3);
    }

        .icon-image-button:hover img {
            filter: brightness(0) saturate(100%) invert(75%) sepia(29%) saturate(621%) hue-rotate(125deg) brightness(95%) contrast(92%);
        }

.icon-label {
    font-family: 'Roboto', sans-serif;
    color: #0033A1;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    max-width: 100px;
    word-wrap: break-word;
}

/* Form elements */
.form-check-label {
    display: block;
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 8px;
}

.text-danger {
    color: #dc3545;
}

.g-recaptcha {
    display: inline-block;
}

/* Responsive adjustments for carousel and sectors */
@media (max-width: 991px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-track {
        gap: 20px;
        min-height: 160px;
        padding: 15px 0;
    }

    .carousel-wrapper {
        padding: 0 10px;
    }

    .icon-image-button {
        width: 75px;
        height: 75px;
        border-width: 3px;
    }

    .icon-label {
        font-size: 11px;
        max-width: 85px;
    }
}

@media (max-width: 768px) {
    #contact-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }

    .carousel-track {
        gap: 15px;
        min-height: 140px;
        padding: 10px 0;
    }

    .icon-image-button {
        width: 65px;
        height: 65px;
        border-width: 3px;
        margin-bottom: 8px;
    }

        .icon-image-button img {
            width: 50%;
            height: 50%;
        }

    .icon-label {
        font-size: 10px;
        max-width: 75px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 8px;
        width: 100%;
    }
}

@media (max-width: 320px) {
    .carousel-wrapper {
        padding: 0 5px;
    }

    .carousel-track {
        gap: 12px;
        padding: 8px 0;
    }

    .icon-image-button {
        width: 55px;
        height: 55px;
        border-width: 2px;
    }

    .icon-label {
        font-size: 9px;
        max-width: 65px;
    }
}

/* Modal styles */
.fancybox__content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

    .fancybox__content h4 {
        color: #0033A1;
        margin-bottom: 20px;
    }

    .fancybox__content p {
        margin-bottom: 15px;
    }

    .fancybox__content ul {
        margin: 15px 0;
        padding-left: 20px;
    }

.sorular-alti {
    margin: 0;
}

h4 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}

strong {
    font-weight: 700;
}

a {
    color: #0033A1;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }
