body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Üst Banner ve Menü */
.ustBanner {
    margin-top: 0;
    background-color: #FFFFFF;
    min-height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px 16px;
    box-sizing: border-box;
}

.ustBanner .nav-spacer {
    display: none;
}

.menu-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox:checked+.menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-checkbox:checked+.menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-checkbox:checked+.menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.ustBanner a {
    height: auto;
    padding: 5px;
    font-weight: bold;
    display: inline-block;
}

.searchBanner {
    background-color: #f0f0f0;
    height: 40px;
    display: inline-block;
    margin-top: 5px;
    margin-right: 10px;
    border-radius: 10px;
}

.searchBanner input {
    border: none;
    outline: none;
    background-color: transparent;
    height: 40px;
    text-align: left;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 100%;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 40px;
    width: 100%;
    max-width: 1100px;
    text-align: center;
    margin: 0;
}

.menu a {
    color: rgb(54, 55, 54);
    text-decoration: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-left: 0;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 1rem;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.4px;
    bottom: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.menu a:hover {
    color: #000000;
}

.menu a:hover::after {
    transform: scaleX(1);
}

.menu a.aktif {
    color: black;
    transform: scale(1.05);
}

.menu a.aktif::after {
    transform: scaleX(1);
}

/* Logo Banner */
.logoBanner {
    background-image: url(images/logo_banner_back.jpeg);
    background-position: center;
    background-size: cover;
    min-height: 500px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    box-sizing: border-box;
    gap: 20px;
}

.logoBanner a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logoBanner img {
    height: auto;
    max-height: 300px;
    max-width: 280px;
    width: 100%;
    vertical-align: middle;
    border: none;
    outline: none;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.logoBanner img:hover {
    filter: drop-shadow(0px 0px 12px white);
    transform: scale(1.1);
    z-index: 20;
}

/* Yazılar */
.arte {
    background-color: #F4F4F9;
    height: auto;
    width: auto;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 16px;
}

.arte h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.yazilar {
    background-color: #FFFFFF;
    border: 1px inset #444444;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #444444;
}

.yazilar h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.bosluk {
    background-color: #33333D;
    width: 100%;
    height: 10px;
}

.sayfakalan {
    background-color: #F4F4F9;
    color: #222222;
    width: 100%;
    padding: 40px 16px;
    box-sizing: border-box;
    text-align: center;
}

.sayfakalan h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.alt-yazilar {
    width: 100%;
    line-height: 1.6;
}

/* Portfolyo */
.portframe {
    background-color: #f4f4f4;
    min-height: calc(100vh - 60px);
    width: 100%;
    padding-top: 60px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.slider-grubu {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.slider-wrap {
    position: relative;
    width: 100%;
}

.projimg {
    background-color: white;
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 3px solid white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.projimg::-webkit-scrollbar {
    display: none;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
}

.slider img,
iframe {
    border: 2px inset black;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: cover;
    flex: 0 0 100%;
    border: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    transition: background-color 0.25s ease, transform 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-decoration: none;
    transform: translateY(-50%) scale(1.08);
}

.slider-btn-prev {
    left: 16px;
}

.slider-btn-next {
    right: 16px;
}

.slider-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
    margin: 0;
    pointer-events: none;
}

.slider-nav a {
    pointer-events: auto;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.55);
    color: transparent;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: background-color 0.25s ease, transform 0.25s ease;
    font-size: 0;
}

.slider-nav a:hover {
    background-color: #fff;
    transform: scale(1.15);
}

.projdesc {
    background-color: white;
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    width: 100%;
    min-height: 280px;
    padding: 16px 16px 20px 24px;
    border: 2px solid #fff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), inset 0px 0px 100px 20px rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-sizing: border-box;
}

.gizli-checkbox {
    display: none;
}

.metin-alani {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s ease-in-out;
}

.metin-alani::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    box-shadow: inset 0px -25px 30px -10px rgba(30, 29, 29, 0.5);
    border-radius: 5px;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gizli-checkbox:checked+.metin-alani {
    max-height: 1500px;
}

.gizli-checkbox:checked+.metin-alani::after {
    opacity: 0;
}

.daha-fazla-btn {
    display: block;
    margin-top: auto;
    padding-top: 0px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 20;
}

.daha-fazla-btn::before {
    content: "Daha Fazla Göster ▼";
}

.gizli-checkbox:checked~.daha-fazla-btn::before {
    content: "Daha Az Göster ▲";
}

.projdesc_baslik {
    margin-top: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    padding: 0 10px;
    border-bottom: 1px solid #444444;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

.projdesc_baslik h3 {
    display: inline-block;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin: 0.4rem 0;
}

.projdesc p {
    text-align: left;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 1.6;
    color: #fff;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.copyright {
    background-color: #33333D;
    color: #ccc;
    text-align: center;
    padding: 22px 16px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
}

/* İletişim */
.contactus {
    background-color: #f8f8f8;
    width: 100%;
    padding: 40px 16px;
    box-sizing: border-box;
}

.contactus_soltaraf {
    padding: 50px;
    background-color: #ffffff;
    height: 100%;
    border-radius: 12px;
    box-sizing: border-box;
}

.contactus_soltaraf h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.contactus_soltaraf h3 {
    padding-top: 10px;
    color: #a04e2e;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.contactus_soltaraf_kart {
    display: flex;
    gap: 24px;
    padding-top: 20px;
}

.contactus_soltaraf_kart i {
    transform: scale(1.5);
    flex-shrink: 0;
}

.contactus_soltaraf_link {
    padding-top: 50px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contactus_soltaraf_link img {
    border: 1px solid #a04e2e;
    padding: 10px 12px;
    border-radius: 20%;
    width: 50px;
    height: 50px;
    filter: grayscale(100%);
    transition: 0.3s;
    box-sizing: border-box;
}

.contactus_soltaraf_link img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.contactus_sagtaraf {
    padding: 50px;
    background-color: #ffffff;
    height: 100%;
    border-radius: 12px;
    box-sizing: border-box;
}

.contactus_sagtaraf h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
}

/* Thinker / WIP */
.wip-page {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    text-align: center;
}

.wip-page h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 0;
}

.form {
    font-weight: 500;
}

.form option {
    font-weight: 500;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 991px) {
    .menu {
        gap: 8px 24px;
    }

    .logoBanner {
        min-height: 360px;
        padding: 30px 16px;
    }

    .logoBanner img {
        max-height: 220px;
        max-width: 200px;
    }

    .portframe {
        padding-top: 40px;
    }

    .contactus_soltaraf,
    .contactus_sagtaraf {
        padding: 36px 28px;
    }
}

@media (max-width: 767px) {
    .ustBanner {
        justify-content: flex-start;
        padding: 10px 16px;
        min-height: 56px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        padding: 12px 0;
        gap: 0;
        z-index: 99;
        max-width: none;
    }

    .menu-checkbox:checked~.menu {
        display: flex;
    }

    .menu a {
        padding: 14px 24px;
        font-size: 1rem;
        text-align: left;
        border-bottom: 1px solid #eee;
        transform: none !important;
    }

    .menu a.aktif {
        transform: none !important;
        background: #f5f5f5;
    }

    .menu a::after {
        display: none;
    }

    .logoBanner {
        min-height: auto;
        flex-direction: column;
        padding: 40px 16px;
        gap: 28px;
    }

    .logoBanner img {
        max-height: 180px;
        max-width: 200px;
    }

    .logoBanner img:hover {
        transform: scale(1.05);
    }

    .yazilar {
        padding: 20px 16px;
    }

    .projimg {
        border-width: 4px;
        border-radius: 8px;
    }

    .projdesc {
        padding: 14px 14px 18px 16px;
        min-height: 220px;
        border-radius: 8px;
    }

    .projdesc_baslik {
        flex-direction: column;
        gap: 0;
    }

    .contactus {
        padding: 24px 12px;
    }

    .contactus_soltaraf {
        padding: 28px 20px;
        margin-bottom: 16px;
    }

    .contactus_sagtaraf {
        padding: 28px 20px;
    }

    .contactus_soltaraf_kart {
        gap: 16px;
    }

    .contactus_soltaraf_link {
        padding-top: 28px;
        justify-content: flex-start;
    }

    .sayfakalan {
        padding: 28px 16px;
    }
}

@media (max-width: 480px) {
    .logoBanner img {
        max-height: 140px;
        max-width: 160px;
    }

    .slider-nav a {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .contactus_soltaraf_link img {
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    .copyright {
        font-size: 0.7rem;
        padding: 16px 12px;
    }
}


/* =============================================================
   HONEYPOT — Bot Tuzak Alanları
   position:absolute + ekran dışı kullanılır.
   display:none / visibility:hidden KULLANILMAZ
   (akıllı botlar bunları atlıyor).
============================================================= */
.hp-field,
.hp-btn {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.hp-btn {
    border: none;
    padding: 0;
    margin: 0;
}


/* =============================================================
   CAPTCHA — Robot Değilim Widget'ı
============================================================= */

/* Dış sarıcı */
.captcha-wrapper {
    margin-top: 18px;
}

/* Ana kutu (checkbox satırı) */
.captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    padding: 14px 16px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
    cursor: pointer;
    transition: border-color 0.25s;
}

.captcha-box:hover {
    border-color: #a04e2e;
}

.captcha-box.captcha-verified {
    border-color: #4CAF50;
    background: #f6fff6;
}

/* "Robot değilim" label */
.captcha-check-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

/* Özel checkbox kutusu */
.captcha-custom-check {
    width: 26px;
    height: 26px;
    border: 2px solid #c0c0c0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

/* Onay tiki (SVG) */
.captcha-tick {
    width: 18px;
    height: 18px;
    opacity: 0;
    transition: opacity 0.25s;
}

/* Dönen yükleniyor animasyonu */
.captcha-spinner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top-color: #a04e2e;
    border-radius: 50%;
    animation: captchaSpin 0.7s linear infinite;
    opacity: 0;
    transition: opacity 0.15s;
}

@keyframes captchaSpin {
    to {
        transform: rotate(360deg);
    }
}

/* "Robot değilim" yazısı */
.captcha-text {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.97rem;
    color: #333;
}

/* Sağ köşe: BuDaBiArt logo bloğu */
.captcha-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.captcha-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12));
}

.captcha-brand {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.6rem;
    color: #777;
    text-align: center;
    line-height: 1.2;
}

/* Matematik sorusu kutusu (gizli, açılır) */
.captcha-math-box {
    display: none;
    background: #fff9f7;
    border: 1.5px solid #a04e2e;
    border-radius: 6px;
    padding: 14px 16px;
    margin-top: 10px;
    animation: captchaSlideIn 0.3s ease;
}

@keyframes captchaSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.captcha-math-question {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.88rem;
    color: #555;
    margin: 0 0 10px 0;
}

.captcha-math-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* İşlem ifadesi (örn. "7 + 5") */
.captcha-math-expr {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.15rem;
    font-weight: bold;
    color: #33333d;
    letter-spacing: 1px;
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 4px;
}

.captcha-math-eq {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
}

/* Cevap giriş alanı */
.captcha-math-input {
    width: 70px;
    padding: 7px 10px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    text-align: center;
}

.captcha-math-input:focus {
    border-color: #a04e2e;
}

/* Doğrula butonu */
.captcha-math-btn {
    padding: 7px 16px;
    background-color: #33333d;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.captcha-math-btn:hover {
    background-color: #a04e2e;
    transform: scale(1.04);
}

/* Hata mesajı */
.captcha-math-error {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.85rem;
    color: #c0392b;
    margin: 8px 0 0 0;
    min-height: 18px;
}


/* =============================================================
   FORM — Gönder Butonu Durumları
============================================================= */

/* Devre dışı durum (CAPTCHA tamamlanmadan) */
.btn-submit-contact {
    background-color: #33333d;
    color: white;
    margin-top: 20px;
    width: 100%;
    transition: opacity 0.3s;
}

.btn-submit-contact:disabled,
.btn-submit-contact.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Bot uyarı mesajı */
.bot-warning {
    color: #c0392b;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.88rem;
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    animation: captchaSlideIn 0.3s ease;
}


/* =============================================================
   YARDIMCI — Ayırıcı çizgi
============================================================= */
.divider-line {
    background-color: #535252;
    height: 1px;
    width: 100%;
}