/* === ÖZEL SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #00897b; /* Senin tema rengin */
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00695c; 
}

/* Dark Mode için Scrollbar */
body:has(#darkmode-toggle:checked) ::-webkit-scrollbar-track,
body[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #0A0F0D;
}
body:has(#darkmode-toggle:checked) ::-webkit-scrollbar-thumb,
body[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #2AF598; /* Neon yeşil */
}

/* ================================================================
   1. ADIM: RENK DEĞİŞKENLERİ (LIGHT MODE - VARSAYILAN)
   Burada Chatbox'ın gündüz renklerini tanımlıyoruz.
   ================================================================ 
*/
:root {
    /* Chatbox Gündüz Renkleri */
    --chat-toggle-bg: #00897b;
    --chat-toggle-icon: #ffffff;
    --chat-window-bg: #ffffff;
    --chat-header-bg: #f4f4f4;
    --chat-header-text: #333333;
    --chat-border: #e0e0e0;
    --chat-body-bg: #ffffff;
    --chat-bot-msg-bg: #f1f1f1;
    --chat-bot-msg-text: #333333;
    --chat-user-msg-bg: #00897b;
    --chat-user-msg-text: #ffffff;
    --chat-footer-bg: #f9f9f9;
    --chat-input-bg: #ffffff;
    --chat-input-text: #333333;
    --chat-send-btn: #00897b;
    --chat-send-icon: #ffffff;
    --header-height: 90px;
    --white: #ffffff;
    --text-light: #5d5d5d;
}

*,*::after,*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-family: inherit
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth
}

@media only screen and (max-width: 75em) {
    html {
        font-size:59%
    }
}

@media only screen and (max-width: 56.25em) {
    html {
        font-size:56%
    }
}

@media only screen and (min-width: 112.5em) {
    html {
        font-size:65%
    }
}

body {
    box-sizing: border-box;
    position: relative;
    line-height: 1.5;
    font-family: sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: 'Source Sans Pro', sans-serif;
    padding-top: var(--header-height);
}

body.locked {
    opacity: 0;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit
}

li {
    list-style: none
}

input:focus,button:focus,a:focus,textarea:focus {
    outline: none
}

button {
    border: none;
    cursor: pointer
}

textarea {
    resize: none
}

.heading-primary {
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    color: black;
    font-weight: 800
}

@media only screen and (max-width: 37.5em) {
    .heading-primary {
        font-size:4.5rem
    }
}

.heading-sec__mb-bg {
    margin-bottom: 11rem
}

@media only screen and (max-width: 56.25em) {
    .heading-sec__mb-bg {
        margin-bottom:8rem
    }
}

.heading-sec__mb-med {
    margin-bottom: 9rem
}

@media only screen and (max-width: 56.25em) {
    .heading-sec__mb-med {
        margin-bottom:8rem
    }
}

.heading-sec__main {
    display: block;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    color: #111
}

.heading-sec__main--lt {
    color: #111;
    font-weight: 800
}

.heading-sec__main--lt::after {
    content: '';
    background: green !important
}

.heading-sec__main::after {
    content: '';
    position: absolute;
    top: calc(100% + 1.5rem);
    height: 5px;
    width: 3rem;
    background: green;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px
}

@media only screen and (max-width: 37.5em) {
    .heading-sec__main::after {
        top:calc(100% + 1.2rem)
    }
}

.heading-sec__sub {
    display: block;
    text-align: center;
    color: #555;
    font-size: 2rem;
    font-weight: 500;
    max-width: 80rem;
    margin: auto;
    line-height: 1.6
}

@media only screen and (max-width: 37.5em) {
    .heading-sec__sub {
        font-size:1.8rem
    }
}

.heading-sec__sub--lt {
    color: #333
}

.heading-sm {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.main-container {
    max-width: 120rem;
    margin: auto;
    width: 92%
}

.btn {
    background: green;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,0.15);
    transition: transform .3s
}

.btn:hover {
    transform: translateY(-3px)
}

.btn--bg {
    padding: 1.5rem 8rem;
    font-size: 2rem
}

.btn--med {
    padding: 1.5rem 5rem;
    font-size: 1.6rem
}

.btn--theme {
    background: #00897b;
    color: #fff
}

.btn--theme-inv {
    color: #111;
    background: #fff;
    border: 2px solid blue;
    box-shadow: none;
    padding: calc(1.5rem - 2px) calc(5rem - 2px)
}

.sec-pad {
    padding: 12rem 0
}

@media only screen and (max-width: 56.25em) {
    .sec-pad {
        padding:8rem 0
    }
}

.text-primary {
    color: #333;
    font-size: 2.2rem;
    text-align: center;
    width: 100%;
    line-height: 1.6
}

@media only screen and (max-width: 37.5em) {
    .text-primary {
        font-size:2rem
    }
}

.d-none {
    display: none
}

.home-hero {
    color: #fff;
    background: linear-gradient(to right, rgba(245,245,245,0.8), rgba(245,245,245,0.8)),url(assets/svg/common-bg.svg);
    background-position: center;
    height: 100vh;
    min-height: 80rem;
    max-height: 120rem;
    position: relative
}

@media only screen and (max-width: 37.5em) {
    .home-hero {
        height:unset;
        min-height: unset
    }
}

.home-hero__socials {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    box-shadow: rgba(100,100,111,0.2) 0px 7px 29px 0px;
    padding: .5rem
}

@media only screen and (max-width: 56.25em) {
    .home-hero__socials {
        display:none
    }
}

.home-hero__mouse-scroll-cont {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%)
}

@media only screen and (max-width: 37.5em) {
    .home-hero__mouse-scroll-cont {
        display:none
    }
}

.home-hero__social {
    width: 5rem
}

.home-hero__social-icon-link {
    width: 100%;
    display: block;
    padding: 1rem;
    transition: .3s;
    border-radius: 5px
}

.home-hero__social-icon-link:hover {
    background: rgba(120,67,233,0.2)
}

.home-hero__social-icon-link--bd-none {
    border-bottom: 0
}

.home-hero__social-icon {
    width: 100%
}

.home-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90rem;
    width: 92%
}

@media only screen and (max-width: 37.5em) {
    .home-hero__content {
        padding:19rem 0 13rem 0;
        margin: auto;
        position: static;
        transform: translate(0, 0)
    }
}

.home-hero__info {
    margin: 3rem auto 0 auto;
    max-width: 80rem
}

.home-hero__cta {
    margin-top: 5rem;
    text-align: center
}

.about {
    background: #fafafa
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10rem
}

@media only screen and (max-width: 56.25em) {
    .about__content {
        grid-template-columns:1fr;
        grid-gap: 8rem
    }
}

.about__content-title {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 3rem
}

@media only screen and (max-width: 37.5em) {
    .about__content-title {
        font-size:2.4rem
    }
}

.about__content-details-para {
    font-size: 1.8rem;
    color: #666;
    max-width: 60rem;
    line-height: 1.7;
    margin-bottom: 1rem
}

.about__content-details-para--hl {
    font-weight: 700;
    margin: 0 3px
}

.about__content-details-para:last-child {
    margin-bottom: 4rem
}

.about__content-details-para a {
    text-decoration: underline;
    font-weight: 700;
    color: green;
    margin: 0 3px
}

.projects__row {
    align-items: center;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-gap: 5rem;
    margin-bottom: 11rem
}

@media only screen and (max-width: 56.25em) {
    .projects__row {
        grid-template-columns:1fr;
        grid-gap: 2rem;
        margin-bottom: 8rem
    }
}

@media only screen and (max-width: 56.25em) {
    .projects__row {
        text-align:center
    }
}

.projects__row:last-child {
    margin-bottom: 0
}

.projects__row-img-cont {
    overflow: hidden;
    border-radius: 20px
}

.projects__row-img {
    width: 100%;
    display: block;
    border-radius: 20px;
    -o-object-fit: cover;
    object-fit: cover
}

.projects__row:nth-child(even) .projects__row-img-cont {
    grid-column: 2;
}

.contact {
    background: linear-gradient(to right, rgba(245,245,245,0.8), rgba(245,245,245,0.8)),url(assets/svg/common-bg.svg);
    background-size: cover;
    background-position: center
}

.contact__form-container {
    box-shadow: rgba(100,100,111,0.2) 0px 7px 29px 0px;
    background: white;
    padding: 4rem;
    margin-top: 6rem;
    max-width: 80rem;
    text-align: right;
    width: 95%;
    border-radius: 5px;
    margin: 5rem auto 0 auto
}

@media only screen and (max-width: 37.5em) {
    .contact__form-container {
        padding:3rem
    }
}

.contact__form-field {
    margin-bottom: 4rem
}

@media only screen and (max-width: 37.5em) {
    .contact__form-field {
        margin-bottom:3rem
    }
}

.contact__form-label {
    color: #666;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    text-align: left
}

.contact__form-input {
    color: #333;
    padding: 2rem;
    width: 100%;
    border: 1px solid #ebebeb;
    font-size: 1.6rem;
    letter-spacing: 0px;
    background: #f0f0f0;
    border-radius: 5px;
    font-weight: 600
}

.contact__form-input::-moz-placeholder {
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__form-input:-ms-input-placeholder {
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__form-input::placeholder {
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__form-input::-webkit-input-placeholder {
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__form-input:-ms-input-placeholder {
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__form-input::-ms-input-placeholder {
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__form-input:-moz-placeholder {
    opacity: 1;
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__form-input::-moz-placeholder {
    opacity: 1;
    color: #999;
    font-weight: 600;
    font-size: 1.6rem
}

.contact__btn {
    width: 30%;
    padding: 2rem 4rem;
    font-size: 1.6rem
}

@media only screen and (max-width: 37.5em) {
    .contact__btn {
        width:100%
    }
}

.project-cs-hero {
    color: #fff;
    background: linear-gradient(to right, rgba(245,245,245,0.8), rgba(245,245,245,0.8)),url(assets/svg/common-bg.svg);
    background-size: cover;
    background-position: center;
    position: relative
}

@media only screen and (max-width: 37.5em) {
    .project-cs-hero {
        height:unset;
        min-height: unset
    }
}

.project-cs-hero__content {
    padding: 25rem 0 17rem 0;
    max-width: 90rem;
    width: 92%;
    margin: auto
}

@media only screen and (max-width: 37.5em) {
    .project-cs-hero__content {
        padding:19rem 0 13rem 0;
        margin: auto;
        position: static;
        transform: translate(0, 0)
    }
}

.project-cs-hero__info {
    margin: 3rem auto 0 auto;
    max-width: 80rem
}

.project-cs-hero__cta {
    margin-top: 5rem;
    text-align: center
}

.project-details__content {
    padding: 8rem 0;
    max-width: 90rem;
    margin: auto
}

.project-details__content-title {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 3rem
}

@media only screen and (max-width: 37.5em) {
    .project-details__content-title {
        font-size:2.4rem
    }
}

.project-details__showcase-img-cont {
    width: 100%;
    margin-bottom: 6rem
}

.project-details__showcase-img {
    width: 100%
}

.project-details__content-main {
    width: 100%;
    max-width: 70rem;
    margin: auto
}

.project-details__desc {
    margin: 0 0 7rem 0
}

.project-details__desc-para {
    font-size: 1.8rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem
}

.project-details__tools-used {
    margin: 0 0 7rem 0
}

.project-details__tools-used-list {
    display: flex;
    flex-wrap: wrap
}

.project-details__tools-used-item {
    padding: 1rem 2rem;
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
    font-size: 1.6rem;
    background: rgba(153,153,153,0.2);
    border-radius: 5px;
    font-weight: 600;
    color: #777
}

.project-details__links {
    margin: 0 0
}

.project-details__links-btn {
    margin-right: 2rem
}

@media only screen and (max-width: 37.5em) {
    .project-details__links-btn {
        margin-right:0;
        width: 70%;
        margin-bottom: 2rem;
        text-align: center
    }
}

.project-details__links-btn:last-child {
    margin: 0
}

@media only screen and (max-width: 37.5em) {
    .project-details__links-btn:last-child {
        margin:0
    }
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #000;
    background: #fff;
    box-shadow: 0 10px 100px rgba(0,0,0,0.1);
    min-height: var(--header-height);
    font-family: 'Source Sans Pro', sans-serif;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5rem;
    gap: 1.5rem;
    width: 92%;
    max-width: 120rem;
    margin: 0 auto;
}

@media only screen and (max-width: 56.25em) {
    .header__content {
        padding:0 2rem
    }
}

.header__logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    transition: color .3s
}

.header__logo-container:hover {
    color: green
}

.header__logo-img-cont {
    width: 5rem;
    height: 5rem;
    border-radius: 50px;
    overflow: hidden;
    margin-right: 1.5rem;
    background: green;
    position: relative;
}

@media only screen and (max-width: 56.25em) {
    .header__logo-img-cont {
        width:4.5rem;
        height: 4.5rem;
        margin-right: 1.2rem
    }
}

.header__logo-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
}

.header__logo-sub {
    font-size: 1.8rem !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px
}

.header__links {
    display: flex
}

@media only screen and (max-width: 37.5em) {
    .header__links {
        display:none
    }
}

.header__link {
    padding: 2.2rem 3rem;
    display: inline-block;
    font-size: 1.6rem !important;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    transition: color .3s
}

.header__link:hover {
    color: green
}

@media only screen and (max-width: 56.25em) {
    .header__link {
        padding:3rem 1.8rem;
        font-size: 1.5rem
    }
}

.header__main-ham-menu-cont {
    display: none;
    width: 3rem;
    padding: 2.2rem 0
}

@media only screen and (max-width: 37.5em) {
    .header__main-ham-menu-cont {
        display:block
    }
}

.header__main-ham-menu {
    width: 100%
}

.header__main-ham-menu-close {
    width: 100%
}

.header__sm-menu {
    background: #fff;
    position: absolute;
    width: 100%;
    top: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1)
}

.header__sm-menu--active {
    visibility: visible;
    opacity: 1
}

@media only screen and (max-width: 37.5em) {
    .header__sm-menu--active {
        visibility:visible;
        opacity: 1
    }
}

.header__sm-menu-link a {
    display: block;
    text-decoration: none;
    padding: 2.5rem 3rem;
    font-size: 1.6rem;
    color: #333;
    text-align: right;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color .3s
}

.header__sm-menu-link--toggles {
    border-top: 1px solid #eee;
}

.sm-toggle-wrap {
    display: grid;
    grid-template-columns: repeat(2, 38px);
    justify-content: center;
    gap: 10px;
    padding: 1.2rem 1.5rem;
}

.lang-menu--sm .lang-dropdown {
    left: 0;
    right: auto;
}

.sm-toggle-wrap .theme-icon-btn {
    width: 38px;
    height: 38px;
    padding: 6px;
}

.sm-toggle-wrap .lang-trigger {
    width: 38px;
    height: 38px;
}

.sm-toggle-wrap .theme-icon {
    display: block;
    width: 22px;
    height: 22px;
}

.sm-toggle-wrap .theme-icon--moon {
    display: none;
}

body:has(#darkmode-toggle:checked) .sm-toggle-wrap .theme-icon--sun,
body[data-theme="dark"] .sm-toggle-wrap .theme-icon--sun {
    display: none;
}

body:has(#darkmode-toggle:checked) .sm-toggle-wrap .theme-icon--moon,
body[data-theme="dark"] .sm-toggle-wrap .theme-icon--moon {
    display: block;
}

.header__sm-menu-link a:hover {
    color: green
}

.header__sm-menu-link:first-child a {
    border-top: 1px solid #eee
}

.header__sm-menu-link-last {
    border-bottom: 0
}

.main-footer {
    background: #000;
    color: #fff
}

.main-footer__upper {
    display: flex;
    justify-content: space-between;
    padding: 8rem 0
}

@media only screen and (max-width: 56.25em) {
    .main-footer__upper {
        padding:6rem 0
    }
}

@media only screen and (max-width: 37.5em) {
    .main-footer__upper {
        display:block
    }
}

.main-footer__row-1 {
    order: 2
}

@media only screen and (max-width: 56.25em) {
    .main-footer__row-1 {
        margin-bottom:5rem
    }
}

.main-footer__row-2 {
    width: 40%;
    order: 1;
    max-width: 50rem
}

@media only screen and (max-width: 56.25em) {
    .main-footer__row-2 {
        width:100%
    }
}

.main-footer__short-desc {
    margin-top: 2rem;
    color: #eee;
    font-size: 3rem;
    line-height: 1.7
}

.main-footer__social-cont {
    margin-top: 2rem
}

.main-footer__icon {
    margin-right: 2rem;
    width: 3.5rem
}

.main-footer__icon--mr-none {
    margin-right: 0
}

.main-footer__lower {
    padding: 4rem 0;
    border-top: 1px solid #444;
    color: #eee;
    font-size: 1.2rem;
    text-align: left;
    text-align: center
}

.main-footer__lower a {
    text-decoration: underline;
    font-weight: bold;
    margin-left: 2px
}

@media only screen and (max-width: 56.25em) {
    .main-footer__lower {
        padding:3.5rem 0
    }
}

.skills {
    display: flex;
    flex-wrap: wrap
}

.skills__skill {
    padding: 1rem 2rem;
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
    font-size: 1.6rem;
    background: rgba(153,153,153,0.2);
    border-radius: 5px;
    font-weight: 600;
    color: #666
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 60px;
    position: relative;
    overflow: hidden
}

.mouse::before {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 1.3s infinite;
    -webkit-animation: wheel 1.3s infinite
}

@keyframes wheel {
    to {
        opacity: 0;
        top: 27px
    }
}

@-webkit-keyframes wheel {
    to {
        opacity: 0;
        top: 27px
    }
}

/* =========================================================
   THEME TOGGLE (ICON) + DARK MODE OVERRIDES
   ========================================================= */

/* --- 1) Toggle ikon buton (header menÃ¼sÃ¼nde) --- */
#darkmode-toggle {
    width: 0;
    height: 0;
    visibility: hidden;
    position: absolute;
  }
  
  .theme-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
  }
  
  .theme-icon {
    width: 22px;
    height: 22px;
    display: none;
  }
  
  /* Light modda gÃ¼neÅŸ gÃ¶rÃ¼nsÃ¼n */
  #darkmode-toggle + .theme-icon-btn .theme-icon--sun { display: block; }
  
  /* Dark modda ay gÃ¶rÃ¼nsÃ¼n */
  #darkmode-toggle:checked + .theme-icon-btn .theme-icon--sun { display: none; }
  #darkmode-toggle:checked + .theme-icon-btn .theme-icon--moon { display: block; }
  
  /* Header hizalama (Ä°letiÅŸim yanÄ±nda dursun) */
  .header__links { align-items: center; } 
  .header__link-wrapper--toggle {
    display: flex;
    align-items: center;
    padding: 0 1rem;
  }
  
  /* --- 2) Dark theme renkleri (Neon Green) --- */
  body:has(#darkmode-toggle:checked),
  body[data-theme="dark"] {
    --bg: #0A0F0D;
    --surface: #0F1A15;
    --header: #0C1511;
    --text: #EAFBF4;
    --muted: #9FE7C7;
    --border: #1E3A2E;
    --accent: #2AF598;
    --accent-hover: #3AFFA7;
    --glow: rgba(42,245,152,.55);
  
    background: var(--bg) !important;
    color: var(--text) !important;

    /* ================================================================
       2. ADIM: RENK DEĞİŞKENLERİ (DARK MODE)
       Burada Chatbox'ın GECE renklerini değiştiriyoruz.
       ================================================================ 
    */
    --chat-toggle-bg: #2AF598;
    --chat-toggle-icon: #000000;
    --chat-window-bg: #1a1a1a;
    --chat-header-bg: #222222;
    --chat-header-text: #ffffff;
    --chat-border: #333333;
    --chat-body-bg: #1a1a1a;
    --chat-bot-msg-bg: #333333;
    --chat-bot-msg-text: #ffffff;
    --chat-user-msg-bg: #2AF598;
    --chat-user-msg-text: #000000;
    --chat-footer-bg: #222222;
    --chat-input-bg: #111111;
    --chat-input-text: #ffffff;
    --chat-send-btn: #2AF598;
    --chat-send-icon: #000000;
  }
  
  /* Toggle butonu dark modda uyumlu gÃ¶rÃ¼nsÃ¼n */
body:has(#darkmode-toggle:checked) .theme-icon-btn,
body[data-theme="dark"] .theme-icon-btn {
    background: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6);
  }
  
  
  /* --- 3) Header koyulaÅŸtÄ±r --- */
body:has(#darkmode-toggle:checked) .header,
body[data-theme="dark"] .header {
    background: var(--header) !important; 
    box-shadow: none !important;
  }
  
  body:has(#darkmode-toggle:checked) .header__logo-container,
  body:has(#darkmode-toggle:checked) .header__link,
  body[data-theme="dark"] .header__logo-container,
  body[data-theme="dark"] .header__link {
    color: var(--text) !important;
  }
  
  body:has(#darkmode-toggle:checked) .header__logo-container:hover,
  body:has(#darkmode-toggle:checked) .header__link:hover,
  body[data-theme="dark"] .header__logo-container:hover,
  body[data-theme="dark"] .header__link:hover {
    color: var(--accent) !important; 
  }
  
  /* Mobil menÃ¼ (sm-menu) */
  body:has(#darkmode-toggle:checked) .header__sm-menu,
  body[data-theme="dark"] .header__sm-menu {
    background: var(--header) !important; 
    box-shadow: none !important;
  }
  body:has(#darkmode-toggle:checked) .header__sm-menu-link a,
  body[data-theme="dark"] .header__sm-menu-link a {
    color: var(--text) !important;
    border-bottom-color: rgba(255,255,255,0.06) !important;
  }
  body:has(#darkmode-toggle:checked) .header__sm-menu-link a:hover,
  body[data-theme="dark"] .header__sm-menu-link a:hover {
    color: var(--accent) !important;
  }
  
  /* --- 4) Section arka planlarÄ± --- */
  body:has(#darkmode-toggle:checked) .home-hero,
  body:has(#darkmode-toggle:checked) .contact,
  body[data-theme="dark"] .home-hero,
  body[data-theme="dark"] .contact {
    background: var(--bg) !important;
  }
  
  body:has(#darkmode-toggle:checked) .about,
  body[data-theme="dark"] .about {
    background: var(--bg) !important; 
  }
  
  body:has(#darkmode-toggle:checked) .projects,
  body[data-theme="dark"] .projects {
    background: var(--bg) !important;
  }
  
  /* Hero sosyal kutu */
  body:has(#darkmode-toggle:checked) .home-hero__socials,
  body[data-theme="dark"] .home-hero__socials {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  
  /* --- 5) Kartlar / form kutusu --- */
  body:has(#darkmode-toggle:checked) .projects__row,
  body[data-theme="dark"] .projects__row {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px;
    padding: 2rem;
  }
  
  body:has(#darkmode-toggle:checked) .contact__form-container,
  body[data-theme="dark"] .contact__form-container {
    background: var(--surface) !important; 
    box-shadow: none !important;
    border: 1px solid var(--border) !important;
  }
  
  /* Form input */
  body:has(#darkmode-toggle:checked) .contact__form-input,
  body[data-theme="dark"] .contact__form-input {
    background: #0B120F !important; 
    border-color: var(--border) !important;
    color: var(--text) !important;
  }
  body:has(#darkmode-toggle:checked) .contact__form-input::placeholder,
  body[data-theme="dark"] .contact__form-input::placeholder {
    color: rgba(234, 251, 244, 0.55) !important;
  }
  
  /* --- 6) Metin renkleri --- */
  body:has(#darkmode-toggle:checked) .heading-primary,
  body[data-theme="dark"] .heading-primary {
    color: var(--text) !important; 
  }
  body:has(#darkmode-toggle:checked) .heading-sec__main,
  body[data-theme="dark"] .heading-sec__main {
    color: var(--text) !important; 
  }
  body:has(#darkmode-toggle:checked) .heading-sec__sub,
  body:has(#darkmode-toggle:checked) .text-primary,
  body:has(#darkmode-toggle:checked) .about__content-details-para,
  body:has(#darkmode-toggle:checked) .projects__row-content-desc,
  body:has(#darkmode-toggle:checked) .contact__form-label,
  body[data-theme="dark"] .heading-sec__sub,
  body[data-theme="dark"] .text-primary,
  body[data-theme="dark"] .about__content-details-para,
  body[data-theme="dark"] .projects__row-content-desc,
  body[data-theme="dark"] .contact__form-label {
    color: var(--muted) !important; 
  }
  
  /* BaÅŸlÄ±k alt Ã§izgisi */
  body:has(#darkmode-toggle:checked) .heading-sec__main::after,
  body[data-theme="dark"] .heading-sec__main::after {
    background: var(--accent) !important; 
    box-shadow: 0 0 12px var(--glow);
  }
  
  /* --- 7) Butonlar ve linkler --- */
  body:has(#darkmode-toggle:checked) .btn,
  body[data-theme="dark"] .btn {
    background: var(--accent) !important; 
    color: #062A1E !important;
  }
  body:has(#darkmode-toggle:checked) .btn:hover,
  body[data-theme="dark"] .btn:hover {
    background: var(--accent-hover) !important;
    box-shadow: 0 0 20px var(--glow);
  }
  
  body:has(#darkmode-toggle:checked) .about__content-details-para a,
  body[data-theme="dark"] .about__content-details-para a {
    color: var(--accent) !important; 
  }
  body:has(#darkmode-toggle:checked) .about__content-details-para a:hover,
  body[data-theme="dark"] .about__content-details-para a:hover {
    color: var(--accent-hover) !important;
    text-shadow: 0 0 10px var(--glow);
  }
  

/* --- SADECE ANA SAYFA KAHRAMAN (HERO) BÃ–LÃœMÃœ --- */
.home-hero {
    background-color: #f5f5f5 !important; 
    background-image: radial-gradient(#a5a5a5 1.5px, transparent 1.5px) !important;
    background-size: 30px 30px !important;
    
    height: 100vh;
    min-height: 80rem;
    position: relative;
}

/* --- KOYU MOD Ä°Ã‡Ä°N (SADECE HERO) --- */
body:has(#darkmode-toggle:checked) .home-hero,
body[data-theme="dark"] .home-hero {
    background-color: #0A0F0D !important;
    background-image: radial-gradient(rgba(42, 245, 152, 0.25) 1.5px, transparent 1.5px) !important;
    background-size: 30px 30px !important;
}

.lang-switch {
    display: flex;
    gap: 10px;
    margin-left: 12px;
  }
  
  .lang-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .lang-btn img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
  }
  
  .lang-btn.active {
    outline: 2px solid #2AF598; 
  }

  .lang-menu {
    position: relative;
    display: inline-flex;
  }
  
  /* summary okunu gizle */
  .lang-menu summary {
    list-style: none;
    cursor: pointer;
  }
  .lang-menu summary::-webkit-details-marker {
    display: none;
  }
  
  .lang-trigger {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lang-trigger img {
    width: 22px;
    height: 22px;
  }
  
  /* dropdown */
  .lang-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    gap: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
  }
  
  /* KAPALIYKEN GÄ°ZLÄ° */
  .lang-menu:not([open]) .lang-dropdown {
    display: none;
  }
  
  .lang-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .lang-btn:hover {
    background: rgba(42, 245, 152, 0.15);
  }
  
  .lang-btn img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
  }
 
  .project-item {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;  
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
  }
  
  /* 2.,4.,6. satırları ters çevir */
  .project-item:nth-child(even) {
    direction: rtl;
  }
  .project-item:nth-child(even) > * {
    direction: ltr;
  }
  
  /* Resim alanı */
  .project-img {
    display: flex;
    justify-content: center;  
  }
  
  .project-img img {
    width: 100%;
    max-width: 520px;         
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
  }
  .project-img img:hover {
    transform: scale(1.02);
  }
  
  /* Yazı alanı */
  .project-content {
    max-width: 520px;
    margin: 0 auto;           
    text-align: center;
    padding-top: 2rem;       
  }
  
  .project-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 700;
    color: #111;
  }
  
  .project-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 26px;
  }
  
  /* Butonu ortala */
  .project-content .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  body[data-theme="dark"] .project-content h3 {
    color: var(--text);
  }

  body[data-theme="dark"] .project-content p {
    color: var(--muted);
  }
  
  @media (max-width: 900px) {
    .project-item {
      grid-template-columns: 1fr;
      gap: 28px;
    padding-top: 1rem;
    }
  
    .project-item:nth-child(even) {
      direction: ltr;
    }
  
    .project-img img {
      max-width: 100%;
    }
  }
  /* =========================================
   VAKA ÇALIŞMASI (CASE STUDY) TASARIMI
   ========================================= */

.case-study-body {
    background-color: #f4fcf8; 
    background-image: radial-gradient(#cad 1.5px, transparent 1.5px);
    background-size: 30px 30px; 
    font-family: 'Source Sans Pro', sans-serif;
    color: #111;
    margin: 0;
    padding-bottom: 50px;
    padding-top: var(--header-height);
}

.cs-header {
    text-align: center;
    padding-top: 40px;
    margin-bottom: 20px;
}

.cs-back-btn {
    display: inline-block;
    background-color: #26c6da; 
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(38, 198, 218, 0.3);
    transition: transform 0.2s;
}

.cs-back-btn:hover {
    transform: translateY(-2px);
}

.cs-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: calc(var(--header-height) + 40px) 20px 0 20px;
}

.cs-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.cs-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.cs-container {
    background: white;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); 
}

.cs-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cs-meta-item {
    display: flex;
    flex-direction: column;
}

.cs-meta-label {
    font-size: 11px;
    font-weight: 700;
    color: #26c6da; 
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.cs-meta-value {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.cs-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin-bottom: 40px;
}

.cs-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 42px;
}

.cs-content:last-of-type {
    margin-bottom: 0;
}

.cs-section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #222;
}

.cs-section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 24px;
    background-color: #26c6da;
    margin-right: 12px;
    border-radius: 4px;
}

.cs-text {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

/* Kapsayıcı Kutu (Senin gönderdiğin kısım) */
.cs-image-container {
    margin-top: 40px;       /* Kutular arası boşluk */
    border-radius: 12px;    /* Köşeleri yuvarlatır */
    overflow: hidden;       /* Resmin köşelerden taşmasını engeller */
    border: 1px solid #eee; /* İnce gri çerçeve */
    
    /* İsteğe bağlı: 2. resimdeki gibi gölge efekti istersen bunu ekle: */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

/* Resmin Kendisi */
.cs-image {
    width: 100%;            /* Resim kutuyu tam doldursun */
    display: block;         /* Resim altındaki boşluğu (ghost space) siler */
    height: auto;           /* Orantılı küçülsün */
}

/* --- DARK MODE İÇİN EKLEME (ÖNEMLİ) --- */
/* Resimlerin içindeki siyah arka planla, dış çerçevenin uyumlu olması için */
body[data-theme="dark"] .cs-image-container,
body:has(#darkmode-toggle:checked) .cs-image-container {
    border-color: #333; /* Dark modda çerçeveyi koyulaştır */
    box-shadow: none;   /* Dark modda gölgeyi kaldırabilirsin */
}

.cs-image {
    width: 100%;
    display: block;
    height: auto;
}

.cs-footer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 40px;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .cs-meta-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .cs-container {
        padding: 30px;
    }
    .cs-title {
        font-size: 2rem;
    }
}

/* =========================================
   YENİ EKLENEN TEKNİK ALAN VE BECERİLER
   ========================================= */

.cs-highlight-title {
    background-color: #dcd6f7; 
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.cs-highlight-box {
    background-color: #dcd6f7; 
    padding: 20px;
    border-radius: 8px;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.6rem; 
}

.cs-gallery-grid {
    display: flex;
    gap: 30px; 
    margin-bottom: 40px;
}

.cs-gallery-item {
    flex: 1; 
    text-align: center;
}

.cs-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid #4caf50; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cs-gallery-item img:hover {
    transform: translateY(-5px); 
}

.cs-tags-container {
    transform: translateY(-5px);
}

.cs-caption {
    margin-top: 10px;
    font-size: 1.4rem;
    color: #666;
    font-style: italic;
}

.cs-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.cs-tag {
    background-color: #f1f8e9; 
    color: #2e7d32; 
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 600;
    border: 1px solid #c5e1a5; 
    transition: background-color 0.2s;
    cursor: default;
}

.cs-tag:hover {
    background-color: #e8f5e9;
    border-color: #aed581;
}

@media (max-width: 768px) {
    .cs-gallery-grid {
        flex-direction: column; 
    }
}


.cursor {
    display: inline-block;
    color: #2AF598; 
    font-weight: 900;
    margin-left: 2px;
    animation: blink 1s infinite; 
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cursor.typing-done {
    animation: none; 
    opacity: 1;      
    color: #2AF598;  
    vertical-align: bottom; 
}

/* ======================================================
   VAKA ÇALIŞMASI (DETAY SAYFASI) - DARK MODE AYARLARI
   ====================================================== */

body:has(#darkmode-toggle:checked) .case-study-body,
body[data-theme="dark"] .case-study-body {
    background-color: #0A0F0D !important; 
    background-image: radial-gradient(rgba(42, 245, 152, 0.15) 1.5px, transparent 1.5px) !important;
}

body:has(#darkmode-toggle:checked) .cs-container,
body[data-theme="dark"] .cs-container {
    background-color: #121a16 !important; 
    border: 1px solid #1E3A2E !important; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important; 
}

body:has(#darkmode-toggle:checked) .cs-title,
body:has(#darkmode-toggle:checked) .cs-section-title,
body:has(#darkmode-toggle:checked) .cs-meta-value,
body[data-theme="dark"] .cs-title,
body[data-theme="dark"] .cs-section-title,
body[data-theme="dark"] .cs-meta-value {
    color: #ffffff !important;
}

body:has(#darkmode-toggle:checked) .cs-subtitle,
body:has(#darkmode-toggle:checked) .cs-text,
body:has(#darkmode-toggle:checked) .cs-caption,
body[data-theme="dark"] .cs-subtitle,
body[data-theme="dark"] .cs-text,
body[data-theme="dark"] .cs-caption {
    color: #b0b0b0 !important; 
}

body:has(#darkmode-toggle:checked) .cs-meta-label,
body[data-theme="dark"] .cs-meta-label {
    color: #2AF598 !important;
}

body:has(#darkmode-toggle:checked) .cs-highlight-title,
body[data-theme="dark"] .cs-highlight-title {
    background-color: #1E3A2E !important; 
    color: #2AF598 !important; 
}

body:has(#darkmode-toggle:checked) .cs-highlight-box,
body[data-theme="dark"] .cs-highlight-box {
    background-color: #0F1A15 !important; 
    border: 1px solid #1E3A2E;
    color: #EAFBF4 !important; 
}

body:has(#darkmode-toggle:checked) .cs-tag,
body[data-theme="dark"] .cs-tag {
    background-color: #1E3A2E !important;
    color: #2AF598 !important;
    border-color: #2AF598 !important;
}

body:has(#darkmode-toggle:checked) .cs-tag:hover,
body[data-theme="dark"] .cs-tag:hover {
    background-color: #2AF598 !important;
    color: #000 !important;
}

body:has(#darkmode-toggle:checked) .cs-divider,
body[data-theme="dark"] .cs-divider {
    background: #1E3A2E !important;
}
/* === SCROLL TO TOP BUTONU === */
.scroll-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background-color: #00897b; 
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; 
    opacity: 0; 
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background-color: #00695c;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* Dark Mode Uyumu */
body:has(#darkmode-toggle:checked) .scroll-top,
body[data-theme="dark"] .scroll-top {
    background-color: #2AF598;
    color: #0A0F0D;
}

/* ================================================================
   3. ADIM: CHATBOX STİLLERİ (DEĞİŞKEN KULLANIMI)
   Artık renkler yukarıda tanımladığımız :root ve body:has(...) 
   kısımlarından otomatik geliyor.
   ================================================================ 
*/
.chatbox-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Source Sans Pro', sans-serif;
  }
  
  /* Yuvarlak Açma Butonu */
  .chatbox-toggle {
    width: 60px;
    height: 60px;
    background: var(--chat-toggle-bg); /* Değişken */
    border-radius: 50%;
    border: none;
    color: var(--chat-toggle-icon); /* Değişken */
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(42, 245, 152, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .chatbox-toggle:hover {
    transform: scale(1.1);
  }
  
  /* Sohbet Penceresi */
  .chatbox-window {
    display: none;
    width: 350px;
    height: 450px;
    background: var(--chat-window-bg); /* Değişken */
    border-radius: 15px;
    position: absolute;
    bottom: 80px;
    right: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--chat-border); /* Değişken */
  }
  
  /* Header */
  .chatbox-header {
    background: var(--chat-header-bg); /* Değişken */
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--chat-border);
  }
  
  .chatbox-title {
    color: var(--chat-header-text); /* Değişken */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .status-dot {
    width: 8px;
    height: 8px;
    background: #2AF598;
    border-radius: 50%;
  }
  
  .chatbox-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.2rem;
  }
  
  /* Mesaj Alanı */
  .chatbox-body {
    flex: 1;
    background-color: var(--chat-body-bg); /* Değişken */
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  /* Mesaj Balonları */
  .message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 1.3rem;
    line-height: 1.4;
  }
  
  .bot-message {
    background: var(--chat-bot-msg-bg); /* Değişken */
    color: var(--chat-bot-msg-text);    /* Değişken */
    align-self: flex-start;
    border-bottom-left-radius: 0;
  }
  
  .user-message {
    background: var(--chat-user-msg-bg); /* Değişken */
    color: var(--chat-user-msg-text);    /* Değişken */
    align-self: flex-end;
    border-bottom-right-radius: 0;
    font-weight: 600;
  }
  
  /* Footer (Input alanı) */
  .chatbox-footer {
    padding: 10px;
    background: var(--chat-footer-bg); /* Değişken */
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--chat-border);
  }
  
  #chat-input {
    flex: 1;
    background: var(--chat-input-bg);   /* Değişken */
    border: 1px solid var(--chat-border);
    padding: 10px;
    border-radius: 5px;
    color: var(--chat-input-text);      /* Değişken */
    outline: none;
  }
  
  .send-btn {
    background: var(--chat-send-btn);   /* Değişken */
    border: none;
    width: 40px;
    border-radius: 5px;
    cursor: pointer;
    color: var(--chat-send-icon);       /* Değişken */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* === CHAT LABEL (KONUŞMA BALONU) === */
.chat-label {
    position: absolute;
    right: 75px; /* Butonun soluna iter */
    bottom: 15px; /* Butonla dikeyde ortalar */
    background: white;
    padding: 10px 20px;
    border-radius: 50px; /* Hap şekli */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-weight: 600;
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
    white-space: nowrap; /* Alt satıra inmesini engeller */
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

/* Hover efekti */
.chat-label:hover {
    transform: translateY(-2px);
}

/* Dark Mode Uyumu */
body:has(#darkmode-toggle:checked) .chat-label,
body[data-theme="dark"] .chat-label {
    background: #222;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Mobilde çok yer kaplamasın diye gizleyebiliriz (İsteğe bağlı) */
@media (max-width: 768px) {
    .chat-label {
        display: none;
    }
}
/* Genel Footer Ayarları */
.main-footer {
    background: #111; /* Koyu siyah arka plan */
    color: #fff;
    padding-top: 4rem;
    font-family: sans-serif; /* Veya kendi font aileni kullan */
  }
  
  /* Üst Kısım Izgara Yapısı (3 Sütun) */
  .main-footer__upper {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr; /* Soldakiler eşit, yazı kısmı biraz geniş */
    gap: 2rem;
    padding-bottom: 3rem;
  }
  
  /* Başlıklar */
  .main-footer__heading-sm {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #eee;
    position: relative;
    display: inline-block;
  }
  
  /* Başlık Altı Çizgi Efekti (Modern Dokunuş) */
  .main-footer__heading-sm::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #007bff; /* Temana uygun mavi veya sarı renk */
    margin-top: 5px;
    border-radius: 2px;
  }
  
  /* Link Listesi Stili */
  .main-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .main-footer__links li {
    margin-bottom: 10px;
  }
  
  .main-footer__links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .main-footer__links a:hover {
    color: #fff;
    text-decoration: underline;
  }
  
  /* Sosyal Medya İkonları */
  .main-footer__social-cont {
    display: flex;
    gap: 15px;
  }
  
  .main-footer__icon {
    width: 30px;
    height: 30px;
    border-radius: 5px; /* Hafif yuvarlatılmış köşeler */
    transition: transform 0.2s;
    background: #fff; /* PNG'ler şeffafsa arkası beyaz olsun diye */
  }
  
  .main-footer__icon:hover {
    transform: translateY(-3px); /* Hoverda yukarı zıplama efekti */
  }
  
  /* Açıklama Yazısı */
  .main-footer__short-desc {
    color: #bbb;
    line-height: 1.6;
    font-size: 1.2rem;
  }
  
  /* En Alt Kısım (Full Width Copyright) */
  .main-footer__lower {
    background: #000; /* Üst kısımdan bir ton daha koyu */
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    width: 100%;
  }
  
  .main-footer__lower a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
  }
  
  /* Mobil Uyumluluk */
  @media (max-width: 768px) {
    .main-footer__upper {
      grid-template-columns: 1fr; /* Mobilde tek sütuna düşer */
      text-align: center;
    }
    
    .main-footer__heading-sm::after {
      margin: 5px auto 0 auto; /* Çizgiyi ortalar */
    }
  
    .main-footer__social-cont {
      justify-content: center;
    }
  }
  /* === MOBİL EKRANLAR GRUBU (DÜZELTİLMİŞ VERSİYON) === */
.cs-mobile-screens {
    display: flex;             /* Yan yana dizilimi sağlar */
    justify-content: center;   /* Ortalar */
    align-items: flex-start;   /* Üst hizadan başlatır */
    gap: 20px;                 /* Resimler arası boşluk */
    margin-bottom: 25px;       
    flex-wrap: wrap;           /* Ekran küçülürse taşmayı önler */
    width: 100%;               /* Kapsayıcı tam genişlikte olsun */
}

/* Resimlerin Kendisi */
/* Not: Başına .cs-gallery-item ekleyerek ve !important kullanarak 
   yukarıdaki %100 genişlik kuralını kesin olarak eziyoruz. */
.cs-gallery-item .cs-mobile-screens img {
    width: 30% !important;     /* 3 resim yan yana sığsın diye %30'a zorluyoruz */
    max-width: 250px;          /* Resimler çok devasa olmasın */
    height: auto;              /* Orantıyı koru */
    
    border-radius: 20px;       /* Köşe yuvarlama */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Gölge */
    
    border: none !important;   /* Yukarıdan gelen yeşil çerçeveyi iptal et */
    
    transition: transform 0.3s ease;
    display: block;            /* Resim davranışını düzeltir */
}

/* Üzerine gelince efekt */
.cs-gallery-item .cs-mobile-screens img:hover {
    transform: translateY(-10px);
    z-index: 2;
}

/* --- MOBİL UYUMLULUK --- */
/* Ekran küçüldüğünde (Telefonda) resimler çok küçülmesin diye 2'li veya 1'li yap */
@media (max-width: 768px) {
    .cs-mobile-screens {
        gap: 15px;
    }
    .cs-gallery-item .cs-mobile-screens img {
        width: 45% !important; /* Tablette 2 tane yan yana sığsın */
    }
}

@media (max-width: 480px) {
    .cs-gallery-item .cs-mobile-screens img {
        width: 80% !important; /* Mobilde tek tek alt alta olsun (daha okunaklı olur) */
        max-width: none;
    }
}

/* --- DARK MODE GÖLGE AYARI --- */
body[data-theme="dark"] .cs-mobile-screens img,
body:has(#darkmode-toggle:checked) .cs-mobile-screens img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* === BİLGİSAYAR VE GENİŞ EKRAN DÜZELTMESİ === */

/* 1. Kapsayıcıyı Yan Yana Dizilmeye Zorla */
.cs-mobile-screens {
    display: flex;              /* Resimleri yan yana getirir */
    flex-direction: row;        /* Yatay hizalama */
    justify-content: center;    /* Ortalar */
    align-items: flex-start;    /* Üstten hizalar */
    gap: 20px;                  /* Aralarındaki boşluk */
    width: 100%;
    margin-bottom: 25px;
}

/* 2. Resimlerin Genişliğini Küçült (ÖNEMLİ KISIM) */
/* Başına .cs-gallery-item ekleyerek yukarıdaki %100 kuralını iptal ediyoruz */
.cs-gallery-item .cs-mobile-screens img {
    width: 32% !important;      /* Ekranın üçte birini kaplasın */
    max-width: 300px;           /* Çok devasa ekranlarda bile 300px'i geçmesin */
    height: auto;               /* Boyu orantılı uzasın */
    
    border: none !important;    /* O yeşil çerçeveyi kaldır */
    border-radius: 16px;        /* Köşeleri yuvarla */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Gölge ekle */
    transition: transform 0.3s ease;
}

/* Hover Efekti */
.cs-gallery-item .cs-mobile-screens img:hover {
    transform: translateY(-5px);
}

/* --- TELEFON İÇİN AYAR (MOBİLDE KÜÇÜLMESİN DİYE) --- */
/* Sadece ekran 768px'den küçükse (Tablet ve Telefon) bu çalışır */
@media (max-width: 768px) {
    .cs-mobile-screens {
        flex-wrap: wrap; /* Sığmazsa aşağı kaydır */
    }
    
    .cs-gallery-item .cs-mobile-screens img {
        width: 45% !important; /* Tablette ikili olsun */
    }
}

/* Çok küçük telefonlar için */
@media (max-width: 480px) {
    .cs-gallery-item .cs-mobile-screens img {
        width: 80% !important; /* Telefonda tekli ve büyük olsun */
    }
}