/* Temel Yazı Tipi */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* --- NAVBAR ÖZEL TASARIMI --- */

.child-navbar {
    background-color: rgba(255, 255, 255, 0.92); /* Hafif transparan beyaz */
    backdrop-filter: blur(12px); /* Sayfa aşağı kayarken arkadaki tasarımı buzlu cam yapar */
    transition: all 0.3s ease-in-out;
    z-index: 1050;
}

    /* Linklerin Standart Hali */
    .child-navbar .nav-link {
        color: #5a738e !important;
        border-radius: 20px;
        transition: all 0.25s ease;
        font-size: 1.05rem;
    }

        /* Linklerin Üzerine Gelindiğinde (Hover & Active) */
        .child-navbar .nav-link:hover,
        .child-navbar .nav-link:focus {
            color: #D75D29 !important; /* Tatlı mercan rengi */
            background-color: #fff0f3;
            transform: translateY(-1px);
        }

/* Hamburger Menü Buton Ayarı */
.custom-toggler {
    padding: 6px 10px;
    border-radius: 12px !important;
    background-color: #f0faff;
}

    .custom-toggler:focus {
        box-shadow: 0 0 0 3px rgba(78, 168, 222, 0.3) !important;
    }

/* Bizi Arayın Butonu Özel Tasarımı */
.call-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #d75d29;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(215, 93, 41, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap; /* Metnin alt satıra kaymasını engeller */
}

    .call-btn:hover {
        background-color: #87C1AB; /* Üzerine gelince su yeşili olur */
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(135, 193, 171, 0.4);
        transform: translateY(-2px);
    }

/* Mobil Menü Açıldığında Linklerin Arasını Açma */
@media (max-width: 991.98px) {
    .child-navbar .navbar-nav {
        padding: 15px 0;
    }

    .child-navbar .nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .child-navbar .nav-link {
        display: block;
        padding: 10px 0 !important;
    }
}

/* Özel Renk Tanımlamaları */
.text-dark-blue {
    color: #2c3e50;
}

.text-muted-blue {
    color: #5a738e;
}

/* Yazıya Renk Geçişi Verme (Modern Tipografi) */
.text-gradient {
    background: linear-gradient(45deg, #ff6b6b, #ffbe0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buton Özelleştirmeleri */
.btn-custom-primary {
    background: linear-gradient(45deg, #4ea8de, #56cfe1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .btn-custom-primary:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(78, 168, 222, 0.4) !important;
        background: linear-gradient(45deg, #56cfe1, #4ea8de);
    }

.btn-custom-outline {
    border: 2px solid #ff7043;
    color: #ff7043;
    background: transparent;
    transition: all 0.3s ease;
}

    .btn-custom-outline:hover {
        background-color: #ff7043;
        color: #ffffff;
        transform: translateY(-4px);
        box-shadow: 0 12px 20px rgba(255, 112, 67, 0.2);
    }


.chb-hero {
    --chb-terracotta: #D75D29;
    --chb-sage: #87C1AB;
    --chb-terracotta-pale: #FCF2EE;
    --chb-ink: #332A22;
    font-family: 'Mulish', system-ui, -apple-system, sans-serif;
    background: #FAF3EC;
}

.chb-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    border: 2px solid rgba(255,255,255,.9);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    z-index: 1;
    pointer-events: none;
    animation: chb-float 6.5s ease-in-out infinite;
}

.chb-bubble-1 {
    width: 64px;
    height: 64px;
    top: 10%;
    left: 5%;
    animation-duration: 7s;
}

.chb-bubble-2 {
    width: 38px;
    height: 38px;
    top: 68%;
    left: 12%;
    animation-duration: 5.5s;
    animation-delay: -1.4s;
}

.chb-bubble-3 {
    width: 52px;
    height: 52px;
    top: 16%;
    right: 9%;
    animation-duration: 6.4s;
    animation-delay: -2.8s;
}

.chb-bubble-4 {
    width: 28px;
    height: 28px;
    bottom: 14%;
    right: 22%;
    animation-duration: 5s;
    animation-delay: -2s;
}

@keyframes chb-float {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-16px) rotate(6deg);
    }
}

.chb-sparkle {
    position: absolute;
    font-size: 1.5rem;
    color: var(--chb-terracotta);
    z-index: 1;
    pointer-events: none;
    animation: chb-twinkle 2.6s ease-in-out infinite;
}

.chb-sparkle-1 {
    top: 8%;
    left: 40%;
}

.chb-sparkle-2 {
    top: 74%;
    left: 7%;
    color: var(--chb-sage);
    animation-delay: .8s;
}

.chb-sparkle-3 {
    top: 26%;
    right: 6%;
    color: var(--chb-terracotta);
    animation-delay: 1.5s;
}

@keyframes chb-twinkle {
    0%,100% {
        opacity: .35;
        transform: scale(.8) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(18deg);
    }
}

/* --- Fare hareketiyle çalışan paralaks katmanı --- */
.chb-hero [data-chb-depth] {
    translate: var(--mx, 0px) var(--my, 0px);
    transition: translate .35s ease-out;
}

/* --- Rozet / başlık / metin --- */
.chb-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1.5px solid var(--chb-terracotta);
    border-radius: 999px;
    padding: .55rem 1.2rem;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: var(--chb-ink);
    box-shadow: 0 10px 24px rgba(215,93,41,.18);
}

.chb-hero h1 {
    font-family: 'Baloo 2', sans-serif;
}

.chb-heading {
    color: var(--chb-terracotta);
}

.chb-subtext {
    color: var(--chb-ink);
}

.chb-accent {
    color: var(--chb-sage);
}

.chb-btn-primary {
    background: var(--chb-terracotta);
    border: none;
    font-family: 'Baloo 2', sans-serif;
    letter-spacing: .02em;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .chb-btn-primary:hover {
        background: var(--chb-sage);
        color: var(--chb-ink);
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 18px 32px rgba(135,193,171,.35);
    }

    .chb-btn-primary:focus-visible {
        outline: 3px solid var(--chb-terracotta);
        outline-offset: 3px;
    }

/* --- Görsel küme (fotoğraf kolajı) --- */
.chb-visual-col {
    perspective: 1200px;
}

.chb-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 36px 26px;
    transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
    transition: transform .35s ease-out;
    transform-style: preserve-3d;
}

.chb-accent-card {
    position: absolute;
    border-radius: 26px;
    aspect-ratio: 4/5;
    width: 72%;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

.chb-accent-card-a {
    top: 0;
    left: 0;
    background: var(--chb-terracotta);
    transform: rotate(-11deg);
}

.chb-accent-card-b {
    bottom: 0;
    right: 0;
    background: var(--chb-sage);
    transform: rotate(9deg);
}

.chb-photo-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    margin: 0 auto;
    z-index: 3;
    transform: rotate(-2deg);
}

.chb-photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: var(--chb-terracotta-pale);
}

    .chb-photo-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.chb-tape {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    width: 104px;
    height: 32px;
    background: var(--chb-terracotta);
    opacity: .9;
    border-radius: 3px;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
    z-index: 4;
}

.chb-sticker {
    position: absolute;
    bottom: 5%;
    left: -6%;
    background: #fff;
    border: 1.5px solid var(--chb-sage);
    border-radius: 999px;
    padding: .6rem 1.1rem;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: var(--chb-ink);
    box-shadow: 0 14px 28px rgba(135,193,171,.25);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .4rem;
}

/* --- Küçük ekranlar --- */
@media (max-width:575.98px) {
    .chb-sparkle-2 {
        display: none;
    }

    .chb-visual {
        max-width: 300px;
        padding: 26px 14px;
    }

    .chb-sticker {
        left: 0;
        font-size: .72rem;
        padding: .5rem .85rem;
    }
}

/* --- Hareket azaltma tercihi --- */
@media (prefers-reduced-motion: reduce) {
    .chb-bubble, .chb-sparkle, .chb-hero [data-chb-depth], .chb-visual, .chb-btn-primary {
        animation: none !important;
        transition: none !important;
    }
}








/* Hakkımızda Bölümü Temel Ayarları */
.about-section {
    background-color: #fcfdfe;
}

/* Dekoratif Arka Plan Şekli */
.about-bg-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78, 168, 222, 0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Renk Tanımlamaları */
.text-dark-blue {
    color: #2c3e50;
}

.text-muted-blue {
    color: #5a738e;
}

.bg-warning-light {
    background-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
}

/* Hakkımızda Ana Kutu Etkileşimi */
.about-text-box {
    border-top: 5px solid #ffbe0b; /* Enerjik sarı çizgi */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .about-text-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05) !important;
    }

/* Vizyon ve Misyon Kartları Hover Efektleri */
.vision-card, .mission-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.vision-card {
    border-bottom: 5px solid #ff6b6b;
}
/* Vizyon için sıcak kırmızı/turuncu */
.mission-card {
    border-bottom: 5px solid #4ea8de;
}
    /* Misyon için güven veren mavi */

    .vision-card:hover, .mission-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    }

        /* İkon Kutusu Animasyonu */
        .vision-card:hover .icon-box, .mission-card:hover .icon-box {
            animation: bounceIcon 0.5s ease;
        }

@keyframes bounceIcon {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll (Kaydırma) Animasyon Başlangıç Değerleri */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .fade-in-element.visible {
        opacity: 1;
        transform: translateY(0);
    }
/* Footer Ana Zemin - Akademi güvenini yansıtan lacivert */
.ram-footer {
    background-color: #2c3e50;
    border-top: 5px solid #4ea8de; /* Temanın mavi vurgu rengi ile üst ayrım */
}

/* Yüzen Buton Ana Konteyner */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    /* JS ile sayfa kaydırıldıkça görünmesi için başlangıçta gizli veya şeffaf yapabiliriz */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    /* JS tetiklendiğinde eklenecek görünürlük sınıfı */
    .floating-contact-container.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Butonun Genel Tasarımı */
.floating-btn {
    display: flex;
    align-items: center;
    background-color: #25d366; /* Standart WhatsApp Yeşili */
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
    position: relative;
}

    .floating-btn:hover {
        background-color: #1ebc59;
        box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
        transform: translateY(-5px);
        color: #ffffff;
    }

/* İkon Alanı */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

/* Yazı Alanı */
.btn-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s ease;
    font-size: 1rem;
}

/* Fareyle üzerine gelindiğinde metnin yana doğru açılması */
.floating-btn:hover .btn-text {
    max-width: 150px;
    opacity: 1;
    padding-right: 15px;
    padding-left: 5px;
}

/* Okunmamış Mesaj / Bildirim Noktası */
.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background-color: #ff6b6b; /* Ram Akademi temanızdaki sıcak kırmızı */
    border: 2px solid #ffffff;
    border-radius: 50%;
    z-index: 10;
}

/* Nefes Alma (Pulse) Animasyonu */
.pulse-animation {
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* Mobil İçin İnce Ayar: Mobilde yazı sürekli açık kalabilir veya sadece ikon görünebilir. 
   Burada sadece ikon bırakıp dokunma alanını büyük tuttuk */
@media (max-width: 768px) {
    .floating-contact-container {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        padding: 15px;
    }

    .btn-text {
        display: none; /* Mobilde metni tamamen gizleyip sadece ikonu bırakıyoruz */
    }
}

/* Hızlı Linkler Etkileşimi */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aeb5bd;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

    /* Linkin üzerine gelindiğinde hafif sağa kayıp sarı olması */
    .footer-links a:hover {
        color: #ffbe0b;
        transform: translateX(8px);
    }

/* İletişim Listesi Hizalamaları */
.contact-info li {
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hover-white {
    transition: color 0.3s ease;
}

    .hover-white:hover {
        color: #ffffff !important;
    }

/* Sosyal Medya İkon Butonları */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%; /* Tam yuvarlak ikonlar */
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yumuşak sıçrama efekti */
}

    /* İkonun üzerine gelindiğinde tema rengine dönüşüp yukarı zıplaması */
    .social-icon:hover {
        background-color: #4ea8de;
        transform: translateY(-5px) scale(1.1);
    }

/* Alt Bar Linkleri */
.footer-bottom-link {
    transition: color 0.3s ease;
}

    .footer-bottom-link:hover {
        color: #ffffff !important;
    }

/* --- HİZMETLER BÖLÜMÜ TEMEL --- */
.services-section {
    background-color: #ffffff;
    overflow-x: hidden !important; /* Yatay scroll çıkmasını kesin olarak engeller */
}

/* --- KART TASARIMI --- */
.service-card {
    position: relative;
    padding: 30px 20px 45px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px 30px 25px 15px / 25px 15px 30px 20px; /* Organik el çizimi formu */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Sadece hover için */
}

.style-peach {
    background-color: #ffe5e5;
}

.style-blue {
    background-color: #e6f7ff;
}

.style-orange {
    background-color: #ffebd6;
}

.style-green {
    background-color: #eafaf1;
}

.style-purple {
    background-color: #f4ecf7;
}

.service-title {
    font-weight: 800;
    font-size: 1.3rem;
    min-height: 55px;
    margin-bottom: 20px;
}

.text-warning.text-darken {
    color: #e67e22 !important;
}

.service-img-box {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid rgba(255,255,255,0.7);
}

    .service-img-box img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.service-desc {
    font-size: 0.85rem;
    color: #4a4a4a;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Kart Hover (İç Kutu) */
.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    z-index: 10;
}

    .service-card:hover .service-img-box img {
        transform: scale(1.05);
    }

/* --- KART ALT SÜSLEMELERİ (GÖZ/HEDEF) --- */
.bottom-ornament {
    position: absolute;
    bottom: -25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.ornament-peach {
    background-color: #ff6b6b;
    border: 4px solid #ffe5e5;
}

.ornament-blue {
    background-color: #1a5276;
    border: 4px solid #e6f7ff;
}

.ornament-orange {
    background-color: #e67e22;
    border: 4px solid #ffebd6;
}

.ornament-green {
    background-color: #2e7d32;
    border: 4px solid #eafaf1;
}

.ornament-purple {
    background-color: #8e44ad;
    border: 4px solid #f4ecf7;
}

.inner-dot {
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* --- HIZLI İŞLEMLER (RIBBON) BÖLÜMÜ --- */




/* Dekorların Bölüm İçindeki Dağılımı ve Açıları */
.decor-giraffe {
    top: 8%;
    left: 3%;
    width: 140px;
    transform: rotate(-10deg);
}

.decor-kite {
    top: 15%;
    right: 5%;
    width: 120px;
    transform: rotate(15deg);
}

.decor-child {
    bottom: 10%;
    right: 8%;
    width: 130px;
    transform: rotate(-5deg);
}

.decor-teddy {
    bottom: 35%;
    left: 4%;
    width: 110px;
    transform: rotate(10deg);
}

.decor-balloons {
    top: 45%;
    right: 35%;
    width: 100px;
    transform: rotate(25deg);
}

/* Mobil Cihazlar İçin Dekor İnce Ayarı */
@media (max-width: 991px) {
    .bg-colorful-decor {
        opacity: 0.05; /* Mobilde biraz daha silikleşir */
        width: 80px !important;
    }
}

/* --- ANA FOTOĞRAF ÇERÇEVESİ --- */
.about-main-img-wrapper {
    z-index: 2;
}

    .about-main-img-wrapper img {
        position: relative;
        z-index: 2;
    }

/* --- VİZYON VE MİSYON BİRLEŞİK KARTLAR --- */
.combined-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

    .combined-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
    }

/* Kart İçindeki Resim Alanı */
.combined-img-wrapper {
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

    .combined-img-wrapper img {
        transition: transform 0.5s ease;
    }

.combined-card:hover .combined-img-wrapper img {
    transform: scale(1.08); /* Kartın üzerine gelince resim büyür */
}

/* Mobilde Düzen Toparlamaları */
@media (max-width: 767px) {
    .combined-img-wrapper {
        min-height: 250px;
    }

    .about-main-img-wrapper {
        margin-right: 20px;
    }
}

/* --- HİZMETLER BÖLÜMÜ ARKA PLAN DEKORLARI --- */
.bg-services-decor {
    position: absolute;
    opacity: 0.06; /* Saydamlık: Yazıları asla engellemez */
    z-index: 0;
    pointer-events: none; /* Üzerine tıklanmasını engeller */
    user-select: none;
    animation: floatDecor 6s infinite alternate ease-in-out;
}

/* Dekorların Bölüm İçindeki Dağılımı */
.decor-monkey {
    top: 10%;
    left: 4%;
    width: 130px;
    transform: rotate(-10deg);
    animation-delay: 0s;
}

.decor-elephant {
    bottom: 15%;
    right: 3%;
    width: 160px;
    transform: rotate(15deg);
    animation-delay: 1s;
}

.decor-lion {
    top: 50%;
    right: 6%;
    width: 120px;
    transform: rotate(-5deg);
    animation-delay: 2s;
}

.decor-sun {
    top: 5%;
    right: 15%;
    width: 100px;
    animation-delay: 1.5s;
}

/* Tatlı ve Yavaş Dalgalanma Animasyonu */
@keyframes floatDecor {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Mobil Cihazlar İçin Dekor İnce Ayarı */
@media (max-width: 991px) {
    .bg-services-decor {
        opacity: 0.04; /* Mobilde yazılar daraldığı için biraz daha silikleşir */
        width: 80px !important;
    }
}


/* --- FOTOĞRAF GALERİSİ BÖLÜMÜ --- */
.gallery-section {
    background-color: #ffffff; /* Temiz beyaz bir arka plan */
}

/* Tümünü Gör Butonu */
.btn-view-all {
    border: 2px solid #4ea8de;
    color: #4ea8de;
    background-color: transparent;
    transition: all 0.3s ease;
}

    .btn-view-all:hover {
        background-color: #d75d29;
        color: #ffffff;
        transform: translateX(5px); /* Sağa doğru tatlı bir kayma */
        box-shadow: 0 10px 20px rgba(215, 93, 41, 0.2) !important;
    }

/* --- HAVALI GALERİ KARTLARI --- */
.gallery-card {
    height: 280px; /* Fotoğrafların yüksekliği */
    overflow: hidden;
    border: 8px solid #ffffff; /* Kalın, polaroid tarzı beyaz çerçeve */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
}

/* Her kart için benzersiz organik (şekilli) yapılar ve başlangıç eğimleri */
.shape-1 {
    border-radius: 40px 10px 40px 10px;
    transform: rotate(-4deg);
}

.shape-2 {
    border-radius: 15px 50px 15px 50px;
    transform: rotate(3deg);
}

.shape-3 {
    border-radius: 50px 50px 15px 15px;
    transform: rotate(-2deg);
}

.shape-4 {
    border-radius: 10px 10px 50px 50px;
    transform: rotate(4deg);
}

.gallery-card img {
    transition: transform 0.6s ease;
}

/* Üzerine Gelince (Hover) Çıkan Renkli Perde ve İkonlar */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.overlay-icon {
    font-size: 3.5rem;
    color: #ffffff;
    transform: scale(0.2) rotate(-20deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Etkileşim: Karta Dokunulduğunda Olacaklar */
.gallery-card:hover {
    transform: translateY(-10px) rotate(0deg); /* Eğim düzelir ve havaya kalkar */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    border-color: #f8f9fa; /* Çerçeve hafif grileşir */
    z-index: 10;
}

    .gallery-card:hover img {
        transform: scale(1.15); /* Fotoğraf yakınlaşır */
    }

    .gallery-card:hover .gallery-overlay {
        opacity: 1; /* Renkli perde görünür */
    }

    .gallery-card:hover .overlay-icon {
        transform: scale(1) rotate(0deg); /* İkon fırlar */
    }

/* --- POTANSİYEL KEŞFİ (YÖRÜNGE) BÖLÜMÜ --- */
.potential-section {
    background-color: #f7fcfc; /* Ferah bir arka plan */
}

/* Sol Taraftaki Etkileşimli Alan (Orbit) */
.orbit-wrapper {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
}

.center-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    z-index: 2;
}

.drop-shadow-custom {
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
}

/* Etrafta Duran Yetenek Rozetleri (Badges) */
.orbit-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
    z-index: 3;
    animation: orbitFloat 4s infinite alternate ease-in-out;
}

.orbit-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

/* Rozetlerin Üzerine Gelindiğinde (Hover) */
.orbit-badge:hover {
    animation-play-state: paused; /* Süzülme durur */
}

    .orbit-badge:hover .orbit-icon {
        transform: scale(1.15) rotate(5deg); /* Hafif büyür ve yatar */
    }

.orbit-text {
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Renk Sınıfları (Görseldeki palete uygun) */
.bg-orange {
    background-color: #f2722b;
}

.bg-blue {
    background-color: #4a90e2;
}

.bg-teal {
    background-color: #458b76;
}

.bg-green {
    background-color: #8bc34a;
}

.bg-purple {
    background-color: #ab6ce6;
}

.bg-yellow {
    background-color: #f69b24;
}

/* Rozetlerin Kusursuz Konumlandırılması (Percentage Basis) */
.badge-top {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.badge-bottom {
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.badge-top-right {
    top: 15%;
    right: -5%;
}

.badge-bottom-right {
    bottom: 15%;
    right: -5%;
}

.badge-top-left {
    top: 15%;
    left: -5%;
}

.badge-bottom-left {
    bottom: 15%;
    left: -5%;
}

/* Yörünge Süzülme Animasyonu (Gecikmeler ile Dalgalanma Yaratır) */
@keyframes orbitFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.float-delay-1 {
    animation-delay: 0s;
}

.float-delay-2 {
    animation-delay: 0.5s;
}

.float-delay-3 {
    animation-delay: 1s;
}

.float-delay-4 {
    animation-delay: 1.5s;
}

.float-delay-5 {
    animation-delay: 2s;
}

.float-delay-6 {
    animation-delay: 2.5s;
}

/* Mobil Cihazlar İçin Ölçeklendirme (Tasarımın Bozulmasını Engeller) */
@media (max-width: 991px) {
    .orbit-wrapper {
        transform: scale(0.85);
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .orbit-wrapper {
        transform: scale(0.7);
        margin-top: -30px;
        margin-bottom: -30px;
    }

    .orbit-badge {
        width: 100px;
    }

    .orbit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
/* =======================================================
   HIZLI İŞLEMLER (RAM-QA) BÖLÜMÜ (ÇAKIŞMA KORUMALI)
   ======================================================= */

.ram-quick-actions-sec {
    padding: 120px 0; /* Hayvanlara üstte ve altta daha rahat alan açmak için 100'den 120'ye çıkardım */
    background-color: #ffffff;
}

/* Arka Plandaki Krem Rengi Şerit */
.ram-qa-ribbon-container {
    background-color: #f5f2eb;
    border-radius: 20px;
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

/* Her Bir Tıklanabilir Kart Ana Yapısı */
.ram-qa-card {
    flex: 1;
    padding: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Sol ve Sağ Elemanlara Hover Efekti */
.ram-qa-side:hover {
    transform: translateY(-5px);
}

/* Yazı Stilleri */
.ram-qa-title {
    color: #4a1f11;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.ram-qa-desc {
    color: #333333;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* --- YAN İKONLARIN SINIRLANDIRILMASI --- */
.ram-qa-icon-wrap {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ram-qa-icon-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ram-qa-side:hover .ram-qa-icon-img {
    transform: scale(1.15) rotate(5deg);
}

/* --- ORTADAKİ TAŞAN KART (CENTER POP) --- */
.ram-qa-center-pop {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    padding: 40px 20px;
    margin: -70px 20px;
}

    .ram-qa-center-pop:hover {
        transform: translateY(-10px);
    }

.ram-qa-mascot-wrap {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ram-qa-mascot-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: ramFloatMascot 4s infinite ease-in-out alternate;
}

@keyframes ramFloatMascot {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* --- ARKA PLAN HAYVAN DEKORLARI (DAĞITILMIŞ YENİ KONUMLAR) --- */
.ram-qa-bg-animal {
    position: absolute;
    opacity: 0.08; /* Biraz daha belirgin olması için 0.07'den 0.08'e çektim */
    z-index: 0;
    pointer-events: none;
    user-select: none;
    animation: ramFloatAnimals 6s infinite alternate ease-in-out;
}

/* Hayvanları kartların arkasından kurtarıp sağa, sola, üste ve alta ittik */
.ram-animal-1 {
    top: 8%;
    left: 3%;
    width: 120px;
    transform: rotate(-15deg);
    animation-delay: 0s;
}
/* En sol üst */
.ram-animal-2 {
    bottom: 5%;
    left: 10%;
    width: 130px;
    transform: rotate(15deg);
    animation-delay: 1.5s;
}
/* Sol alt boşluk */
.ram-animal-3 {
    top: 12%;
    right: 4%;
    width: 110px;
    transform: rotate(20deg);
    animation-delay: 0.5s;
}
/* En sağ üst */
.ram-animal-4 {
    bottom: 8%;
    right: 12%;
    width: 125px;
    transform: rotate(-10deg);
    animation-delay: 2s;
}
/* Sağ alt boşluk */
.ram-animal-5 {
    top: 4%;
    left: 50%;
    width: 90px;
    transform: translateX(-50%) rotate(5deg);
    animation-delay: 1s;
}
/* Tam orta üstteki boşluk */

@keyframes ramFloatAnimals {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 991px) {
    .ram-qa-ribbon-container {
        padding: 40px 20px;
    }

    .ram-qa-center-pop {
        margin: 30px 0;
        width: 100%;
        max-width: 400px;
    }

    .ram-quick-actions-sec {
        padding: 50px 0;
    }

    .ram-qa-bg-animal {
        opacity: 0.05;
        width: 70px !important;
    }
    /* Mobilde ekran daraldığı için üstteki kuş (5) ve sağdaki baykuş (3) karmaşa yaratmasın diye gizlenir */
    .ram-animal-5, .ram-animal-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .ram-qa-mascot-wrap {
        width: 100px;
        height: 100px;
    }
}



/* Şubelerimiz Bölümü Genel Alanı */
.branches-section {
    position: relative;
    width: 100%;
    padding: 60px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Bölüm Başlığı Stili */
.section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    text-align: center;
}

    /* Başlığın altına şık bir küçük çizgi dekoru */
    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background-color: #ffd32a; /* Canlı sarı renk */
        border-radius: 2px;
    }

/* Şubeleri Yan Yana Sıralayan Kapsayıcı */
.branches-container {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

/* Tek Bir Şube Kartı (Link Görevi Gören Yapı) */
/* Şubeler Alanı Ana Kapsayıcı ve Hayvanlı Arka Plan */
.branches-section {
    position: relative;
    width: 100%;
    padding: 40px 20px 60px 20px;
    background-color: #ffffff;
    /* CSS içine gömülmüş, şeffaf çocuksu hayvan emojileri deseni */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ctext x='30' y='60' font-size='45' opacity='0.08'%3E🦁%3C/text%3E%3Ctext x='200' y='100' font-size='40' opacity='0.08'%3E🦒%3C/text%3E%3Ctext x='80' y='220' font-size='55' opacity='0.08'%3E🐘%3C/text%3E%3Ctext x='230' y='250' font-size='35' opacity='0.08'%3E🐒%3C/text%3E%3Ctext x='130' y='140' font-size='30' opacity='0.08'%3E🦋%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Bölüm Başlığı Stili */
.section-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50; /* Senin seçtiğin turuncu tonu */
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

    /* Başlığın altındaki dekoratif çizgi */
    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background-color: #87C1AB; /* Senin seçtiğin su yeşili tonu */
        border-radius: 2px;
    }



/* Senin Hazırladığın Kart Stilleri */
.branch-card {
    display: inline-block;
    text-decoration: none; /* Link alt çizgisini kaldırır */
    vertical-align: top;
    /* Kartın üzerine gelindiğinde tüm elementlerin pürüzsüz tepki vermesi için */
    transition: transform 0.3s ease;
}

    /* Kartın Üzerine Gelindiğinde (Hover Efekti) */
    .branch-card:hover {
        transform: translateY(-5px); /* Kartı hafifçe yukarı kaldırır */
    }

/* Yuvarlak Resim Çerçevesi */
.branch-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Tam yuvarlak yapar */
    overflow: hidden; /* Taşmaları gizler */
    border: 4px solid #87C1AB; /* Senin seçtiğin renk */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease;
}

/* Resim Stili */
.branch-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi bozmadan yuvarlağın içine sığdırır */
    transition: transform 0.5s ease;
}

/* Hover durumunda resmin içerde hafif büyümesi (Ekstra dinamiklik) */
.branch-card:hover .branch-img {
    transform: scale(1.1);
}

/* Buton Tarzındaki Şube Yazısı */
.branch-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d75d29; /* Turuncu buton rengi */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px; /* Oval buton tasarımı */
    box-shadow: 0 5px 15px rgba(215, 93, 41, 0.2);
    transition: all 0.3s ease;
}

/* Kartın üzerine gelindiğinde butonun rengi diğer konsept rengin olan yeşile dönsün */
.branch-card:hover .branch-button {
    background-color: #87C1AB;
    box-shadow: 0 5px 15px rgba(135, 193, 171, 0.4);
}



/* Soru-Cevap Ana Alanı */
.faq-section {
    padding: 80px 20px;
    background-color: #fcfcfc; /* Çok hafif gri/krem arka plan, beyaz kartları öne çıkarır */
    display: flex;
    justify-content: center;
}

    /* Başlık Stili (Şubelerimizdeki ile uyumlu) */
    .faq-section .section-title {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 50px;
        position: relative;
        text-align: center;
    }

        .faq-section .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: #87C1AB;
            border-radius: 2px;
        }

/* Soruların Sıralandığı Kutu */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Her Bir Soru Kartı */
.faq-item {
    background-color: #ffffff;
    border: 3px solid #87C1AB; /* Su yeşili kalın, eğlenceli çerçeve */
    border-radius: 15px; /* Yumuşak köşeler */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

    /* Karta gelince hafif yukarı kalkma efekti */
    .faq-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(135, 193, 171, 0.3);
    }

/* Sorunun Yazdığı Tıklanabilir Alan */
.faq-question {
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #333333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Varsayılan HTML okunu gizler */
    user-select: none;
}

    /* Varsayılan HTML okunu Webkit tarayıcılarda gizlemek için */
    .faq-question::-webkit-details-marker {
        display: none;
    }

/* Sağdaki Özel Ok İkonu */
.faq-icon {
    color: #d75d29; /* Turuncu ok */
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Kart Açıldığında Okun Dönmesi */
.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

/* Cevap Alanı Stili */
.faq-answer {
    padding: 0 25px 20px 25px;
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px dashed #87C1AB; /* Soru ile cevap arasına kesik kesik şirin bir çizgi */
    margin-top: 5px;
    padding-top: 15px;
}

    .faq-answer p {
        margin: 0;
    }



/* Başvuru Bölümü Ana Alan */
.apply-section {
    padding: 80px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

/* Üst Açıklama Kısmı */
.apply-header {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.apply-description {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.6;
    margin-top: 15px;
}

/* Yan Yana İçerik Kapsayıcısı (Grid Yapısı) */
.apply-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr; /* Sol taraf 1 birim, Sağ taraf 2 birim yer kaplar */
    gap: 30px;
    align-items: start;
}

/* SOL TARAF: İletişim Kartı Stili */
.contact-info-card {
    background: #fcfcfc;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #444444;
    margin-bottom: 25px;
    border-bottom: 2px dashed #87C1AB;
    padding-bottom: 15px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

    .contact-list li {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

.contact-icon {
    font-size: 1.8rem;
    line-height: 1.2;
}

.contact-text {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.5;
}

    .contact-text strong {
        color: #333333;
        font-size: 1.05rem;
    }

    .contact-text a {
        color: #444444;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s ease;
    }

        .contact-text a:hover {
            color: #87C1AB;
        }

/* SAĞ TARAF: Formun Beyaz Kutusu */
.apply-form-wrapper {
    background: #ffffff;
    padding: 40px 45px;
    border-radius: 20px;
    border: 3px solid #87C1AB; /* Su yeşili çerçeve */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Form Elemanlarının Grid (Izgara) Dizilimi */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Tekil Form Kutucukları */
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    .form-group label {
        font-weight: 700;
        color: #333333;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .form-group .required {
        color: #d75d29;
    }

/* Input (Giriş) Alanları Stili */
.form-control {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

    .form-control:focus {
        outline: none;
        border-color: #d75d29;
        background-color: #ffffff;
        box-shadow: 0 0 8px rgba(215, 93, 41, 0.2);
    }

/* Gönder Butonu Kapsayıcısı ve Buton Stili */
.form-submit {
    margin-top: 35px;
}

.submit-btn {
    display: inline-block;
    padding: 14px 45px;
    background-color: #d75d29;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(215, 93, 41, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .submit-btn:hover {
        background-color: #87C1AB;
        box-shadow: 0 6px 20px rgba(135, 193, 171, 0.4);
        transform: translateY(-3px);
    }

/* Mobil Cihazlar İçin Duyarlılık (Responsive) Ayarı */
@media (max-width: 992px) {
    .apply-content-wrapper {
        grid-template-columns: 1fr; /* Mobilde alt alta sıralanırlar */
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Form elemanları mobilde tek sütun olur */
    }

    .apply-form-wrapper {
        padding: 30px 20px;
    }
}
/* --- Form Doğrulama (Validation) Stilleri --- */

/* Hatalı giriş kutusu efekti */
.form-control.input-error {
    border-color: #e74c3c !important; /* Belirgin kırmızı çerçeve */
    background-color: #fffaf9; /* Çok hafif kırmızımsı arka plan */
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
}

/* Hata mesajı metni */
.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Hata mesajının yumuşak bir şekilde belirmesi için animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.gallery-title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    color: var(--gallery-terracotta);
    margin: 0 0 12px;
}

.gallery-subtitle {
    color: var(--gallery-ink);
    font-size: 1.05rem;
    margin: 0;
}

/* --- Sade, tekdüze (masonry değil) responsive ızgara --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 18px;
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    background: none;
    box-shadow: 0 8px 22px rgba(51,42,34,.12);
    transition: box-shadow .3s ease;
}

    .gallery-item:hover {
        box-shadow: 0 14px 30px rgba(51,42,34,.2);
    }

    .gallery-item:focus-visible {
        outline: 3px solid var(--gallery-terracotta);
        outline-offset: 3px;
    }

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-item:hover .gallery-img,
.gallery-item:focus-visible .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(51,42,34,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    color: #fff;
    font-size: 1.7rem;
}

/* --- Sade lightbox: sadece büyüt / kapat / önceki-sonraki --- */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(51,42,34,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
    z-index: 1000;
}

    .gallery-lightbox.gallery-open {
        opacity: 1;
        visibility: visible;
    }

.gallery-lightbox-img {
    max-width: 88vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    background: #fff;
    color: var(--gallery-ink);
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease;
}

.gallery-lightbox-close {
    top: 20px;
    right: 20px;
}

.gallery-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-close:hover {
    transform: scale(1.1);
}

.gallery-lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width:575.98px) {
    .gallery-section {
        padding: 48px 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
        gap: 12px;
    }

    .gallery-lightbox-close, .gallery-lightbox-prev, .gallery-lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .gallery-lightbox-prev {
        left: 10px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-img, .gallery-overlay, .gallery-lightbox, .gallery-item,
    .gallery-lightbox-close, .gallery-lightbox-prev, .gallery-lightbox-next {
        transition: none !important;
    }
}
.konum-bolumu {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
    min-height: 100vh;
}

/* ---------- SOL YARI: içerik ---------- */
.icerik {
    padding: 70px 60px;
}

    .icerik h2 {
        font-family: 'Comfortaa', cursive;
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 24px;
    }

        .icerik h2:not(:first-child) {
            margin-top: 42px;
        }

    .icerik p {
        font-size: 16.5px;
        line-height: 1.75;
        margin-bottom: 16px;
    }

    .icerik strong {
        font-weight: 700;
    }

.altcizgi {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.kadro-listesi p {
    margin-bottom: 8px;
}

    .kadro-listesi p:last-child {
        margin-bottom: 16px;
    }

/* ---------- SAĞ YARI: harita ---------- */
.harita {
    position: sticky; /* sol taraf kaydırılırken harita ekranda sabit kalır */
    top: 0;
    height: 100vh;
}

    .harita iframe {
        width: 100%;
        height: 100%;
        border: 0;
        displ .altcizgi

{
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kadro-listesi p {
    margin-bottom: 8px;
}

    .kadro-listesi p:last-child {
        margin-bottom: 16px;
    }

/* ---------- SAĞ YARI: harita ---------- */
.harita {
    position: sticky; /* sol taraf kaydırılırken harita ekranda sabit kalır */
    top: 0;
    height: 100vh;
}

    .harita iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
        ay: block;
    }