﻿
/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    line-height: 1.6;
    color: #333;
}

/* Custom Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Custom Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.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;
}

.col-sm-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .col-sm-6, .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: #0033A1 !important;
}

.text-muted {
    color: #6c757d;
}

.text-danger {
    color: #dc3545;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.py-4 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

    .page-header h1 {
        font-size: 2rem;
        margin: 0;
    }

/* Logo container */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

    .logo-container img {
        max-width: 600px;
        max-height: 400px;
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* Proje detayları */
.row-table {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    min-height: 200px;
}

.detail-box {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    background: #7800ff;
    padding: 15px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .detail-box img {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .detail-box h6 {
        margin: 0 0 5px 0;
        color: white;
        font-weight: 600;
    }

    .detail-box p {
        margin: 0;
        color: white;
        font-size: 14px;
    }

/* Gallery */
.gallery {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

    .gallery .big-image {
        width: 100%;
        max-height: 550px;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

.thumbnails {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .thumbnails img {
        width: 120px;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
        transition: transform 0.2s, border 0.2s;
        border: 2px solid transparent;
    }

        .thumbnails img:hover {
            transform: scale(1.05);
            border: 2px solid #007bff;
        }

.active-thumb {
    border: 3px solid #007bff !important;
}

/* Contact Form Styles */
.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 {
    margin-bottom: 1rem;
}

    .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;
    font-family: inherit;
}

    .input:focus {
        border-color: #0033A1;
        box-shadow: 0 0 8px rgba(75,112,226,.4);
        outline: none;
    }

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1.5;
}

.btn-primary {
    background: #0033A1;
    color: #fff;
}

    .btn-primary:hover {
        background: #3656b3;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(75,112,226,.3);
    }

/* Form Check Styles */
.form-check-label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.form-check-input {
    margin-right: 8px;
    vertical-align: middle;
}

/* ReCaptcha Container */
.g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #0033A1;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Fancybox Content Styles */
.fancybox__content {
    padding: 20px;
    background: white;
    border-radius: 10px;
}

    .fancybox__content h4 {
        color: #0033A1;
        margin-bottom: 20px;
    }

    .fancybox__content ul {
        margin: 10px 0 10px 20px;
    }

    .fancybox__content li {
        margin-bottom: 5px;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .col-lg-6, .col-sm-6, .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .detail-box {
        flex-direction: column;
        text-align: center;
    }

        .detail-box img {
            margin-right: 0;
            margin-bottom: 10px;
        }

    #contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .row {
        margin: 0 -10px;
    }

    .col-12, .col-lg-6, .col-md-12, .col-sm-12, .col-sm-6, .col-sm-4 {
        padding: 0 10px;
    }

    .page-header {
        padding: 1.5rem 1rem;
    }

        .page-header h1 {
            font-size: 1.5rem;
        }
}

