/* ==================================================
   ÜZEYİR GÜNAKIN - ÖZEL DÜZENLEMELER
   ================================================== */

/* Header logosunun sabit 150 px sınırını kaldırır. */
.th-logo {
    width: auto;
    flex-shrink: 0;
}

/* ÜG ve isim bölümünü yan yana getirir. */
.ug-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Pixelor'un P simgesi yerine kullanılan ÜG logosu. */
.ug-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #121212;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Logo yanındaki isim. */
.ug-brand-name {
    color: #fbfbfb;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* Çok küçük telefonlarda üst bölümde yalnızca ÜG gösterilir. */
@media (max-width: 575px) {
    .th-header-area .ug-brand-name {
        display: none;
    }

    .ug-brand-mark {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Açılış ekranındaki ana isim. */
h5.preloader-text {
    width: max-content;
    max-width: 95vw;
    font-size: clamp(27px, 6vw, 100px);
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

/* Yeşil dairenin içerisinden görünen meslek yazısı. */
h5.preloader-text::after {
    content: "Software Developer";
    width: max-content;
    position: absolute;
    top: 50%;
    left: 50%;
    color: yellowgreen;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    animation: move 4s infinite alternate;
}

/* Dönen Software Developer yazısı. */
.ug-circle-text {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ug-circle-text text {
    fill: #fbfbfb;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

/* Dönen yazının ortasındaki ÜG logosu. */
.ug-circle-center {
    color: var(--primary-color);
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

/* Profil fotoğrafının görünen çerçevesi. */
.th-hero-right-thumb {
    width: 494px;
    height: 394px;
    margin-top: 24px;
    margin-left: -150px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    background-color: #121212;
}

/* Fotoğrafı çerçeveye doldurur ve baş bölgesine odaklanır. */
.th-hero-right-thumb>img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    object-position: center 50%;
}

/* ==================================================
   KOYU TEMA ARKA PLANLARI
   ================================================== */


html[data-theme="dark"] .th-designer-bg {
    background-color: #0e0e0e !important;
    background-image:
        url("../img/designer/th-designer-bg.png") !important;
    background-position: center top !important;
    background-size: auto !important;
    background-repeat: repeat !important;
}

/* Featured Projects koyu tema arka planı. */
html[data-theme="dark"] .th-service-area {
    background-color: #0e0e0e !important;
    background-image:
        url("../img/designer/th-service-bg.png") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Koyu temadaki proje başlıkları. */
html[data-theme="dark"] .th-service-area .th-section-title .title {
    color: #fbfbfb !important;
}

html[data-theme="dark"] .th-service-iconbox .th-desc {
    color: #b4b2b2 !important;
}

html[data-theme="dark"] .th-service-iconbox {
    color: #fbfbfb;
    background-color: #111111 !important;
    border-color: #303030 !important;
}

/* ==================================================
   SABİT KOYU TEMA
   ================================================== */

html[data-theme="dark"] {
    color-scheme: dark;
    --secondary-color: #fbfbfb;
    --text-color: #b4b2b2;
    --black-bg: #121212;
    --black-bg-1: #1a1616;
    --offwhite: #9b9b9b;
    --border: #2f302c;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .th-header-area {
    background-color: #121212;
    color: #fbfbfb;
}

html[data-theme="dark"] .th-main-menu {
    background-color: #0e0e0e;
}

html[data-theme="dark"] .th-main-menu ul>li>a,
html[data-theme="dark"] .ug-brand-name {
    color: #fbfbfb;
}

/* Tema değişirken renklerin daha yumuşak geçmesini sağlar. */
body,
.th-header-area,
.th-main-menu,
.th-footer-area,
.progress-wrap {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

/* Koyu temadaki yukarı çıkma düğmesi. */
html[data-theme="dark"] .progress-wrap {
    background-color: #121212;
    box-shadow: inset 0 0 0 2px #343434;
}

/* ==================================================
   HAREKETLİ TEKNOLOJİ ŞERİTLERİ
   ================================================== */

.ug-marquee-row {
    overflow: hidden;
}

.ug-marquee-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 42px;
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.ug-marquee-item span {
    color: var(--primary-color);
    font-size: 44px;
}

/* Koyu tema şeritleri. */
html[data-theme="dark"] .ug-marquee-one {
    color: #121212;
    background-color: #f7f7f2;
}

html[data-theme="dark"] .ug-marquee-two {
    color: #fbfbfb;
    background-color: #121212;
}

@media (max-width: 767px) {
    .ug-marquee-item {
        gap: 14px;
        padding: 0 24px;
        font-size: 24px;
    }

    .ug-marquee-item span {
        font-size: 28px;
    }
}

/* ==================================================
   KİŞİSEL FOOTER
   ================================================== */

.ug-footer-brand {
    justify-content: flex-start;
}

.th-footer-mail-title {
    font-size: clamp(28px, 3.3vw, 58px);
    line-height: 1.15;
    /* overflow-wrap: anywhere; */
}

.th-footer-mail-title a {
    color: inherit;
}

@media (max-width: 991px) {
    .ug-footer-brand {
        justify-content: center;
        margin-bottom: 24px;
    }

    .th-opentowork {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .th-copyright-menu {
        text-align: center !important;
    }
}

/* ==================================================
   FOOTER BÜYÜK İSİM DÜZELTMESİ
   ================================================== */

.ug-footer-name-link {
    display: block;
    width: 100%;
}

.ug-footer-name-link,
.ug-footer-name-link .footer-large-title,
.ug-footer-name-link .footer-title {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.footer-large-title {
    width: 100%;
    overflow: hidden;
}

.footer-title {
    display: block;
    width: 100%;
    margin: 0;
    font-size: clamp(58px, 9.5vw, 180px);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    paint-order: stroke fill;
    transition:
        color 0.3s ease,
        -webkit-text-stroke-color 0.3s ease,
        text-shadow 0.3s ease;
}

/* Koyu moddaki büyük isim. */
html[data-theme="dark"] .footer-title {
    color: rgba(222, 255, 0, 0.08);
    -webkit-text-stroke: 2px rgba(222, 255, 0, 0.75);
    text-shadow: 0 0 35px rgba(222, 255, 0, 0.12);
}

/* ==================================================
   FOOTER – ALTTAN GELEN RENKLİ IŞIK EFEKTİ
   Mevcut footer HTML yapısını değiştirmez
================================================== */

.th-footer-area {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-top: 1px solid transparent;
}

/* Footer içeriğini ışık efektinin üzerinde tutar */
.th-footer-area>* {
    position: relative;
    z-index: 2;
}

/* Alt kısımdaki renkli ışık çizgisi */
.th-footer-area::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 4px;
    pointer-events: none;
    filter: blur(3px);
}

/* Koyu mod footer */
html[data-theme="dark"] .th-footer-area {
    color: #fbfbfb;
    background-image:
        radial-gradient(ellipse 70% 45% at 50% 115%,
            rgba(222, 255, 0, 0.26) 0%,
            rgba(222, 255, 0, 0.08) 42%,
            transparent 72%),
        radial-gradient(circle at 0% 100%,
            rgba(0, 160, 175, 0.16),
            transparent 36%),
        radial-gradient(circle at 100% 100%,
            rgba(130, 25, 115, 0.16),
            transparent 36%),
        linear-gradient(180deg,
            #0d0f10 0%,
            #0b0d0d 65%,
            #111807 100%) !important;

    border-top-color: rgba(222, 255, 0, 0.22);
}

html[data-theme="dark"] .th-footer-area::after {
    background: linear-gradient(90deg,
            transparent,
            #00b3aa 22%,
            #deff00 50%,
            #a03087 78%,
            transparent);

    box-shadow: 0 -12px 38px rgba(222, 255, 0, 0.20);
}

/* ==================================================
   ORTAK HOVER VE KLAVYE ODAK SİSTEMİ
   ================================================== */

/* Navbar bağlantılarının altında kontrollü bir çizgi oluşturur. */
.th-main-menu ul>li>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.th-main-menu ul>li:hover>a::after,
.th-main-menu ul>li>a:focus-visible::after {
    width: 100%;
}

/* Koyu mod navbar hover. */
html[data-theme="dark"] .th-main-menu ul>li:hover>a,
html[data-theme="dark"] .th-main-menu ul>li>a:focus-visible {
    color: var(--primary-color);
}

/* Logo hover. */
.th-header-area .ug-brand:hover .ug-brand-mark,
.th-header-area .ug-brand:focus-visible .ug-brand-mark {
    transform: translateY(-2px) scale(1.04);
}

html[data-theme="dark"] .th-header-area .ug-brand:hover .ug-brand-mark,
html[data-theme="dark"] .th-header-area .ug-brand:focus-visible .ug-brand-mark {
    box-shadow: 0 8px 22px rgba(222, 255, 0, 0.24);
}

html[data-theme="dark"] .th-header-area .ug-brand:hover .ug-brand-name,
html[data-theme="dark"] .th-header-area .ug-brand:focus-visible .ug-brand-name {
    color: var(--primary-color);
}

/* Ana butonlar. */
.th-primary-btn .th-icon,
.th-primary-btn .th-text,
.th-primary-btn .th-icon img {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        filter 0.3s ease;
}

html[data-theme="dark"] .th-primary-btn:hover .th-icon,
html[data-theme="dark"] .th-primary-btn:focus-visible .th-icon,
html[data-theme="dark"] .th-primary-btn:hover .th-text,
html[data-theme="dark"] .th-primary-btn:focus-visible .th-text {
    color: #121212;
    background-color: #fbfbfb;
    border-color: #fbfbfb;
}

html[data-theme="dark"] .th-primary-btn:hover,
html[data-theme="dark"] .th-primary-btn:focus-visible {
    filter: drop-shadow(0 10px 18px rgba(222, 255, 0, 0.12));
}

/* Footer bağlantıları. */
html[data-theme="dark"] .th-footer-widget-1 .th-footer-menu ul li a:hover,
html[data-theme="dark"] .th-footer-widget-1 .th-footer-menu ul li a:focus-visible,
html[data-theme="dark"] .th-footer-social ul li a:hover,
html[data-theme="dark"] .th-footer-social ul li a:focus-visible,
html[data-theme="dark"] .th-copyright-menu ul li a:hover,
html[data-theme="dark"] .th-copyright-menu ul li a:focus-visible,
html[data-theme="dark"] .th-footer-mail-title a:hover,
html[data-theme="dark"] .th-footer-mail-title a:focus-visible {
    color: var(--primary-color);
}

/* Büyük footer ismi hover. */
html[data-theme="dark"] .ug-footer-name-link:hover .footer-title,
html[data-theme="dark"] .ug-footer-name-link:focus-visible .footer-title {
    color: rgba(222, 255, 0, 0.13);
    text-shadow: 0 0 42px rgba(222, 255, 0, 0.24);
}

/* Yukarı çıkma düğmesi hover. */
.progress-wrap {
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

html[data-theme="dark"] .progress-wrap:hover {
    background-color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(222, 255, 0, 0.20);
    transform: translateY(-3px);
}

html[data-theme="dark"] .progress-wrap:hover::after {
    color: #121212;
}

/* Fare kullanmadan gezen ziyaretçiler için görünür odak halkası. */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .footer-title {
        font-size: clamp(40px, 12vw, 80px);
        white-space: normal;
    }
}

/* Dokunmatik cihazlarda takılı kalan hover görünümünü engeller. */
@media (hover: none) {

    .th-primary-btn:hover,
    .progress-wrap:hover {
        transform: none;
        filter: none;
    }
}

/* ==================================================
   FEATURED PROJECT KUTULARI
   ================================================== */

/* Görsel ve açıklama kutularını biraz küçültür. */
.th-service-thumb img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
}

.th-service-iconbox {
    height: 320px;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Proje başlığı en fazla iki satır. */
.th-service-iconbox .th-title {
    min-height: 64px;
    max-height: 64px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;

    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Açıklama en fazla iki satır ve sonunda üç nokta. */
.th-service-iconbox .th-desc {
    min-height: 48px;
    max-height: 48px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;

    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Butonu kutunun altında tutar. */
.th-service-iconbox .th-more-btn {
    margin-top: auto !important;
    align-self: flex-start;
}

/* Tablet. */
@media (min-width: 768px) and (max-width: 991px) {

    .th-service-thumb img,
    .th-service-iconbox {
        height: 310px;
    }

    .th-service-iconbox {
        padding: 28px 24px;
    }
}

/* Telefon. */
@media (max-width: 767px) {
    .th-service-thumb img {
        height: 250px;
    }

    .th-service-iconbox {
        height: 310px;
        padding: 28px 24px;
    }
}

/* ==================================================
   SKILLS KARTLARI
================================================== */

.ug-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.ug-skill-card {
    min-width: 0;
    min-height: 150px;
    padding: 32px;
    border: 1px solid transparent;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.ug-skill-logo {
    width: 64px;
    height: 64px;
    border: 1px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ug-skill-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.ug-skill-name {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Koyu mod */
html[data-theme="dark"] .ug-skill-card {
    color: #fbfbfb;
    background-color: #111111;
    border-color: #303030;
}

html[data-theme="dark"] .ug-skill-logo {
    background-color: #f4f4ef;
    border-color: #deded6;
}

html[data-theme="dark"] .ug-skill-name {
    color: #fbfbfb;
}

html[data-theme="dark"] .ug-skill-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 14px 32px rgba(222, 255, 0, 0.12);
    transform: translateY(-4px);
}

/* Tablet */
@media (max-width: 991px) {
    .ug-skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Telefon */
@media (max-width: 575px) {
    .ug-skills-grid {
        grid-template-columns: 1fr;
    }

    .ug-skill-card {
        min-height: 110px;
        padding: 24px;
    }

    .ug-skill-logo {
        width: 56px;
        height: 56px;
    }

    .ug-skill-logo img {
        width: 34px;
        height: 34px;
    }

    .ug-skill-name {
        font-size: 19px;
    }
}

/* ==================================================
   MOBİL MENÜ TEMA RENKLERİ
   ================================================== */

.th-offcanvas {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* Koyu mod. */
html[data-theme="dark"] .th-offcanvas {
    color: #fbfbfb;
    background-color: #0e0e0e;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .th-offcanvas .ug-brand-name,
html[data-theme="dark"] .th-offcanvas-close-toggle,
html[data-theme="dark"] .th-offcanvas-menu ul li>a {
    color: #fbfbfb;
}

html[data-theme="dark"] .th-offcanvas-menu ul li>a {
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .th-offcanvas-menu ul li>a:hover,
html[data-theme="dark"] .th-offcanvas-menu ul li>a:focus-visible {
    color: var(--primary-color);
}

/* Proje kartı bağlantılarının hover efektleri. */
html[data-theme="dark"] .th-service-iconbox .th-title:hover,
html[data-theme="dark"] .th-service-iconbox .th-title:hover a,
html[data-theme="dark"] .th-service-iconbox .th-more-btn:hover {
    color: var(--primary-color);
}

html[data-theme="dark"] .th-service-iconbox .th-more-btn:hover {
    border-bottom-color: var(--primary-color);
}

/* ==================================================
   CONTACT ME SAYFASI
   ================================================== */

.ug-contact-social-list {
    display: grid;
    gap: 16px;
}

.ug-contact-social-card {
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.ug-contact-social-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.ug-contact-social-content {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.ug-contact-social-content strong {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.ug-contact-social-content small {
    font-size: 14px;
    line-height: 20px;
}

.ug-contact-social-arrow {
    flex-shrink: 0;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ug-contact-social-card:hover {
    transform: translateY(-3px);
}

.ug-contact-social-card:hover .ug-contact-social-icon {
    transform: rotate(-8deg);
}

.ug-contact-social-card:hover .ug-contact-social-arrow {
    transform: translate(3px, -3px);
}

/* Koyu tema. */
html[data-theme="dark"] .ug-contact-social-card {
    color: #fbfbfb;
    background-color: #121212;
    border-color: #2f2f2f;
}

html[data-theme="dark"] .ug-contact-social-content small {
    color: #b4b2b2;
}

html[data-theme="dark"] .ug-contact-social-icon {
    color: var(--primary-color);
    background-color: #0e0e0e;
}

html[data-theme="dark"] .ug-contact-social-card:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 14px 32px rgba(222, 255, 0, 0.12);
}

html[data-theme="dark"] .ug-contact-social-card:hover .ug-contact-social-icon {
    color: #121212;
    background-color: var(--primary-color);
}

/* Formun açık ve koyu tema renkleri. */
html[data-theme="dark"] .th-pixlora-contact-form {
    background-color: #121212;
    border-color: #2f2f2f;
}

html[data-theme="dark"] .th-single-form .th-balel-title {
    color: #fbfbfb;
}

html[data-theme="dark"] .th-single-form-2 input,
html[data-theme="dark"] .th-single-form-2 textarea {
    color: #fbfbfb;
    background-color: #0e0e0e;
    border: 1px solid #2f2f2f;
}

/* Form alanına tıklandığında görünen çerçeve. */
.th-single-form-2 input:focus,
.th-single-form-2 textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (max-width: 767px) {
    .ug-contact-area {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .ug-contact-social-card {
        min-height: 82px;
        padding: 14px 16px;
    }

    .ug-contact-social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ==================================================
   PROJECTS SAYFASI
   ================================================== */

/* Bootstrap sütunlarındaki kartları eşit yükseklikte tutar. */
.ug-project-column {
    display: flex;
}

/* Proje kartları. */
.ug-project-card {
    width: 100%;
    min-height: 390px;
    display: flex;
    flex-direction: column;
}

/* Font Awesome proje ikonları. */
.ug-project-icon {
    color: #fbfbfb;
    font-size: 22px;
    line-height: 1;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

/* Başlıkların kart yüksekliklerini bozmamasını sağlar. */
.ug-project-card .th-service-icnbox-title {
    min-height: 72px;
    max-height: 72px;
    overflow: hidden;

    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Açıklamayı en fazla dört satır gösterir. */
.ug-project-card .th-service-icnbox-para {
    min-height: 128px;
    max-height: 128px;
    overflow: hidden;
    text-overflow: ellipsis;

    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* View Project bağlantısını kartın altında tutar. */
.ug-project-card .th-service-arrow-icon {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
}

/* Kart hover olduğunda ikon rengi değişir. */
.ug-project-card:hover .ug-project-icon {
    color: #121212;
    transform: rotate(-8deg);
}

/* Başlık bağlantısının rengini ana başlıktan almasını sağlar. */
.ug-project-card .th-service-icnbox-title a {
    color: inherit;
}

/* Mobil görünüm. */
@media (max-width: 767px) {
    .th-service-iconbox-wrap {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .ug-project-card {
        min-height: 360px;
        padding: 30px 24px;
    }

    .ug-project-card .th-service-icnbox-title {
        min-height: auto;
    }
}

/* Featured Projects altındaki tüm projeler butonu */
.ug-featured-projects-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 30px;
}

.ug-featured-projects-button .th-primary-btn {
    margin: 0;
}

/* ==================================================
   ABOUT ME SAYFASI
================================================== */

.ug-about-page {
    position: relative;
    overflow: hidden;
}

.ug-about-lead {
    position: relative;
    padding: 38px 42px;
    margin-bottom: 30px;
    overflow: hidden;
    background: #111111;
    border: 1px solid #303030;
    border-radius: 24px;
}

.ug-about-lead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #d9ff00;
}

.ug-about-lead::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(217, 255, 0, 0.08);
    filter: blur(20px);
    pointer-events: none;
}

.ug-about-lead-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 15px;
    color: #d9ff00;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ug-about-lead p {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    margin: 0;
    color: #c8c8c8;
    font-size: 18px;
    line-height: 1.8;
}

.ug-about-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ug-about-story-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    min-height: 260px;
    padding: 38px;
    overflow: hidden;
    background: #111111;
    border: 1px solid #303030;
    border-radius: 24px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.ug-about-story-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(217, 255, 0, 0.12);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.ug-about-story-card:hover {
    transform: translateY(-6px);
    border-color: #d9ff00;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.ug-about-story-card:hover::after {
    transform: scale(1.25);
}

.ug-about-story-number {
    position: absolute;
    top: 25px;
    right: 30px;
    color: rgba(217, 255, 0, 0.18);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.ug-about-story-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    color: #111111;
    background: #d9ff00;
    border-radius: 50%;
    font-size: 25px;
}

.ug-about-story-content {
    position: relative;
    z-index: 1;
    padding-top: 7px;
}

.ug-about-story-content h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
}

.ug-about-story-content p {
    margin: 0;
    color: #bdbdbd;
    font-size: 17px;
    line-height: 1.75;
}


/* Tablet */
@media (max-width: 991px) {
    .ug-about-story-grid {
        grid-template-columns: 1fr;
    }
}


/* Telefon */
@media (max-width: 575px) {
    .ug-about-lead {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .ug-about-lead p {
        font-size: 16px;
    }

    .ug-about-story-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 30px 24px;
        border-radius: 18px;
    }

    .ug-about-story-icon {
        width: 62px;
        height: 62px;
        font-size: 22px;
    }

    .ug-about-story-content h3 {
        padding-right: 45px;
        font-size: 24px;
    }

    .ug-about-story-content p {
        font-size: 16px;
    }

    .ug-about-story-number {
        top: 24px;
        right: 24px;
        font-size: 40px;
    }
}

/* About Me sayfası alt yönlendirme butonları */
.ug-about-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    margin-top: 50px;
}

.ug-about-actions .th-primary-btn {
    margin: 0;
}

@media (max-width: 575px) {
    .ug-about-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 35px;
    }

    .ug-about-actions .th-primary-btn {
        justify-content: center;
        width: 100%;
    }
}

.ug-about-projects-btn .th-icon img {
    filter: brightness(0);
}

/* -------------------------------------- - - - - - - - - - - - -               ----------------------- */

/* ==================================================
   PROJECT DETAILS SAYFASI
================================================== */

.ug-project-details-area {
    position: relative;
    overflow: hidden;
}


/* Carousel */
.ug-project-gallery {
    position: relative;
    overflow: hidden;
    background: #0e0e0e;
    border: 1px solid #2c2c2c;
    border-radius: 24px;
}

.ug-project-gallery .carousel-inner,
.ug-project-gallery .carousel-item,
.ug-project-gallery .th-service-large-thumb {
    border-radius: 24px;
}

.ug-project-gallery .th-service-large-thumb {
    margin: 0;
    overflow: hidden;
}

.ug-project-gallery .th-service-large-thumb img {
    display: block;
    width: 100%;
    height: 572px;
    object-fit: cover;
    border-radius: 24px;
}


/* Carousel okları */
.ug-project-gallery-control {
    top: 50%;
    width: 58px;
    height: 58px;
    margin: 0 24px;
    color: #0e0e0e;
    background: #deff00;
    border: 1px solid #deff00;
    border-radius: 50%;
    opacity: 1;
    transform: translateY(-50%);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.ug-project-gallery-control:hover,
.ug-project-gallery-control:focus-visible {
    color: #0e0e0e;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.ug-project-gallery-control span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ug-project-gallery .carousel-indicators {
    bottom: 18px;
    z-index: 5;
    margin-bottom: 0;
}

.ug-project-gallery .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ffffff;
    border: 0;
    border-radius: 50%;
    opacity: 0.55;
}

.ug-project-gallery .carousel-indicators .active {
    width: 30px;
    background-color: #deff00;
    border-radius: 20px;
    opacity: 1;
}


/*
Tek görsel bırakılırsa carousel oklarını ve noktalarını gizler.
Backend aşamasında bunlar görsel sayısına göre hiç üretilmeyecek.
*/
.ug-project-gallery:has(.carousel-item:only-child) .ug-project-gallery-control,
.ug-project-gallery:has(.carousel-item:only-child) .carousel-indicators {
    display: none;
}


/* Ana içerik */
.ug-project-content-row {
    margin-top: 55px;
}

.ug-project-type-label {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 16px;
    margin-bottom: 18px;
    color: #0e0e0e;
    background: #deff00;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ug-project-introduction {
    max-width: 760px;
    font-size: 18px !important;
    line-height: 30px !important;
}

.ug-project-section {
    padding-top: 10px;
    border-top: 1px solid #2c2c2c;
}

.ug-project-section .th-title {
    padding-top: 30px;
}

.ug-project-feature-list {
    margin-top: 22px;
}


/* Sağ taraf */
.ug-project-sidebar {
    position: sticky;
    top: 120px;
}

.ug-project-meta-list {
    margin-top: 24px;
}

.ug-project-meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #2c2c2c;
}

.ug-project-meta-item span {
    color: #b4b2b2;
    font-size: 15px;
}

.ug-project-meta-item strong {
    color: #fbfbfb;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
}

.ug-project-widget-subtitle {
    margin-top: 30px;
    margin-bottom: 18px;
    color: #fbfbfb;
    font-size: 18px;
    font-weight: 700;
}


/* Teknolojiler */
.ug-project-technologies {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ug-project-technology {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 54px;
    padding: 10px 14px;
    background: #121212;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}

.ug-project-technology:hover {
    border-color: #deff00;
    transform: translateX(4px);
}

.ug-project-technology img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ug-project-technology span {
    color: #fbfbfb;
    font-size: 15px;
    font-weight: 600;
}


/* Proje bağlantıları */
.ug-project-links-widget .th-para {
    margin-bottom: 22px;
}

.ug-project-links a {
    font-weight: 600;
}


/* Contact Me kutusu */
.ug-project-contact-card {
    position: relative;
    min-height: 405px;
    overflow: hidden;
    text-align: left;
    border-color: rgba(222, 255, 0, 0.45);
}

.ug-project-contact-card::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -110px;
    width: 260px;
    height: 260px;
    background: rgba(222, 255, 0, 0.1);
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
}

.ug-project-contact-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
    color: #0e0e0e;
    background: #deff00;
    border-radius: 50%;
    font-size: 25px;
}

.ug-project-contact-label {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    color: #deff00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ug-project-contact-title {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    color: #fbfbfb;
    font-size: 27px;
    line-height: 35px;
    font-weight: 700;
}

.ug-project-contact-description {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    color: #b4b2b2;
    font-size: 16px;
    line-height: 25px;
}

.ug-project-contact-button {
    position: relative;
    z-index: 1;
    margin: 0;
}

.ug-project-contact-button .th-icon img {
    filter: brightness(0);
}


/* Tablet */
@media (max-width: 991px) {
    .ug-project-gallery .th-service-large-thumb img {
        height: 450px;
    }

    .ug-project-sidebar {
        position: static;
        margin-top: 30px;
    }
}


/* Telefon */
@media (max-width: 575px) {
    .ug-project-gallery {
        border-radius: 18px;
    }

    .ug-project-gallery .carousel-inner,
    .ug-project-gallery .carousel-item,
    .ug-project-gallery .th-service-large-thumb,
    .ug-project-gallery .th-service-large-thumb img {
        border-radius: 18px;
    }

    .ug-project-gallery .th-service-large-thumb img {
        height: 300px;
    }

    .ug-project-gallery-control {
        width: 46px;
        height: 46px;
        margin: 0 12px;
    }

    .ug-project-gallery-control span {
        font-size: 17px;
    }

    .ug-project-content-row {
        margin-top: 40px;
    }

    .ug-project-meta-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .ug-project-meta-item strong {
        text-align: left;
    }

    .ug-project-contact-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .ug-project-contact-title {
        font-size: 24px;
        line-height: 32px;
    }
}

/* ==================================================
   PRIVACY NOTICE SAYFASI
================================================== */

.ug-privacy-area {
    position: relative;
    overflow: hidden;
}

.ug-privacy-introduction {
    position: relative;
    padding: 42px;
    margin-bottom: 30px;
    overflow: hidden;
    background: #0e0e0e;
    border: 1px solid rgba(222, 255, 0, 0.55);
    border-radius: 24px;
}

.ug-privacy-introduction::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 270px;
    height: 270px;
    background: rgba(222, 255, 0, 0.1);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.ug-privacy-label {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    color: #deff00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ug-privacy-introduction h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    color: #fbfbfb;
    font-size: 42px;
    line-height: 50px;
    font-weight: 700;
}

.ug-privacy-introduction>p:not(.ug-privacy-label) {
    position: relative;
    z-index: 1;
    max-width: 850px;
    color: #b4b2b2;
    font-size: 17px;
    line-height: 28px;
}

.ug-privacy-update {
    margin-top: 18px;
    margin-bottom: 0;
    color: #fbfbfb !important;
    font-size: 14px !important;
    font-weight: 600;
}

.ug-privacy-content {
    display: grid;
    gap: 22px;
}

.ug-privacy-card {
    position: relative;
    padding: 36px 40px;
    overflow: hidden;
    background: #0e0e0e;
    border: 1px solid #2c2c2c;
    border-radius: 20px;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}

.ug-privacy-card:hover {
    border-color: rgba(222, 255, 0, 0.65);
    transform: translateY(-3px);
}

.ug-privacy-number {
    position: absolute;
    top: 25px;
    right: 30px;
    color: rgba(222, 255, 0, 0.14);
    font-size: 45px;
    line-height: 1;
    font-weight: 800;
}

.ug-privacy-card h3 {
    position: relative;
    z-index: 1;
    padding-right: 65px;
    margin-bottom: 18px;
    color: #fbfbfb;
    font-size: 25px;
    line-height: 34px;
    font-weight: 700;
}

.ug-privacy-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    color: #b4b2b2;
    font-size: 16px;
    line-height: 27px;
}

.ug-privacy-card ul {
    position: relative;
    z-index: 1;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.ug-privacy-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 11px;
    color: #c8c8c8;
    font-size: 16px;
    line-height: 26px;
}

.ug-privacy-card ul li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #deff00;
    border-radius: 50%;
}

.ug-privacy-card strong,
.ug-privacy-card a {
    color: #fbfbfb;
}

.ug-privacy-card a:hover {
    color: #deff00;
}

.ug-privacy-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin: 5px 0 22px;
    color: #0e0e0e !important;
    background: #deff00;
    border-radius: 100px;
    font-weight: 700;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.ug-privacy-email:hover {
    color: #0e0e0e !important;
    background: #ffffff;
    transform: translateY(-2px);
}

.ug-privacy-final-note {
    margin-bottom: 0 !important;
    padding-top: 20px;
    border-top: 1px solid #2c2c2c;
}


/* Contact formundaki Privacy Notice bağlantısı */
.ug-form-privacy-note {
    margin: 4px 0 0;
    color: #b4b2b2;
    font-size: 14px;
    line-height: 22px;
}

.ug-form-privacy-note a {
    color: #deff00;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ug-form-privacy-note a:hover {
    color: #ffffff;
}


/* Telefon */
@media (max-width: 575px) {
    .ug-privacy-introduction {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .ug-privacy-introduction h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .ug-privacy-card {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .ug-privacy-card h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .ug-privacy-number {
        top: 24px;
        right: 22px;
        font-size: 38px;
    }

    .ug-privacy-email {
        align-items: flex-start;
        width: 100%;
        border-radius: 14px;
        overflow-wrap: anywhere;
    }
}

.ug-contact-demo-message {
    display: none;
    margin-top: 20px;
    padding: 14px 18px;
    color: #d7ff00;
    background: rgba(215, 255, 0, 0.08);
    border: 1px solid rgba(215, 255, 0, 0.45);
    border-radius: 10px;
    font-size: 15px;
}

.ug-contact-demo-message.is-visible {
    display: block;
}

.ug-contact-demo-message.is-error {
    color: #ff6868;
    background: rgba(255, 70, 70, 0.08);
    border-color: rgba(255, 70, 70, 0.45);
}


/* Breadcrumb active span matches link typography */
.th-breadcrumb-content ul li span.active {
    color: #FAF2EE;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    opacity: 1;
    font-family: var(--th-fonts-Inter);
    margin: 0;
}
