﻿/* Font Ayarları - Font-display swap SEO için kritiktir */
@font-face {
    font-family: 'Helvetica Neue';
    src: local('Helvetica Neue'), local('Arial');
    font-display: swap;
}

html {
    overflow: auto;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    background-color: #efefef;
    margin: 0;
}

:root {
    --primary-yellow: rgb(250, 183, 2);
    --dark-caption: rgba(43, 43, 43, 0.85);
    --transition-base: all 0.3s ease;
}



a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    position: relative;
}

    /* Base64 yerine basit bir CSS ünlem işareti yapalım (Dosyayı 2KB hafifletir) */
    .blazor-error-boundary::before {
        content: "!";
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        font-size: 1.8rem;
        border: 2px solid white;
        border-radius: 50%;
        width: 2.2rem;
        height: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .blazor-error-boundary::after {
        content: "An error has occurred.";
        font-weight: 500;
    }

.text-primary {
    color: var(--primary-yellow) !important;
}

.up-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

    .up-button::after {
        display: inline-block;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border-top: 0;
        border-right: .4em solid transparent;
        border-bottom: .4em solid;
        border-left: .4em solid transparent
    }
.defaultv {
    min-height: 700px;
    height: auto;
}

#CookieMsgBox {
    position: fixed;
    bottom: 0px; /*width: 85%;*/
    width: 100%;
    display: block;
    z-index: 999999;
    left: 0;
}

    #CookieMsgBox .msgbox1 {
        width: 100%;
        height: auto;
        background-color: #fff;
        min-height: 42px;
        border: 1px solid #f3f3f3;
        display: inline-block;
        position: relative;
        margin: auto;
        box-sizing: border-box;
    }

    #CookieMsgBox .msgbox2 {
        font-size: 13px;
        line-height: 18px;
        text-align: left;
        color: #000;
        font-family: 'Cabin Condensed', sans-serif;
        padding: 10px 40px 5px 10px;
        max-width: 940px;
        margin: auto;
        position: relative;
    }

        #CookieMsgBox .msgbox2 span {
            font-family: 'Cabin Condensed', sans-serif;
            font-size: 11px !important;
            line-height: 15px;
            font-weight: normal !important;
        }

            #CookieMsgBox .msgbox2 span a {
                color: #000;
                font-family: 'Cabin Condensed', sans-serif;
                text-decoration: underline;
                font-weight: normal !important;
            }

.closebox {
    position: absolute;
    right: 17px;
    top: 32%;
    cursor: pointer;
    border: 1px solid #000;
    padding-top: 3px;
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 1px;
    text-align: center;
    box-shadow: #333 1px 1px;
}

    .closebox:hover {
        box-shadow: none;
        border-left: 2px double #070707;
        border-top: 2px double #070707;
    }

    .closebox h5 {
        margin: 0px;
        font-size: 0.75rem;
    }

.footer {
    padding-top: 1rem;
    display: block;
}

    .footer .footer-menu a {
        margin-right: 15px;
        padding-right: 15px;
        border-right: 1px solid rgba(255, 255, 255, .3);
    }

    .footer .copyright {
        position: sticky;
    }

        .footer .copyright a {
            color: var(--light);
            text-decoration: none;
        }

        /*Socila Media Icon*/
.bi {
    display: inline-flex; /* Daha iyi hizalama için flex yaptık */
    align-items: center;
    justify-content: center;
    width: 1.5rem; /* İkonun kapladığı alanın genişliği */
    height: 1.5rem; /* İkonun kapladığı alanın yüksekliği */
    margin-right: 0.75rem;
    font-size: 1.3rem; /* ASIL BOYUT BURASI! İkonu buradan büyütürsün */
    vertical-align: middle;
    color: inherit; /* Rengi yazıdan almasını sağlar */
}
.bi-house-door-fill {
    font-size: 1.45rem;
}
.bi-instagram, .bi-linkedin, .bi-twitter-x {
    position: sticky;
    color: #fff;
}

    .bi-instagram:hover, .bi-linkedin:hover, .bi-twitter-x:hover {
        color: #004a80;
        transform: scale(1.2); /* Hafifçe büyüsün */
        transition: all 0.2s ease-in-out;
    }
    /*End*/


    /*Gallery*/
/* 1. Ana Grid: Kutu kutu yapı */
.gallery-grid {
    min-height: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* 2. Resim Kutusu (Konteyner) */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-color: #000; /* Füme etkisi için alt zemin siyah */
    cursor: pointer;
}

    /* 3. Resmin Normal Hali: Siyah-Beyaz ve Yarı Şeffaf */
    .gallery-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        display: block;
        filter: grayscale(100%) contrast(110%); /* Siyah-beyaz */
        opacity: 0.6; /* Füme dumanlı hava */
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 4. Hover: Üzerine gelince canlanma */
    .gallery-item:hover img {
        filter: grayscale(0%) contrast(100%); /* Renklenir */
        opacity: 1; /* Netleşir */
        transform: scale(1.08); /* Hafif yaklaşır */
    }

/* 5. Overlay: Üzerine gelince çıkan büyüteç/yazı katmanı */
.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.3s;
    color: white;
    font-size: 2.5rem;
    pointer-events: none; /* Resme tıklamayı engellemez */
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-tabs {
    display: flex;
    justify-content: center; /* Butonları ortalar */
    flex-wrap: wrap; /* Mobilde butonlar alt alta düzgün iner */
    gap: 15px; /* Butonların arasına tam 15px boşluk sabitler */
    margin-bottom: 30px;
}

.gallery-tabs .btn {
    margin: 5px 10px; /* Üst-alt 5px, sağ-sol 10px boşluk */
    border-radius: 4px; /* Köşeleri çok hafif yumuşatırsan Apple havası pekişir */
    padding: 8px 20px; /* İç genişliği biraz artırırsak daha okunaklı olur */
    transition: all 0.3s ease;
}

    /* Hover olduğunda butonun parlaması için küçük bir ekleme */
    .gallery-tabs .btn:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
.modal.show {
    display: block;
    transition: background-color 0.3s ease;
}

.modal-xl img {
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.custom-close-btn {
    position: fixed;
    top: 25px; /* Yukarıdan mesafe */
    left: 25px; /* Sol tarafa sabitledik */
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15); /* Çok hafif cam efekti */
    backdrop-filter: blur(10px); /* Apple'ın meşhur buzlu cam efekti */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 10000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .custom-close-btn:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0,0,0,0.4);
    }
    .custom-close-btn > bi {
        margin-right:0;
    }

.gallery-tabs .btn:focus,
.gallery-tabs .btn:active {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(250, 183, 2, 0.25) !important; /* Buraya kendi rengini koyacağız */
    border-color: rgb(244, 118, 20) !important; /* Senin kurumsal rengin */
}

/* Seçili olan (active) butonun zaten senin renginde olması için */
.gallery-tabs .btn.btn-dark {
    background-color: rgb(250, 183, 2); /* SQL'den gelen veya ana temanın rengi */
    border-color: rgb(244, 118, 20) !important;
}

/* Eğer btn-outline-dark kullanıyorsan hover halini de eşitleyelim */
.gallery-tabs .btn-outline-dark:hover {
    background-color: rgb(250, 183, 2);
    border-color: rgb(244, 118, 20) !important;
    color: #fff;
}
    /*end*/