﻿/* ==========================================================================
   KÜÇÜKÇEKMECE BELEDİYESİ - SANATA AÇIK ÇAĞRI PROJESİ
   ÖZEL CSS DOSYASI (CUSTOM.CSS)
   ========================================================================== */
/* ==========================================================
   BAŞKANDAN MESAJ
========================================================== */

.mayor-section {
    background: #141414;
    padding: 110px 0;
    position: relative;
}

.mayor-image img {
    width: 100%;
    max-width: 470px;
    border-radius: 18px;
    transition: .35s;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

    .mayor-image img:hover {
        transform: translateY(-8px);
    }

.mayor-message {
    padding-left: 40px;
}

.section-tag {
    display: inline-block;
    color: #ff2f6d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.mayor-message h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.mayor-message p {
    color: #cfcfcf;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.mayor-sign {
    margin-top: 35px;
}

    .mayor-sign strong {
        color: #fff;
        font-size: 24px;
        display: block;
    }

    .mayor-sign span {
        color: #9b9b9b;
        font-size: 16px;
    }

/* Tablet */

@media (max-width:991px) {

    .mayor-section {
        padding: 80px 0;
    }

    .mayor-message {
        padding-left: 0;
        text-align: center;
    }

    .mayor-image {
        text-align: center;
        margin-bottom: 40px;
    }

    .mayor-message h2 {
        font-size: 38px;
    }
}

/* Telefon */

@media (max-width:576px) {

    .mayor-section {
        padding: 60px 0;
    }

    .mayor-message h2 {
        font-size: 30px;
    }

    .mayor-message p {
        font-size: 16px;
        line-height: 1.8;
    }

    .section-tag {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .mayor-sign strong {
        font-size: 22px;
    }
}

.gallery-info-card {
    text-align: center;
    padding: 35px 25px;
    height: 100%;
}

.gallery-logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 22px;
    transition: .3s;
}

.gallery-info-card:hover .gallery-logo {
    transform: scale(1.05);
}

.gallery-info-card h4 {
    margin-bottom: 15px;
}

.gallery-info-card p {
    margin-bottom: 0;
}

/* Tablet */
@media (max-width:991px) {

    .gallery-info-card {
        padding: 30px 20px;
    }

    .gallery-logo {
        max-width: 160px;
        height: 70px;
    }
}

/* Mobil */
@media (max-width:767px) {

    .gallery-info-card {
        padding: 25px 18px;
        margin-bottom: 20px;
    }

    .gallery-logo {
        max-width: 150px;
        height: 65px;
        margin-bottom: 18px;
    }

    .gallery-info-card h4 {
        font-size: 22px;
    }

    .gallery-info-card p {
        font-size: 15px;
        line-height: 1.6;
    }
}
/* =========================================
   BLOK 1: GENEL YAPILAR VE SLIDER VİDEO
   ========================================= */
/* Slider Videosunun Üzerine Siyah Transparan Maske (Overlay) */
.rs-background-video-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 0.5 saydamlık değeridir */
    z-index: 1; /* Yazıların altında, videonun üstünde kalmasını sağlar */
    pointer-events: none;
}


/* =========================================
   BLOK 2: HEADER VE LOGO ALANI
   ========================================= */
/* Logoları yan yana ve orantılı hizalama */
.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo a img {
        max-height: 60px;
        width: auto;
        object-fit: contain;
    }

/* Mobilde (telefon ekranlarında) logolar */
@media (max-width: 768px) {
    .logo a img {
        max-height: 40px;
        gap: 10px;
    }
}
/* =========================================
   BLOK 2.1: MOBİL HEADER LOGO KISITLAMASI
   ========================================= */
.logo-mobile a {
    display: flex;
    align-items: center;
    gap: 10px; /* Eğer iki logo koyarsan arayı açar */
}

.logo-mobile img {
    max-height: 45px; /* Mobil header'a tam oturacak yükseklik */
    width: auto;
    object-fit: contain;
}


/* =========================================
   BLOK 3: BUTONLAR VE RENKLER (Sonra dolduracağız)
   ========================================= */


/* =========================================
   BLOK 4: GALERİ VE FİLTRELEME (Sanat Duvarı Konsepti)
   ========================================= */

.filter-button-group {
    text-align: center;
    margin-bottom: 40px;
}

    .filter-button-group button {
        position: relative;
        overflow: hidden;
        background-color: transparent;
        border: 2px solid rgba(255, 255, 255, 0.4);
        color: #fff;
        padding: 8px 25px;
        margin: 0 5px 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        border-radius: 30px;
        transition: all 0.4s ease;
        z-index: 1;
    }

        /* Sol Turkuaz Neon (Genişliği %40'a düşürüldü, ortada boşluk kalır) */
        .filter-button-group button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 40%;
            height: 100%;
            background: linear-gradient(90deg, rgba(0, 174, 239, 0.8) 0%, transparent 100%);
            opacity: 0;
            transform: translateX(-15px);
            transition: all 0.4s ease;
            z-index: -1;
        }

        /* Sağ Pembe Neon (Genişliği %40'a düşürüldü, ortada boşluk kalır) */
        .filter-button-group button::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 40%;
            height: 100%;
            background: linear-gradient(-90deg, rgba(236, 0, 140, 0.8) 0%, transparent 100%);
            opacity: 0;
            transform: translateX(15px);
            transition: all 0.4s ease;
            z-index: -1;
        }

        .filter-button-group button:hover::before,
        .filter-button-group button.is-checked::before,
        .filter-button-group button:hover::after,
        .filter-button-group button.is-checked::after {
            opacity: 1;
            transform: translateX(0);
        }

        .filter-button-group button:hover,
        .filter-button-group button.is-checked {
            border-color: #fff;
            color: #fff;
            box-shadow: -4px 0 12px rgba(0, 174, 239, 0.2), 4px 0 12px rgba(236, 0, 140, 0.2);
        }


/* =========================================
   BLOK 4.1: SANAT DUVARI (KUSURSUZ 5'Lİ DİZİLİM VE PARALLAX)
   ========================================= */
.season-gallery-section {
    background-image: url('../images/galeri-bg.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* Isotope 5'li Matematik Ayarları (Boşlukları gutter-sizer yapacak) */
.season-gallery .grid-sizer,
.season-gallery .grid-item {
    width: 18.4%; /* Yanyana 5 resim sığar */
}

.season-gallery .gutter-sizer {
    width: 2%; /* 4 adet ara boşluk için pay */
}

.season-gallery .grid-item {
    margin-bottom: 30px;
    /* margin-right sildik, yan yana gelmeyi Isotope halledecek */
}

    /* Polaroid Çerçevesi */
    .season-gallery .grid-item a {
        display: block;
        background: #ffffff;
        padding: 8px 8px 22px 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        transform-origin: center center;
    }

    /* Çerçevelerin Rastgele Yatması */
    .season-gallery .grid-item:nth-child(even) a {
        transform: rotate(3deg);
    }

    .season-gallery .grid-item:nth-child(odd) a {
        transform: rotate(-3deg);
    }

    .season-gallery .grid-item:nth-child(3n) a {
        transform: rotate(5deg);
    }

    .season-gallery .grid-item:nth-child(5n) a {
        transform: rotate(-4deg);
    }

    /* Üzerine gelince Turkuaz Parlama ve Büyüme */
    .season-gallery .grid-item a:hover {
        transform: rotate(0deg) scale(1.2);
        z-index: 10;
        position: relative;
        box-shadow: 0 15px 35px rgba(0, 174, 239, 0.5);
    }

    .season-gallery .grid-item img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Responsive (Mobil ve Tablet Uyumlu) - Ekran küçüldükçe hesaplama değişir */
@media (max-width: 1200px) {
    .season-gallery .grid-sizer, .season-gallery .grid-item {
        width: 23.5%;
    }
    /* 4'lü */
}

@media (max-width: 991px) {
    .season-gallery .grid-sizer, .season-gallery .grid-item {
        width: 32%;
    }
    /* 3'lü */
}

@media (max-width: 768px) {
    /* İŞTE SİHİR BURADA: En küçük mobilde bile 2'li kalsın! */
    .season-gallery .grid-sizer, .season-gallery .grid-item {
        width: 49%;
    }
    /* 2'li */
    .season-gallery .gutter-sizer {
        width: 2%;
    }
    /* Ortadaki 2% boşluk devam etsin */
}


/* Büyüyen resimlerin köşelerini yumuşatır */
.fancybox-image,
.fancybox-content {
    border-radius: 15px !important; /* Ne kadar oval istiyorsan bu sayıyı artırıp azaltabilirsin */
    overflow: hidden;
}

/* =========================================
   BLOK 6: HAKKIMIZDA BÖLÜMÜ VE GALERİ KARTLARI
   ========================================= */
.gallery-info-card {
    background: rgba(255, 255, 255, 0.23); /* Çok hafif şeffaf beyaz zemin */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Camsı ince kenarlık */
    padding: 25px 20px;
    border-radius: 15px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: left;
}

    /* Kartın içindeki ikon */
    .gallery-info-card i {
        font-size: 30px;
        color: #EC008C; /* Başlangıçta Pembe */
        margin-bottom: 15px;
        display: block;
        transition: all 0.4s ease;
    }

    /* Kart Başlığı */
    .gallery-info-card h4 {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        transition: all 0.4s ease;
    }

    /* Kart Açıklaması */
    .gallery-info-card p {
        color: #999;
        font-size: 13.5px;
        line-height: 1.6;
        margin: 0;
    }

    /* Fareyle Kartın Üzerine Gelinceki (Hover) Sihir */
    .gallery-info-card:hover {
        background: rgba(255, 255, 255, 0.07);
        border-color: #00AEEF; /* Kenarlık Turkuaz olur */
        transform: translateY(-8px); /* Kart havaya kalkar */
        box-shadow: 0 10px 25px rgba(0, 174, 239, 0.15); /* Hafif turkuaz gölge vurur */
    }

        .gallery-info-card:hover i {
            color: #00AEEF; /* İkon pembeyken Turkuaz olur */
            transform: scale(1.1); /* İkon çok hafif büyür */
        }

/* =========================================
   BLOK 7: BAŞVURU ALANI, AKORDİYON VE FORM (TEK PARÇA)
   ========================================= */

/* 1. Arkaplanı Galerideki gibi yapıyoruz (Karamsarlığı kırar) */
.basvuru-bg-parallax {
    background-image: url('../images/galeri-bg.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Kaydırma efekti */
}

/* 2. AKORDİYON TASARIMI (Başlıklar Bembeyaz) */
.dark-accordion {
    background: rgba(0, 0, 0, 0.7); /* Arkası hafif cam gibi siyah */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px !important;
}

    .dark-accordion .card-header {
        background: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .dark-accordion .card-header h5 {
            color: #ffffff !important; /* BAŞLIKLAR BEMBEYAZ */
            font-size: 18px;
            font-weight: 600;
        }

        .dark-accordion .card-header i {
            color: #00AEEF; /* Oklar Turkuaz */
        }

    .dark-accordion .card-body {
        color: #e0e0e0;
        font-size: 15px;
        line-height: 1.7;
    }

    .dark-accordion a {
        color: #00AEEF;
        text-decoration: underline;
    }

/* 3. FORM ANA ÇERÇEVESİ */
.dark-form-wrapper {
    background: rgba(0, 0, 0, 0.7); /* Cam gibi koyu zemin */
    border: 1px solid rgba(236, 0, 140, 0.4); /* Pembe ince çerçeve */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.form-title {
    color: #EC008C;
    font-weight: bold;
    margin-bottom: 25px;
}

.form-subtitle {
    color: #00AEEF;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.form-divider {
    border-top: 1px dashed rgba(255,255,255,0.2);
}

/* 4. FLOATING LABELS (KAYAN ETİKETLER) */
.dark-floating {
    position: relative;
    width: 100%;
}

    .dark-floating .form-control {
        height: 60px;
        padding: 25px 15px 10px 15px;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
        border-radius: 8px;
    }

    .dark-floating textarea.form-control {
        height: auto !important;
        min-height: 100px;
    }

    .dark-floating .form-control:focus {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: #00AEEF !important;
        box-shadow: 0 0 10px rgba(0, 174, 239, 0.3) !important;
    }

    .dark-floating label {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        padding: 18px 15px;
        pointer-events: none;
        transform-origin: 0 0;
        transition: opacity .2s ease-in-out, transform .2s ease-in-out;
        color: #bbb; /* Etiket Rengi */
        font-size: 15px;
    }

    .dark-floating .form-control:focus ~ label,
    .dark-floating .form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.8) translateY(-0.5rem) translateX(0.15rem);
        color: #00AEEF;
        padding-top: 10px;
    }

/* 5. BOZUK CHECKBOX VE RADIO KURTARICISI */
.dark-form-wrapper input[type="checkbox"],
.dark-form-wrapper input[type="radio"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-right: 8px;
    accent-color: #EC008C;
    cursor: pointer;
}

.custom-radio-list td {
    padding-right: 20px;
    vertical-align: middle;
}

.custom-radio-list label {
    color: #fff;
    cursor: pointer;
    margin-bottom: 0;
    font-size: 15px;
    margin-left: 5px;
}

/* 6. NEON GÖNDER BUTONU (FİLTRE BUTONLARIYLA BİREBİR AYNI STİL) */
.btn-neon-form-submit {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 15px 50px; /* Büyüklüğü koruduk */
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s ease;
    z-index: 1;
    display: inline-block; /* Ortalanması için gerekli */
    letter-spacing: 1px;
}
    /* Sol Turkuaz Neon Sızıntı */
    .btn-neon-form-submit::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 40%;
        height: 100%;
        background: linear-gradient(90deg, rgba(0, 174, 239, 0.8) 0%, transparent 100%);
        opacity: 0;
        transform: translateX(-15px);
        transition: all 0.4s ease;
        z-index: -1;
    }
    /* Sağ Pembe Neon Sızıntı */
    .btn-neon-form-submit::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 40%;
        height: 100%;
        background: linear-gradient(-90deg, rgba(236, 0, 140, 0.8) 0%, transparent 100%);
        opacity: 0;
        transform: translateX(15px);
        transition: all 0.4s ease;
        z-index: -1;
    }

    .btn-neon-form-submit:hover::before,
    .btn-neon-form-submit:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .btn-neon-form-submit:hover {
        border-color: #fff;
        color: #fff;
        box-shadow: -4px 0 12px rgba(0, 174, 239, 0.3), 4px 0 12px rgba(236, 0, 140, 0.3);
    }
/* =========================================
   BLOK 8: HATA MESAJLARI VE AKORDİYON OKU
   ========================================= */


/* Hatalı Girişlerde Neon Pembe Parlama Efekti */
.dark-floating .form-control.input-error {
    border-color: #EC008C !important;
    box-shadow: 0 0 10px rgba(236, 0, 140, 0.4) !important; /* Etrafına pembe ışık saçar */
    background: rgba(255, 255, 255, 0.05) !important; /* Arkaplanı bozmaz, aynı bırakır */
}
    /* Hem hatalı hem de içine tıklanmışsa parlamayı artır */
    .dark-floating .form-control.input-error:focus {
        box-shadow: 0 0 15px rgba(236, 0, 140, 0.7) !important;
    }

.custom-error-msg {
    color: #EC008C;
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
    padding-left: 5px;
    display: block;
}

/* Akordiyon Ok Animasyonu (Açıkken Turkuaz, Kapalıyken Beyaz) */
.dark-accordion .card-header i {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #fff !important;
    font-size: 22px; /* İkonu biraz büyüttük */
}

.dark-accordion .card-header:not(.collapsed) i {
    transform: rotate(180deg);
    color: #00AEEF !important;
}

.custom-error-msg {
    color: #EC008C;
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
    padding-left: 5px;
    display: block;
}

/* Akordiyon Ok Animasyonu (Açıkken Turkuaz, Kapalıyken Beyaz) */
.dark-accordion .card-header i {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #fff !important; /* Kapalıyken Beyaz */
    font-size: 18px;
}
/* Eğer Akordiyon Açık İse (.collapsed class'ı yoksa) */
.dark-accordion .card-header:not(.collapsed) i {
    transform: rotate(180deg); /* Oku ters döndür */
    color: #00AEEF !important; /* Turkuaz yap */
}
/* Footer Link Hover Efektleri */
.footer-item ul li a:hover {
    color: #fff !important;
    padding-left: 5px; /* Üzerine gelince hafif sağa kayar */
}
