@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');


/* =========================
   VARIABLES
========================= */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;

    --dark: #0F172A;
    --text: #475569;
    --muted: #64748B;

    --white: #FFFFFF;
    --surface: #F8FAFC;
    --border: #E2E8F0;

    --success: #16A34A;
}


/* Başlangıçta gizlenen elemanların görünmesini kesin olarak engeller */
[hidden] {
    display: none !important;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;

    font-family: 'Manrope', sans-serif;
    color: var(--dark);
    background: var(--white);

    line-height: 1.6;

    overflow-x: hidden;
}

body.overlay-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
    flex-shrink: 0;
}

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

ul {
    list-style: none;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;

    margin-inline: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.93);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(226, 232, 240, 0.9);

    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.035);
}

.navbar {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 80px;

    gap: 30px;
}

.logo {
    display: block;
    flex-shrink: 0;
}

.logo img {
    width: 160px;
}

.main-navigation {
    margin-left: auto;
}

.main-navigation ul {
    display: flex;
    align-items: center;

    gap: 38px;
}

.main-navigation a {
    position: relative;

    color: var(--dark);

    font-size: 15px;
    font-weight: 600;

    transition: color 0.25s ease;
}

.main-navigation a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 2px;

    background: var(--primary);

    border-radius: 20px;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

.main-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================
   BUTTONS
========================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    color: var(--white);
    background: var(--primary);

    border-radius: 10px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.2);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 26px;

    color: var(--primary);
    background: var(--white);

    border: 2px solid var(--primary);
    border-radius: 10px;

    font-weight: 700;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.btn-secondary:hover {
    color: var(--white);
    background: var(--primary);

    transform: translateY(-3px);
}


/* =========================
   TEKLİF BUTONU
========================= */

.quote-menu {
    position: relative;
    flex-shrink: 0;
}

.quote-trigger {
    min-width: 140px;

    gap: 9px;

    white-space: nowrap;
}

.quote-trigger svg {
    transition: transform 0.3s ease;
}

.quote-trigger[aria-expanded="true"] svg {
    transform: rotate(90deg);
}


/* =========================
   PANEL ARKA PLANI
========================= */

.quote-backdrop {
    position: fixed;
    inset: 0;

    z-index: 900;

    background: rgba(15, 23, 42, 0.3);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;

    transition: opacity 0.25s ease;
}

.quote-backdrop.is-visible {
    opacity: 1;
}


/* =========================
   TEKLİF PANELİ
========================= */

.quote-panel {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;

    width: min(460px, calc(100vw - 30px));
    max-height: calc(100vh - 110px);

    overflow-x: hidden;
    overflow-y: auto;

    color: var(--dark);

    background:
        linear-gradient(
            145deg,
            #FFFFFF 0%,
            #F8FBFF 100%
        );

    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 22px;

    box-shadow:
        0 35px 85px rgba(15, 23, 42, 0.25),
        0 12px 30px rgba(37, 99, 235, 0.1);

    opacity: 0;

    transform:
        translateY(-12px)
        scale(0.97);

    transform-origin: top right;

    transition:
        opacity 0.28s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-panel.is-open {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

.quote-panel::-webkit-scrollbar {
    width: 7px;
}

.quote-panel::-webkit-scrollbar-track {
    background: transparent;
}

.quote-panel::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 20px;
}

.quote-panel-line {
    position: absolute;
    top: 0;
    left: 35px;
    right: 35px;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--primary),
            #60A5FA,
            transparent
        );
}

.quote-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;

    padding: 28px 28px 22px;

    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.quote-panel-heading {
    min-width: 0;
}

.quote-panel-tag {
    display: block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.quote-panel-header h2 {
    margin-bottom: 8px;

    color: var(--dark);

    font-size: 23px;
    line-height: 1.25;

    letter-spacing: -0.5px;
}

.quote-panel-header p {
    max-width: 350px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

.panel-close-button,
.modal-close-button {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    color: var(--muted);
    background: #F1F5F9;

    border-radius: 50%;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.panel-close-button:hover,
.modal-close-button:hover {
    color: var(--primary);
    background: #EAF2FF;

    transform: rotate(90deg);
}


/* =========================
   FORM
========================= */

.quote-panel form {
    padding: 23px 28px 27px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 13px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label,
.contact-preference legend {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 12px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    color: var(--dark);
    background: var(--white);

    border: 1px solid #D8E0EA;
    border-radius: 11px;

    outline: none;

    font-size: 13px;
    font-weight: 500;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.form-group input,
.form-group select {
    height: 48px;

    padding: 0 14px;
}

.form-group textarea {
    min-height: 105px;

    padding: 13px 14px;

    line-height: 1.55;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA9B9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #FFFFFF;

    border-color: #60A5FA;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 16px;

    width: 8px;
    height: 8px;

    border-right: 2px solid #64748B;
    border-bottom: 2px solid #64748B;

    pointer-events: none;

    transform:
        translateY(-70%)
        rotate(45deg);
}

.form-group select {
    padding-right: 42px;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
}

.other-project-group {
    animation: showOtherField 0.3s ease both;
}

.field-description {
    display: block;

    margin-top: 6px;

    color: #94A3B8;

    font-size: 10px;
}


/* =========================
   İLETİŞİM SEÇENEKLERİ
========================= */

.contact-preference {
    margin: 1px 0 20px;

    border: 0;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.contact-option {
    position: relative;

    cursor: pointer;
}

.contact-option input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.contact-option-box {
    display: flex;
    align-items: center;

    min-height: 64px;

    padding: 10px 12px;

    background: var(--white);

    border: 1px solid #D8E0EA;
    border-radius: 12px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    margin-right: 10px;

    color: var(--primary);
    background: #EFF6FF;

    border-radius: 9px;
}

.contact-option-text {
    min-width: 0;
}

.contact-option-text strong,
.contact-option-text small {
    display: block;
}

.contact-option-text strong {
    color: #334155;

    font-size: 12px;
    line-height: 1.3;
}

.contact-option-text small {
    margin-top: 3px;

    color: #94A3B8;

    font-size: 10px;
}

.radio-indicator {
    position: relative;

    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin-left: auto;

    border: 2px solid #CBD5E1;
    border-radius: 50%;

    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.radio-indicator::after {
    content: "";

    position: absolute;
    inset: 3px;

    background: var(--white);

    border-radius: 50%;

    opacity: 0;

    transform: scale(0.2);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.contact-option:hover .contact-option-box {
    border-color: #93C5FD;

    transform: translateY(-2px);
}

.contact-option input:focus-visible + .contact-option-box {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 2px;
}

.contact-option input:checked + .contact-option-box {
    background: #F5F9FF;

    border-color: var(--primary);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.1);
}

.contact-option input:checked + .contact-option-box .radio-indicator {
    background: var(--primary);
    border-color: var(--primary);
}

.contact-option input:checked + .contact-option-box .radio-indicator::after {
    opacity: 1;
    transform: scale(1);
}


/* =========================
   FORM GÖNDER BUTONU
========================= */

.quote-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;
    min-height: 51px;

    padding: 13px 20px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            #2563EB 0%,
            #1D4ED8 100%
        );

    border-radius: 12px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 13px 27px rgba(37, 99, 235, 0.24);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.quote-submit-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 34px rgba(37, 99, 235, 0.32);
}

.quote-submit-button svg {
    transition: transform 0.3s ease;
}

.quote-submit-button:hover svg {
    transform: translateX(4px);
}

.privacy-text {
    margin-top: 12px;

    color: #94A3B8;

    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 120px;

    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #FFFFFF 55%,
            #F3F7FF 100%
        );
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;
}

.hero-left,
.hero-right {
    flex: 1;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-tag {
    display: inline-block;

    margin-bottom: 25px;
    padding: 10px 18px;

    color: var(--primary);
    background: var(--primary-light);

    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    margin-bottom: 25px;

    color: var(--dark);

    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;

    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 550px;

    margin-bottom: 40px;

    color: var(--text);

    font-size: 20px;
}

.hero-buttons {
    display: flex;

    gap: 20px;
}

.hero-right img {
    width: 420px;

    filter:
        drop-shadow(
            0 0 40px rgba(37, 99, 235, 0.25)
        );

    animation: float 5s ease-in-out infinite;
}


/* =========================
   SERVICES
========================= */

.services {
    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F8FAFD 100%
        );
}

.section-tag {
    color: var(--primary);

    font-weight: 700;

    letter-spacing: 2px;
}

.services h2 {
    margin: 20px 0;

    color: var(--dark);

    font-size: 46px;
}

.section-description {
    max-width: 700px;

    margin-bottom: 60px;

    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.service-card {
    padding: 40px 30px;

    background: var(--white);

    border: 1px solid #E8EDF3;
    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-10px);

    border-color: #D5E3FF;

    box-shadow:
        0 25px 60px rgba(37, 99, 235, 0.15);
}

.service-card h3 {
    margin-bottom: 20px;

    color: var(--dark);

    font-size: 24px;
}

.service-card p {
    color: var(--muted);
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 40px;

    color: var(--white);
    background: var(--dark);

    text-align: center;
}


/* =========================
   BAŞARI MODALI
========================= */

.success-modal {
    position: fixed;
    inset: 0;

    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;

    transition: opacity 0.25s ease;
}

.success-modal.is-visible {
    opacity: 1;
}

.success-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.68);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.success-modal-content {
    position: relative;

    width: 100%;
    max-width: 485px;

    padding: 45px 38px 38px;

    color: var(--dark);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(34, 197, 94, 0.13),
            transparent 37%
        ),
        var(--white);

    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 40px 100px rgba(15, 23, 42, 0.35);

    transform:
        translateY(18px)
        scale(0.95);

    transition:
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.is-visible .success-modal-content {
    transform:
        translateY(0)
        scale(1);
}

.modal-close-button {
    position: absolute;
    top: 18px;
    right: 18px;
}

.success-icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    margin: 0 auto 22px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            #22C55E,
            #16A34A
        );

    border: 9px solid #DCFCE7;
    border-radius: 50%;

    box-shadow:
        0 15px 30px rgba(22, 163, 74, 0.22);
}

.success-tag {
    display: block;

    margin-bottom: 8px;

    color: var(--success);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.success-modal-content h2 {
    margin-bottom: 13px;

    color: var(--dark);

    font-size: 30px;
    line-height: 1.2;

    letter-spacing: -0.8px;
}

.success-modal-content p {
    max-width: 390px;

    margin: 0 auto 26px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;
}

.success-confirm-button {
    min-width: 150px;

    padding: 13px 28px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    border-radius: 11px;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.23);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.success-confirm-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 32px rgba(37, 99, 235, 0.3);
}


/* =========================
   ANIMATIONS
========================= */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

}

@keyframes showOtherField {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

}


/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

    .main-navigation ul {
        gap: 22px;
    }

    .hero-content {
        flex-direction: column;

        text-align: center;
    }

    .hero p {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-right img {
        width: 350px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 34px);
    }

    .navbar {
        height: 72px;
    }

    .logo img {
        width: 135px;
    }

    .main-navigation {
        display: none;
    }

    .quote-trigger {
        min-width: auto;

        padding: 11px 17px;

        font-size: 13px;
    }

    .quote-trigger svg {
        display: none;
    }

    .quote-panel {
        position: fixed;
        top: 82px;
        right: 12px;
        left: 12px;

        width: auto;
        max-height: calc(100vh - 94px);

        border-radius: 19px;

        transform-origin: top center;
    }

    .quote-panel-header {
        padding: 24px 21px 19px;
    }

    .quote-panel-header h2 {
        font-size: 21px;
    }

    .quote-panel form {
        padding: 21px 21px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .hero-right img {
        width: 280px;
    }

    .services {
        padding: 80px 0;
    }

    .services h2 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .success-modal-content {
        padding: 42px 25px 30px;

        border-radius: 21px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .logo img {
        width: 118px;
    }

    .quote-trigger {
        padding: 10px 14px;

        font-size: 12px;
    }

    .quote-panel {
        top: 78px;
        right: 7px;
        left: 7px;

        max-height: calc(100vh - 86px);
    }

    .quote-panel-header {
        padding: 22px 18px 18px;
    }

    .quote-panel-header h2 {
        font-size: 19px;
    }

    .quote-panel form {
        padding: 19px 18px 22px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .services h2 {
        font-size: 32px;
    }

    .success-modal-content h2 {
        font-size: 27px;
    }

}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
/* =========================================================
   PROJELER
   ========================================================= */

.projects {
    padding: 110px 0;
    background: var(--surface);
}

.section-heading {
    margin-bottom: 50px;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-item {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

button.project-item {
    font: inherit;
    color: inherit;
}

.project-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.project-item-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.project-logo {
    width: 110px;
    height: 75px;
    border-radius: 15px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}

.project-logo span {
    font-weight: 400;
}

.project-logo-empty {
    font-size: 32px;
    font-weight: 300;
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-category {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.project-info h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 25px;
}

.project-info p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.project-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
}

.project-coming {
    cursor: default;
    opacity: 0.72;
}

.project-coming:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: none;
}


/* =========================================================
   ODAKPOS DETAY SAYFASI
   ========================================================= */

.project-detail-page {
    min-height: 100vh;
    padding: 90px 0 110px;
    background: var(--white);
}

.back-projects {
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-bottom: 55px;
}

.back-projects:hover {
    color: var(--primary-dark);
}

.odakpos-detail-header {
    max-width: 800px;
    margin-bottom: 55px;
}

.odakpos-detail-header h2 {
    margin: 15px 0 18px;
    color: var(--dark);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
}

.odakpos-detail-header h2 span {
    color: var(--primary);
}

.odakpos-detail-header p {
    max-width: 700px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.8;
}

.odakpos-detail-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 1000px;
}

.detail-box {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

.detail-number {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.detail-box h3 {
    margin: 0 0 14px;
    color: var(--dark);
    font-size: 22px;
}

.detail-box p {
    margin: 0;
    color: var(--text);
    line-height: 1.8;
}

.detail-box ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text);
}

.detail-box li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.bottom-back {
    margin-top: 45px;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 768px) {

    .projects {
        padding: 80px 0;
    }

    .project-item {
        padding: 22px;
    }

    .project-item-left {
        gap: 18px;
    }

    .project-logo {
        width: 82px;
        height: 62px;
        font-size: 16px;
    }

    .project-info h3 {
        font-size: 21px;
    }

    .project-info p {
        font-size: 14px;
    }

    .project-arrow {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .odakpos-detail-content {
        grid-template-columns: 1fr;
    }

    .project-detail-page {
        padding: 70px 0 80px;
    }

}


@media (max-width: 480px) {

    .project-item-left {
        align-items: flex-start;
    }

    .project-logo {
        width: 70px;
        height: 55px;
    }

    .project-arrow {
        display: none;
    }

    .project-info h3 {
        font-size: 19px;
    }

    .project-info p {
        font-size: 13px;
    }

    .detail-box {
        padding: 25px;
    }

}

/* SAYFA GEÇİŞ ANİMASYONU */

body {
    opacity: 0;
    animation: pageEnter 0.7s ease forwards;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* Linkten çıkarken yumuşak geçiş */

a {
    transition: opacity 0.3s ease;
}

body.page-leaving {
    animation: pageLeave 0.45s ease forwards;
}

@keyframes pageLeave {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ========================================
   PROJELER
======================================== */

.projects-section {
    padding: 120px 0;
    background: #ffffff;
}

.projects-heading {
    max-width: 760px;
    margin-bottom: 70px;
}

.projects-label {
    display: inline-block;

    color: #2563EB;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 18px;
}

.projects-heading h2 {
    margin: 0 0 22px;

    color: #0F172A;

    font-size: clamp(42px, 6vw, 70px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.projects-heading h2 span {
    color: #2563EB;
}

.projects-heading p {
    max-width: 700px;

    color: #64748B;

    font-size: 18px;

    line-height: 1.8;
}


/* PROJE KARTI */

.project-item {
    position: relative;

    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 35px;

    padding: 55px 0;

    border-top: 1px solid #E2E8F0;

    transition:
        transform .35s ease,
        padding-left .35s ease;
}

.project-item:last-child {
    border-bottom: 1px solid #E2E8F0;
}

.project-item:hover {
    padding-left: 12px;
}

.project-number {
    color: #CBD5E1;

    font-size: 14px;

    font-weight: 700;

    padding-top: 5px;
}

.project-content {
    max-width: 800px;
}

.project-category {
    display: block;

    color: #64748B;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.2px;

    margin-bottom: 12px;
}

.project-content h3 {
    margin: 0 0 15px;

    color: #0F172A;

    font-size: clamp(30px, 4vw, 45px);

    line-height: 1.1;

    letter-spacing: -1px;
}

.project-content p {
    max-width: 720px;

    color: #64748B;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 20px;
}

.project-meta {
    display: inline-block;

    padding: 9px 14px;

    margin-bottom: 22px;

    background: #EFF6FF;

    color: #2563EB;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 600;
}


/* LİNK */

.project-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #2563EB;

    font-size: 15px;

    font-weight: 700;

    transition: .25s ease;
}

.project-link span {
    font-size: 20px;

    transition: .25s ease;
}

.project-link:hover {
    color: #1D4ED8;
}

.project-link:hover span {
    transform: translateX(5px);
}


/* OYUNLAR */

.games-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    margin-top: 30px;
}

.game-project {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px;

    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    border-radius: 15px;

    transition: .3s ease;
}

.game-project:hover {
    transform: translateY(-4px);

    border-color: #BFDBFE;

    background: #EFF6FF;
}

.game-project strong {
    display: block;

    color: #0F172A;

    font-size: 18px;

    margin-bottom: 5px;
}

.game-project small {
    color: #64748B;

    font-size: 13px;
}

.game-project > span {
    color: #2563EB;

    font-size: 20px;
}


/* TEKNOLOJİLER */

.technology-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}

.technology-list span {
    padding: 9px 13px;

    background: #F8FAFC;

    border: 1px solid #E2E8F0;

    border-radius: 8px;

    color: #475569;

    font-size: 13px;

    font-weight: 600;
}


/* MOBİL */

@media (max-width: 768px) {

    .projects-section {
        padding: 80px 0;
    }

    .projects-heading {
        margin-bottom: 45px;
    }

    .projects-heading h2 {
        letter-spacing: -1.5px;
    }

    .projects-heading p {
        font-size: 16px;
    }

    .project-item {
        grid-template-columns: 45px 1fr;

        gap: 15px;

        padding: 40px 0;
    }

    .project-item:hover {
        padding-left: 0;
    }

    .project-content h3 {
        font-size: 30px;
    }

    .project-content p {
        font-size: 15px;
    }

    .games-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PROJELER - SON DÜZENLEME
========================================= */

#projects {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 120px;
}

#projects .projects-heading {
    margin-bottom: 75px;
}

#projects .project-item {
    min-height: 260px;
    align-items: center;
}

#projects .project-number {
    text-align: left;
    font-size: 15px;
    color: #94a3b8;
}

#projects .project-content {
    padding-right: 30px;
}

#projects .project-content h3 {
    margin-bottom: 18px;
}

#projects .project-content p {
    max-width: 760px;
}

#projects .project-meta {
    display: inline-block;
    margin-top: 5px;
}


/* OYUNLAR */

#projects .games-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

#projects .game-project {
    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px 25px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

#projects .game-project:hover {
    transform: translateY(-4px);

    background: #ffffff;

    border-color: #bfdbfe;

    box-shadow:
        0 12px 30px rgba(37, 99, 235, .08);
}

#projects .game-project strong {
    display: block;

    font-size: 19px;

    color: #0f172a;

    margin-bottom: 5px;
}

#projects .game-project small {
    display: block;

    color: #64748b;

    font-size: 13px;
}

#projects .game-project > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #eff6ff;

    color: #2563eb;

    transition: .3s ease;
}

#projects .game-project:hover > span {
    background: #2563eb;
    color: #ffffff;

    transform: translateX(4px);
}


/* TEKNOLOJİLER */

#projects .technology-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}

#projects .technology-list span {
    padding: 9px 14px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    color: #475569;

    font-size: 13px;

    font-weight: 600;
}


/* LİNK */

#projects .project-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #2563eb;

    font-size: 15px;

    font-weight: 700;

    margin-top: 5px;

    transition: .25s ease;
}

#projects .project-link span {
    transition: .25s ease;
}

#projects .project-link:hover {
    color: #1d4ed8;
}

#projects .project-link:hover span {
    transform: translateX(5px);
}


/* MOBİL */

@media (max-width: 768px) {

    #projects {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    #projects .project-item {
        grid-template-columns: 40px 1fr;

        min-height: auto;

        padding: 40px 0;
    }

    #projects .project-content {
        padding-right: 0;
    }

    #projects .games-list {
        grid-template-columns: 1fr;
    }

}
/* ==========================================
   PROJELER - TAM EKRAN BÖLÜMLER
========================================== */

#projects {
    padding: 0 !important;
    scroll-margin-top: 80px;
}

/* Projeler başlığı */
#projects .projects-heading {
    min-height: calc(100vh - 80px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    max-width: 900px;

    margin: 0 auto !important;

    padding: 80px 20px;
}


/* HER PROJE = 1 EKRAN */

#projects .project-item {
    min-height: 100vh !important;

    display: grid !important;

    grid-template-columns: 120px 1fr !important;

    align-items: center;

    gap: 50px !important;

    padding: 100px 60px !important;

    margin: 0 !important;

    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 0 !important;

    border-radius: 0 !important;

    background: #ffffff !important;

    box-shadow: none !important;

    transition: none !important;
}

/* Hover artık tüm projeyi yukarı kaldırmasın */

#projects .project-item:hover {
    transform: none !important;

    padding-left: 60px !important;

    box-shadow: none !important;
}


/* PROJE NUMARASI */

#projects .project-number {
    align-self: center;

    font-size: 18px !important;

    color: #94a3b8 !important;
}


/* PROJE İÇERİĞİ */

#projects .project-content {
    max-width: 900px;

    padding-right: 70px;
}

#projects .project-content h3 {
    font-size: clamp(45px, 6vw, 78px) !important;

    line-height: 1 !important;

    letter-spacing: -3px !important;

    margin-bottom: 25px !important;
}

#projects .project-content p {
    max-width: 750px;

    font-size: 18px !important;

    line-height: 1.8 !important;
}


/* ODAKPOS BİLGİSİ */

#projects .project-meta {
    margin-top: 10px;
    margin-bottom: 25px;
}


/* OYUNLAR */

#projects .games-list {
    max-width: 800px;

    grid-template-columns:
        repeat(2, 1fr) !important;

    gap: 20px !important;

    margin-top: 35px !important;
}

#projects .game-project {
    min-height: 130px;

    padding: 28px !important;
}


/* UYGULAMA GELİŞTİRME */

#projects .technology-list {
    max-width: 800px;

    margin-top: 30px;
}


/* WEB TASARIM */

/* Son proje de tam ekran */
#projects .project-item:last-child {
    min-height: 100vh !important;
}


/* ==========================================
   TABLET / MOBİL
========================================== */

@media (max-width: 768px) {

    #projects .projects-heading {
        min-height: calc(100vh - 72px);

        padding: 60px 20px;
    }

    #projects .project-item {
        min-height: 100vh !important;

        grid-template-columns: 1fr !important;

        align-content: center;

        gap: 15px !important;

        padding: 70px 25px !important;
    }

    #projects .project-item:hover {
        padding-left: 25px !important;
    }

    #projects .project-content {
        padding-right: 0;
    }

    #projects .project-content h3 {
        font-size: 44px !important;

        letter-spacing: -2px !important;
    }

    #projects .project-content p {
        font-size: 16px !important;
    }

    #projects .games-list {
        grid-template-columns: 1fr !important;
    }

}
/* =====================================================
   MERNASOFT - PROJELER TAM EKRAN TASARIM
===================================================== */

#projects {
    display: block !important;
    width: 100% !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #ffffff !important;

    scroll-margin-top: 80px !important;
}


/* -----------------------------------------------------
   PROJELER BAŞLIK ALANI
----------------------------------------------------- */

#projects .projects-heading {
    width: 100% !important;

    min-height: calc(100vh - 80px) !important;

    display: flex !important;
    flex-direction: column !important;

    justify-content: center !important;

    max-width: 900px !important;

    margin: 0 auto !important;

    padding: 100px 20px !important;
}


#projects .projects-label {
    display: inline-block !important;

    margin-bottom: 22px !important;

    color: #2563eb !important;

    font-size: 13px !important;

    font-weight: 800 !important;

    letter-spacing: 1.8px !important;
}


#projects .projects-heading h2 {
    margin: 0 0 25px !important;

    color: #0f172a !important;

    font-size: clamp(
        48px,
        7vw,
        82px
    ) !important;

    line-height: 1 !important;

    letter-spacing: -3px !important;
}


#projects .projects-heading h2 span {
    color: #2563eb !important;
}


#projects .projects-heading p {
    max-width: 700px !important;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 18px !important;

    line-height: 1.8 !important;
}


/* =====================================================
   HER PROJE TAM EKRAN
===================================================== */

#projects .project-item {
    width: 100% !important;

    min-height: 100vh !important;

    height: 100vh !important;

    display: grid !important;

    grid-template-columns:
        100px minmax(0, 900px) !important;

    align-items: center !important;

    gap: 45px !important;

    padding: 100px max(40px, 8vw) !important;

    margin: 0 !important;

    border-top:
        1px solid #e2e8f0 !important;

    border-bottom: none !important;

    border-left: none !important;

    border-right: none !important;

    border-radius: 0 !important;

    background: #ffffff !important;

    box-shadow: none !important;

    transition: none !important;

    overflow: hidden !important;
}


/* hover eski kart efektini kapat */

#projects .project-item:hover {

    transform: none !important;

    padding-left: max(40px, 8vw) !important;

    box-shadow: none !important;

}


/* -----------------------------------------------------
   NUMARALAR
----------------------------------------------------- */

#projects .project-number {

    align-self: center !important;

    padding: 0 !important;

    color: #cbd5e1 !important;

    font-size: 18px !important;

    font-weight: 700 !important;
}


/* -----------------------------------------------------
   PROJE İÇERİĞİ
----------------------------------------------------- */

#projects .project-content {

    width: 100% !important;

    max-width: 900px !important;

    padding: 0 !important;
}


#projects .project-category {

    display: block !important;

    margin-bottom: 18px !important;

    color: #2563eb !important;

    font-size: 12px !important;

    font-weight: 800 !important;

    letter-spacing: 1.5px !important;
}


#projects .project-content h3 {

    margin: 0 0 25px !important;

    color: #0f172a !important;

    font-size: clamp(
        48px,
        6vw,
        82px
    ) !important;

    line-height: 1 !important;

    letter-spacing: -3px !important;
}


#projects .project-content p {

    max-width: 760px !important;

    margin: 0 0 25px !important;

    color: #64748b !important;

    font-size: 18px !important;

    line-height: 1.85 !important;
}


/* =====================================================
   ODAKPOS
===================================================== */

#projects .project-meta {

    display: inline-block !important;

    padding: 11px 16px !important;

    margin: 0 0 25px !important;

    background: #eff6ff !important;

    border: 1px solid #dbeafe !important;

    border-radius: 9px !important;

    color: #2563eb !important;

    font-size: 13px !important;

    font-weight: 700 !important;
}


#projects .project-link {

    display: inline-flex !important;

    align-items: center !important;

    gap: 10px !important;

    margin: 0 !important;

    color: #2563eb !important;

    font-size: 16px !important;

    font-weight: 700 !important;

    text-decoration: none !important;

    transition: .25s ease !important;
}


#projects .project-link span {

    font-size: 21px !important;

    transition: .25s ease !important;
}


#projects .project-link:hover {

    color: #1d4ed8 !important;

}


#projects .project-link:hover span {

    transform: translateX(6px) !important;

}


/* =====================================================
   DİJİTAL OYUNLAR
===================================================== */

#projects .games-list {

    width: 100% !important;

    max-width: 800px !important;

    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 18px !important;

    margin: 35px 0 0 !important;
}


#projects .game-project {

    min-height: 125px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    padding: 25px !important;

    background: #f8fafc !important;

    border:
        1px solid #e2e8f0 !important;

    border-radius: 17px !important;

    transition:
        .3s ease !important;
}


#projects .game-project:hover {

    transform:
        translateY(-5px) !important;

    background: #ffffff !important;

    border-color:
        #bfdbfe !important;

    box-shadow:
        0 15px 35px
        rgba(
            37,
            99,
            235,
            .08
        ) !important;
}


#projects .game-project strong {

    display: block !important;

    margin-bottom: 6px !important;

    color: #0f172a !important;

    font-size: 19px !important;
}


#projects .game-project small {

    color: #64748b !important;

    font-size: 13px !important;
}


#projects .game-project > span {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 40px !important;

    height: 40px !important;

    flex-shrink: 0 !important;

    border-radius: 50% !important;

    background: #eff6ff !important;

    color: #2563eb !important;
}


/* =====================================================
   UYGULAMA GELİŞTİRME
===================================================== */

#projects .technology-list {

    display: flex !important;

    flex-wrap: wrap !important;

    gap: 10px !important;

    margin-top: 30px !important;
}


#projects .technology-list span {

    padding: 10px 15px !important;

    background: #f8fafc !important;

    border:
        1px solid #e2e8f0 !important;

    border-radius: 9px !important;

    color: #475569 !important;

    font-size: 13px !important;

    font-weight: 600 !important;
}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 768px) {

    #projects .projects-heading {

        min-height:
            calc(100vh - 72px) !important;

        padding:
            70px 25px !important;

    }


    #projects .project-item {

        height: 100vh !important;

        min-height: 100vh !important;

        grid-template-columns:
            1fr !important;

        align-content: center !important;

        gap: 15px !important;

        padding:
            70px 25px !important;

    }


    #projects .project-item:hover {

        padding-left:
            25px !important;

    }


    #projects .project-content h3 {

        font-size:
            44px !important;

        letter-spacing:
            -2px !important;

    }


    #projects .project-content p {

        font-size:
            16px !important;

    }


    #projects .games-list {

        grid-template-columns:
            1fr !important;

    }

}


@media (max-width: 480px) {

    #projects .project-item {

        grid-template-columns:
            1fr !important;

        padding:
            60px 20px !important;

    }


    #projects .project-number {

        font-size:
            14px !important;

    }


    #projects .project-content h3 {

        font-size:
            38px !important;

    }

}
/* =====================================================
   PROJELER - PREMIUM ANİMASYONLAR
===================================================== */

#projects {
    position: relative;
    overflow: hidden;
}


/* Hafif arka plan ışığı */

#projects .project-item {
    position: relative;
    isolation: isolate;
}

#projects .project-item::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -250px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.055);

    filter: blur(70px);

    z-index: -1;

    opacity: 0;

    transition:
        opacity 1s ease,
        left 1.2s ease;
}


/* Proje aktif olduğunda ışık */

#projects .project-item.project-visible::before {
    opacity: 1;

    left: -150px;
}


/* =====================================================
   PROJE İÇERİĞİ
===================================================== */

#projects .project-number {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22,1,.36,1);
}


#projects .project-category {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity .7s ease .08s,
        transform .7s cubic-bezier(.22,1,.36,1);
}


#projects .project-content h3 {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease .15s,
        transform .8s cubic-bezier(.22,1,.36,1);
}


#projects .project-content > p {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .8s ease .25s,
        transform .8s cubic-bezier(.22,1,.36,1);
}


#projects .project-meta {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity .7s ease .35s,
        transform .7s cubic-bezier(.22,1,.36,1);
}


#projects .project-link {
    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .7s ease .4s,
        transform .7s cubic-bezier(.22,1,.36,1);
}


/* =====================================================
   AKTİF PROJE
===================================================== */

#projects .project-item.project-visible
.project-number,

#projects .project-item.project-visible
.project-category,

#projects .project-item.project-visible
.project-content h3,

#projects .project-item.project-visible
.project-content > p,

#projects .project-item.project-visible
.project-meta,

#projects .project-item.project-visible
.project-link {

    opacity: 1;

    transform:
        translateY(0);
}


/* =====================================================
   OYUN KARTLARI
===================================================== */

#projects .game-project {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22,1,.36,1),
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


#projects .project-item.project-visible
.game-project:nth-child(1) {

    opacity: 1;

    transform:
        translateY(0);

    transition-delay: .35s;
}


#projects .project-item.project-visible
.game-project:nth-child(2) {

    opacity: 1;

    transform:
        translateY(0);

    transition-delay: .5s;
}


/* =====================================================
   TEKNOLOJİ ETİKETLERİ
===================================================== */

#projects .technology-list span {

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .5s ease,
        transform .5s cubic-bezier(.22,1,.36,1);
}


#projects .project-item.project-visible
.technology-list span {

    opacity: 1;

    transform:
        translateY(0);
}


#projects .project-item.project-visible
.technology-list span:nth-child(1) {
    transition-delay: .3s;
}

#projects .project-item.project-visible
.technology-list span:nth-child(2) {
    transition-delay: .4s;
}

#projects .project-item.project-visible
.technology-list span:nth-child(3) {
    transition-delay: .5s;
}

#projects .project-item.project-visible
.technology-list span:nth-child(4) {
    transition-delay: .6s;
}

#projects .project-item.project-visible
.technology-list span:nth-child(5) {
    transition-delay: .7s;
}


/* =====================================================
   ODAKPOS LİNK HOVER
===================================================== */

#projects .project-link {

    position: relative;
}

#projects .project-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: #2563eb;

    transition:
        width .35s ease;
}

#projects .project-link:hover::after {

    width: 100%;
}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 768px) {

    #projects .project-item::before {

        width: 350px;
        height: 350px;

        filter: blur(60px);
    }

}
/* =========================================================
   MERNASOFT — PREMIUM CORPORATE PROJECTS
========================================================= */

#projects {
    position: relative !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

/* Arka planda çok hafif grid */

#projects::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(37, 99, 235, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(37, 99, 235, .035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    pointer-events: none;
}


/* =========================================================
   PROJE BAŞLANGIÇ EKRANI
========================================================= */

#projects .projects-heading {
    position: relative;
    z-index: 2;

    min-height: 100vh !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    max-width: 1200px !important;

    padding:
        100px 7vw !important;

    margin: 0 auto !important;
}


/* küçük üst yazı */

#projects .projects-label {
    position: relative;

    display: inline-flex !important;
    align-items: center;

    gap: 12px;

    color: #2563eb !important;

    font-size: 12px !important;

    font-weight: 800 !important;

    letter-spacing: 2px !important;

    margin-bottom: 25px !important;
}

#projects .projects-label::before {
    content: "";

    width: 35px;
    height: 2px;

    background: #2563eb;

    display: block;
}


/* ana başlık */

#projects .projects-heading h2 {
    max-width: 950px !important;

    font-size:
        clamp(
            48px,
            7vw,
            92px
        ) !important;

    line-height: .98 !important;

    letter-spacing:
        -4px !important;

    margin:
        0 0 30px !important;

    color: #0f172a !important;
}

#projects .projects-heading h2 span {
    color: #2563eb !important;
}


/* açıklama */

#projects .projects-heading p {
    max-width: 650px !important;

    color: #64748b !important;

    font-size: 18px !important;

    line-height: 1.85 !important;
}


/* sağ tarafta dekoratif numara */

#projects .projects-heading::after {
    content: "PROJECTS";

    position: absolute;

    right: -50px;
    bottom: 130px;

    font-size: clamp(
        80px,
        14vw,
        190px
    );

    font-weight: 900;

    letter-spacing: -8px;

    color: rgba(
        37,
        99,
        235,
        .035
    );

    pointer-events: none;
}


/* =========================================================
   PROJE SAHNESİ
========================================================= */

#projects .project-item {
    position: relative !important;

    width: 100% !important;

    min-height: 100vh !important;

    height: 100vh !important;

    display: grid !important;

    grid-template-columns:
        130px minmax(0, 900px) !important;

    align-items: center !important;

    gap: 55px !important;

    padding:
        100px 8vw !important;

    margin: 0 !important;

    overflow: hidden !important;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafc 100%
        ) !important;

    border-top:
        1px solid #e2e8f0 !important;

    border-bottom: none !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}


/* büyük dekoratif daire */

#projects .project-item::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -250px;
    top: 50%;

    transform:
        translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                37,
                99,
                235,
                .10
            ) 0%,
            rgba(
                37,
                99,
                235,
                .035
            ) 40%,
            transparent 70%
        );

    pointer-events: none;

    animation:
        projectGlow 8s ease-in-out infinite;
}

@keyframes projectGlow {

    0%,
    100% {
        transform:
            translateY(-50%)
            scale(1);
    }

    50% {
        transform:
            translateY(-50%)
            scale(1.12);
    }
}


/* =========================================================
   NUMARA
========================================================= */

#projects .project-number {
    position: relative;
    z-index: 2;

    font-size:
        clamp(
            70px,
            9vw,
            130px
        ) !important;

    line-height: 1;

    font-weight: 900 !important;

    letter-spacing: -7px;

    color:
        rgba(
            37,
            99,
            235,
            .10
        ) !important;
}


/* =========================================================
   İÇERİK
========================================================= */

#projects .project-content {
    position: relative;
    z-index: 3;

    max-width: 900px !important;

    padding: 0 !important;
}


/* kategori */

#projects .project-category {
    display: inline-flex !important;

    align-items: center;

    gap: 10px;

    color: #2563eb !important;

    font-size: 12px !important;

    font-weight: 800 !important;

    letter-spacing: 1.7px !important;

    margin-bottom: 22px !important;
}

#projects .project-category::before {
    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #2563eb;

    box-shadow:
        0 0 0 5px
        rgba(
            37,
            99,
            235,
            .10
        );
}


/* başlık */

#projects .project-content h3 {

    font-size:
        clamp(
            52px,
            7vw,
            100px
        ) !important;

    line-height: .95 !important;

    letter-spacing:
        -5px !important;

    margin:
        0 0 30px !important;

    color: #0f172a !important;
}


/* açıklama */

#projects .project-content > p {

    max-width: 720px !important;

    color: #64748b !important;

    font-size: 18px !important;

    line-height: 1.85 !important;

    margin:
        0 0 28px !important;
}


/* =========================================================
   ODAKPOS BİLGİ ETİKETİ
========================================================= */

#projects .project-meta {

    display: inline-flex !important;

    align-items: center;

    gap: 10px;

    padding:
        11px 16px !important;

    margin:
        0 0 25px !important;

    background:
        rgba(
            37,
            99,
            235,
            .07
        ) !important;

    border:
        1px solid
        rgba(
            37,
            99,
            235,
            .15
        ) !important;

    border-radius: 50px !important;

    color: #2563eb !important;

    font-size: 13px !important;

    font-weight: 700 !important;
}

#projects .project-meta::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #2563eb;

    animation:
        pulseDot 2s infinite;
}

@keyframes pulseDot {

    0% {
        box-shadow:
            0 0 0 0
            rgba(
                37,
                99,
                235,
                .4
            );
    }

    70% {
        box-shadow:
            0 0 0 8px
            rgba(
                37,
                99,
                235,
                0
            );
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(
                37,
                99,
                235,
                0
            );
    }
}


/* =========================================================
   LİNK
========================================================= */

#projects .project-link {

    display: inline-flex !important;

    align-items: center;

    gap: 13px;

    color: #0f172a !important;

    font-size: 15px !important;

    font-weight: 800 !important;

    transition:
        gap .3s ease,
        color .3s ease !important;
}

#projects .project-link span {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #2563eb;

    color: #ffffff;

    transition:
        transform .3s ease;
}

#projects .project-link:hover {

    color: #2563eb !important;

    gap: 18px;
}

#projects .project-link:hover span {

    transform:
        translateX(4px);
}


/* =========================================================
   DİJİTAL OYUNLAR
========================================================= */

#projects .games-list {

    display: grid !important;

    grid-template-columns:
        repeat(
            2,
            minmax(
                220px,
                1fr
            )
        ) !important;

    gap: 18px !important;

    max-width: 850px !important;

    margin-top: 35px !important;
}


#projects .game-project {

    min-height: 145px !important;

    display: flex !important;

    align-items: flex-end !important;

    justify-content: space-between !important;

    padding: 25px !important;

    position: relative;

    overflow: hidden;

    background: #0f172a !important;

    border:
        1px solid
        #1e293b !important;

    border-radius: 20px !important;

    transition:
        transform .4s ease,
        box-shadow .4s ease !important;
}


/* oyun kartı ışığı */

#projects .game-project::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    top: -80px;

    border-radius: 50%;

    background:
        #2563eb;

    opacity: .65;

    transition:
        transform .5s ease;
}

#projects .game-project:hover {

    transform:
        translateY(-8px) !important;

    box-shadow:
        0 25px 50px
        rgba(
            15,
            23,
            42,
            .16
        );
}

#projects .game-project:hover::before {

    transform:
        scale(1.5);
}


#projects .game-project > div {

    position: relative;

    z-index: 2;
}


#projects .game-project strong {

    display: block !important;

    color: #ffffff !important;

    font-size: 21px !important;

    margin-bottom: 6px !important;
}


#projects .game-project small {

    color: #94a3b8 !important;

    font-size: 13px !important;
}


#projects .game-project > span {

    position: relative;

    z-index: 3;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        .10
    );

    color: #ffffff;

    transition:
        .3s ease;
}

#projects .game-project:hover > span {

    background: #ffffff;

    color: #2563eb;

    transform:
        translateX(5px);
}


/* =========================================================
   TEKNOLOJİ ETİKETLERİ
========================================================= */

#projects .technology-list {

    display: flex !important;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px !important;
}


#projects .technology-list span {

    padding:
        11px 16px !important;

    background: #ffffff !important;

    border:
        1px solid
        #e2e8f0 !important;

    border-radius: 50px !important;

    color: #475569 !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    transition:
        .3s ease;
}


#projects .technology-list span:hover {

    border-color:
        #2563eb !important;

    color:
        #2563eb !important;

    transform:
        translateY(-3px);
}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 768px) {

    #projects .projects-heading {

        min-height:
            calc(100vh - 72px) !important;

        padding:
            80px 25px !important;
    }


    #projects .projects-heading h2 {

        font-size:
            clamp(
                44px,
                12vw,
                65px
            ) !important;

        letter-spacing:
            -3px !important;
    }


    #projects .projects-heading p {

        font-size:
            16px !important;
    }


    #projects .project-item {

        height: 100vh !important;

        min-height: 100vh !important;

        grid-template-columns:
            1fr !important;

        align-content:
            center !important;

        gap: 15px !important;

        padding:
            70px 25px !important;
    }


    #projects .project-number {

        font-size:
            65px !important;

        letter-spacing:
            -4px !important;
    }


    #projects .project-content h3 {

        font-size:
            clamp(
                42px,
                12vw,
                65px
            ) !important;

        letter-spacing:
            -3px !important;
    }


    #projects .project-content > p {

        font-size:
            16px !important;
    }


    #projects .games-list {

        grid-template-columns:
            1fr !important;
    }


    #projects .project-item::before {

        width:
            400px;

        height:
            400px;

        right:
            -250px;
    }

}


@media (max-width: 480px) {

    #projects .projects-heading {

        padding:
            70px 20px !important;
    }


    #projects .project-item {

        padding:
            60px 20px !important;
    }


    #projects .project-number {

        font-size:
            55px !important;
    }


    #projects .project-content h3 {

        font-size:
            40px !important;
    }


    #projects .games-list {

        gap:
            12px !important;
    }


    #projects .game-project {

        min-height:
            120px !important;
    }

}
/* =========================================================
   MERNASOFT — PROJE DÖNEN LOGO / PREMIUM ANIMATION
   ========================================================= */

#projects {
    position: relative;
    scroll-snap-type: y proximity;
}

#projects .project-item {
    position: relative;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 430px;

    align-items: center;
    gap: 35px;

    padding: 70px 0;

    overflow: hidden;

    scroll-snap-align: start;
}

#projects .project-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
}


/* =========================================================
   LOGO ALANI
   ========================================================= */

#projects .project-visual {
    position: relative;

    width: min(430px, 36vw);
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    justify-self: end;

    perspective: 1000px;
    isolation: isolate;
}


/* Glow */

#projects .project-visual::before {
    content: "";

    position: absolute;

    width: 55%;
    height: 55%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.18),
            transparent 68%
        );

    filter: blur(18px);

    animation:
        projectLogoGlow
        3.5s
        ease-in-out
        infinite;

    z-index: -1;
}


/* =========================================================
   MERNASOFT LOGOSU
   ========================================================= */

#projects .rotating-logo {

    position: relative;

    width: 205px;
    height: 205px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            #ffffff,
            rgba(239, 246, 255, 0.92) 58%,
            rgba(219, 234, 254, 0.75)
        );

    border:
        1px solid
        rgba(37, 99, 235, 0.18);

    box-shadow:
        0 25px 70px
        rgba(15, 23, 42, 0.10),

        inset 0 0 35px
        rgba(37, 99, 235, 0.06);

    animation:
        projectLogoFloat
        4.5s
        ease-in-out
        infinite;

    transform-style: preserve-3d;
}


/* Logo çevresi pulse */

#projects .rotating-logo::after {

    content: "";

    position: absolute;

    inset: -7px;

    border-radius: inherit;

    border:
        1px solid
        rgba(37, 99, 235, 0.10);

    box-shadow:
        0 0 35px
        rgba(37, 99, 235, 0.08);

    animation:
        logoPulse
        2.8s
        ease-in-out
        infinite;
}


/* Logo */

#projects .rotating-logo img {

    width: 72%;
    height: auto;

    object-fit: contain;

    transform-style: preserve-3d;

    filter:
        drop-shadow(
            0 0 18px
            rgba(37, 99, 235, 0.25)
        );

    animation:
        logo3DRotate
        9s
        linear
        infinite;
}


/* =========================================================
   ORBITLER
   ========================================================= */

#projects .logo-orbit {

    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    border:
        1px solid
        rgba(37, 99, 235, 0.15);

    pointer-events: none;
}


/* Orbit 1 */

#projects .logo-orbit-1 {

    width: 68%;
    height: 68%;

    transform:
        translate(-50%, -50%);

    border-top-color:
        rgba(37, 99, 235, 0.75);

    animation:
        orbitOne
        10s
        linear
        infinite;
}


/* Orbit 2 */

#projects .logo-orbit-2 {

    width: 84%;
    height: 84%;

    transform:
        translate(-50%, -50%);

    border-right-color:
        rgba(96, 165, 250, 0.75);

    border-style: dashed;

    animation:
        orbitTwo
        16s
        linear
        infinite;
}


/* Orbit 3 */

#projects .logo-orbit-3 {

    width: 100%;
    height: 100%;

    transform:
        translate(-50%, -50%);

    border-color:
        rgba(37, 99, 235, 0.07);

    animation:
        orbitThree
        24s
        linear
        infinite;
}


/* =========================================================
   PARÇACIKLAR
   ========================================================= */

#projects .logo-particle {

    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #2563EB;

    box-shadow:
        0 0 14px
        rgba(37, 99, 235, 0.55);

    animation:
        particleFloat
        4s
        ease-in-out
        infinite;
}


#projects .particle-1 {
    top: 15%;
    left: 50%;

    animation-delay: -.4s;
}


#projects .particle-2 {
    top: 50%;
    right: 10%;

    animation-delay: -1.3s;
}


#projects .particle-3 {
    bottom: 13%;
    left: 27%;

    animation-delay: -2.1s;
}


#projects .particle-4 {
    top: 27%;
    left: 14%;

    animation-delay: -3s;
}


/* =========================================================
   PROJE ALT ÇİZGİSİ
   ========================================================= */

#projects .project-item::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #2563EB,
            #60A5FA,
            transparent
        );

    transition:
        width
        1s
        cubic-bezier(.16, 1, .3, 1);
}


#projects .project-item.project-visible::after {
    width: 62%;
}


/* =========================================================
   SCROLL GİRİŞ ANİMASYONU
   ========================================================= */

#projects .project-item.project-visible .project-content {

    animation:
        projectContentIn
        .8s
        cubic-bezier(.16, 1, .3, 1)
        both;
}


#projects .project-item.project-visible .project-visual {

    animation:
        projectVisualIn
        1s
        cubic-bezier(.16, 1, .3, 1)
        both;
}


/* =========================================================
   ANİMASYONLAR
   ========================================================= */

@keyframes projectContentIn {

    from {
        opacity: 0;
        transform: translateX(-35px);
    }

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


@keyframes projectVisualIn {

    from {
        opacity: 0;
        transform:
            translateX(45px)
            scale(.88);
    }

    to {
        opacity: 1;
        transform:
            translateX(0)
            scale(1);
    }
}


@keyframes logo3DRotate {

    0% {
        transform:
            rotateY(0deg)
            rotateX(0deg);
    }

    25% {
        transform:
            rotateY(90deg)
            rotateX(3deg);
    }

    50% {
        transform:
            rotateY(180deg)
            rotateX(0deg);
    }

    75% {
        transform:
            rotateY(270deg)
            rotateX(-3deg);
    }

    100% {
        transform:
            rotateY(360deg)
            rotateX(0deg);
    }
}


@keyframes projectLogoFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-10px)
            rotateZ(1deg);
    }
}


@keyframes projectLogoGlow {

    0%,
    100% {
        transform: scale(.85);
        opacity: .65;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}


@keyframes logoPulse {

    0%,
    100% {
        transform: scale(.96);
        opacity: .4;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}


@keyframes orbitOne {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


@keyframes orbitTwo {

    from {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }
}


@keyframes orbitThree {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


@keyframes particleFloat {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(.7);

        opacity: .35;
    }

    50% {
        transform:
            translate3d(7px, -12px, 0)
            scale(1.2);

        opacity: 1;
    }
}


/* =========================================================
   HOVER
   ========================================================= */

@media (min-width: 769px) {

    #projects .project-item:hover
    .rotating-logo {

        animation-duration: 2.2s;
    }


    #projects .project-item:hover
    .rotating-logo img {

        animation-duration: 4s;
    }


    #projects .project-item:hover
    .logo-orbit-1 {

        animation-duration: 5s;
    }


    #projects .project-item:hover
    .logo-orbit-2 {

        animation-duration: 8s;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    #projects .project-item {

        grid-template-columns:
            70px
            minmax(0, 1fr)
            320px;

        gap: 24px;
    }


    #projects .project-visual {

        width: 320px;
    }


    #projects .rotating-logo {

        width: 160px;
        height: 160px;
    }
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 768px) {

    #projects {

        scroll-snap-type: none;
    }


    #projects .project-item {

        min-height: auto;

        grid-template-columns:
            38px
            minmax(0, 1fr);

        gap: 14px;

        padding: 65px 0;
    }


    #projects .project-visual {

        grid-column: 2;
        grid-row: 1;

        justify-self: center;

        width: min(300px, 78vw);

        margin:
            10px auto
            40px;
    }


    #projects .project-number {

        grid-column: 1;
        grid-row: 2;

        padding-top: 5px;
    }


    #projects .project-content {

        grid-column: 2;
        grid-row: 2;

        padding-right: 0;
    }


    #projects .rotating-logo {

        width: 145px;
        height: 145px;
    }


    #projects .project-content h3 {

        font-size: 30px;
    }


    #projects .project-item.project-visible
    .project-content {

        animation-name:
            projectContentMobileIn;
    }


    #projects .project-item.project-visible
    .project-visual {

        animation-name:
            projectVisualMobileIn;
    }


    @keyframes projectContentMobileIn {

        from {
            opacity: 0;
            transform:
                translateY(25px);
        }

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


    @keyframes projectVisualMobileIn {

        from {
            opacity: 0;
            transform:
                translateY(25px)
                scale(.9);
        }

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


/* =========================================================
   KÜÇÜK TELEFON
   ========================================================= */

@media (max-width: 480px) {

    #projects .project-item {

        grid-template-columns:
            28px
            minmax(0, 1fr);

        gap: 10px;

        padding: 55px 0;
    }


    #projects .project-visual {

        width: 245px;

        margin-bottom: 32px;
    }


    #projects .rotating-logo {

        width: 120px;
        height: 120px;
    }


    #projects .project-content h3 {

        font-size: 26px;
    }


    #projects .project-content p {

        font-size: 14px;
    }
}


/* =========================================================
   HAREKET AZALTMA
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #projects .rotating-logo,
    #projects .rotating-logo img,
    #projects .logo-orbit,
    #projects .project-visual::before,
    #projects .rotating-logo::after,
    #projects .logo-particle {

        animation: none !important;
    }
}
/* =========================================
   PROJE YAZILARI - GÖRÜNÜRLÜK DÜZELTMESİ
========================================= */

#projects .project-item {
    position: relative;
    color: #0f172a;
}

#projects .project-content {
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

#projects .project-content h3,
#projects .project-content p,
#projects .project-content span,
#projects .project-content a,
#projects .project-content .project-category,
#projects .project-content .project-description,
#projects .project-content .project-meta,
#projects .project-content .project-tags {
    opacity: 1 !important;
    visibility: visible !important;
}

#projects .project-content h3 {
    color: #0f172a !important;
}

#projects .project-content p {
    color: #475569 !important;
}

#projects .project-category {
    color: #2563eb !important;
}

#projects .project-meta {
    color: #64748b !important;
}

#projects .project-tags span {
    color: #2563eb !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
}

#projects .project-content a {
    color: #2563eb !important;
    opacity: 1 !important;
}

/* Numara */
#projects .project-number {
    color: rgba(37, 99, 235, 0.15) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Proje görseli yazıların üstüne geçmesin */
#projects .project-visual {
    z-index: 1;
    pointer-events: none;
}

#projects .project-content {
    z-index: 20;
}

/* Başlık */
#projects .section-title,
#projects .section-subtitle {
    opacity: 1 !important;
    visibility: visible !important;
    
    /* =========================================================
   MERNASOFT PROJECTS - PREMIUM ANIMATION
========================================================= */

#projects {
    position: relative;
    padding: 120px 0 0;
    overflow: hidden;
    background: #ffffff;
}

/* Arka plan grid */

#projects::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(37, 99, 235, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(37, 99, 235, 0.035) 1px,
            transparent 1px
        );

    background-size: 55px 55px;
}

/* Heading */

#projects .section-heading {
    position: relative;
    z-index: 5;
    text-align: center;
    margin-bottom: 70px;
}

#projects .section-label {
    display: inline-block;
    margin-bottom: 15px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;

    color: #2563eb;
}

#projects .section-heading h2 {
    margin: 0 0 15px;

    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;

    color: #0f172a;
}

#projects .section-heading p {
    margin: 0;

    font-size: 18px;
    color: #64748b;
}


/* =========================================================
   PROJECT ITEM
========================================================= */

#projects .projects-list {
    position: relative;
    z-index: 2;
}

#projects .project-item {
    position: relative;

    min-height: 100vh;

    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 430px;
    align-items: center;
    gap: 50px;

    padding: 80px 40px;

    border-top: 1px solid #e2e8f0;

    overflow: hidden;

    color: #0f172a;
}


/* Büyük numara */

#projects .project-number {
    position: relative;
    z-index: 5;

    align-self: center;

    font-size: clamp(55px, 8vw, 110px);
    line-height: 1;

    font-weight: 900;

    color: rgba(37, 99, 235, 0.13);

    opacity: 1 !important;
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

#projects .project-content {
    position: relative;
    z-index: 20;

    opacity: 1 !important;
    visibility: visible !important;

    transform: translateY(0);
}

#projects .project-category {
    display: block;

    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    color: #2563eb !important;

    opacity: 1 !important;
    visibility: visible !important;
}

#projects .project-content h3 {
    margin: 0 0 25px;

    font-size: clamp(38px, 5vw, 70px);
    line-height: 1;

    letter-spacing: -2px;

    color: #0f172a !important;

    opacity: 1 !important;
    visibility: visible !important;
}

#projects .project-content p {
    max-width: 700px;

    margin: 0 0 25px;

    font-size: 18px;
    line-height: 1.8;

    color: #475569 !important;

    opacity: 1 !important;
    visibility: visible !important;
}

#projects .project-meta {
    margin-bottom: 25px;

    font-size: 14px;
    font-weight: 600;

    color: #64748b !important;

    opacity: 1 !important;
}


/* =========================================================
   TAGS
========================================================= */

#projects .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 25px;
}

#projects .project-tags span {
    display: inline-flex;
    align-items: center;

    padding: 9px 15px;

    border-radius: 999px;

    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;

    font-size: 12px;
    font-weight: 700;

    color: #2563eb !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   LINK
========================================================= */

#projects .project-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    color: #2563eb !important;

    opacity: 1 !important;
}

#projects .project-link span {
    font-size: 22px;

    transition: transform .3s ease;
}

#projects .project-link:hover span {
    transform: translateX(7px);
}


/* =========================================================
   GAME CARDS
========================================================= */

#projects .game-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 15px;

    max-width: 650px;

    margin-top: 30px;
}

#projects .game-card {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px;

    border-radius: 18px;

    background: #0f172a;

    color: white;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.15);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

#projects .game-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(37, 99, 235, 0.25);
}

#projects .game-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: rgba(37, 99, 235, 0.25);

    color: #60a5fa;

    font-size: 20px;
}

#projects .game-card strong {
    display: block;

    margin-bottom: 4px;

    font-size: 15px;
}

#projects .game-card small {
    color: #94a3b8;
}


/* =========================================================
   LOGO VISUAL
========================================================= */

#projects .project-visual {
    position: relative;

    width: 400px;
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    justify-self: center;

    z-index: 1;

    pointer-events: none;
}


/* Logo */

#projects .rotating-logo {
    position: relative;
    z-index: 10;

    width: 155px;
    height: 155px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.9);

    box-shadow:
        0 0 30px rgba(37,99,235,.15),
        0 0 80px rgba(37,99,235,.08);

    animation:
        logo3DRotate 7s linear infinite,
        projectLogoFloat 4s ease-in-out infinite,
        projectLogoGlow 3s ease-in-out infinite;
}

#projects .rotating-logo img {
    width: 105px;
    height: auto;

    display: block;

    animation: logoPulse 3s ease-in-out infinite;
}


/* =========================================================
   ORBITS
========================================================= */

#projects .logo-orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid rgba(37,99,235,.18);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;
}

#projects .logo-orbit-1 {
    width: 220px;
    height: 220px;

    animation: orbitOne 10s linear infinite;
}

#projects .logo-orbit-2 {
    width: 300px;
    height: 170px;

    transform:
        translate(-50%, -50%)
        rotate(55deg);

    animation: orbitTwo 13s linear infinite;
}

#projects .logo-orbit-3 {
    width: 360px;
    height: 230px;

    transform:
        translate(-50%, -50%)
        rotate(-35deg);

    animation: orbitThree 17s linear infinite;
}


/* =========================================================
   PARTICLES
========================================================= */

#projects .logo-particle {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #2563eb;

    box-shadow:
        0 0 15px rgba(37,99,235,.7);

    animation: particleFloat 4s ease-in-out infinite;
}

#projects .particle-1 {
    top: 25%;
    left: 25%;
}

#projects .particle-2 {
    top: 65%;
    right: 20%;

    animation-delay: -1s;
}

#projects .particle-3 {
    bottom: 18%;
    left: 35%;

    animation-delay: -2s;
}

#projects .particle-4 {
    top: 18%;
    right: 35%;

    animation-delay: -3s;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes logo3DRotate {

    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes projectLogoFloat {

    0%, 100% {
        margin-top: 0;
    }

    50% {
        margin-top: -18px;
    }
}

@keyframes projectLogoGlow {

    0%, 100% {
        box-shadow:
            0 0 30px rgba(37,99,235,.15),
            0 0 80px rgba(37,99,235,.08);
    }

    50% {
        box-shadow:
            0 0 45px rgba(37,99,235,.28),
            0 0 110px rgba(37,99,235,.14);
    }
}

@keyframes logoPulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes orbitOne {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}

@keyframes orbitTwo {

    from {
        transform:
            translate(-50%, -50%)
            rotate(55deg)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(55deg)
            rotate(-360deg);
    }
}

@keyframes orbitThree {

    from {
        transform:
            translate(-50%, -50%)
            rotate(-35deg)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(-35deg)
            rotate(360deg);
    }
}

@keyframes particleFloat {

    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10px, -20px) scale(1.5);
    }
}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

#projects .project-item .project-content,
#projects .project-item .project-number,
#projects .project-item .project-visual {
    transition:
        opacity .8s ease,
        transform .8s ease;
}

#projects .project-item:not(.project-visible) .project-content {
    opacity: .15 !important;
    transform: translateY(40px);
}

#projects .project-item:not(.project-visible) .project-number {
    opacity: .08 !important;
    transform: translateX(-30px);
}

#projects .project-item:not(.project-visible) .project-visual {
    opacity: .25;
    transform: translateX(50px) scale(.92);
}

#projects .project-item.project-visible .project-content,
#projects .project-item.project-visible .project-number,
#projects .project-item.project-visible .project-visual {
    opacity: 1 !important;
    transform: translate(0) scale(1);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    #projects .project-item {
        grid-template-columns: 70px minmax(0, 1fr) 320px;
        gap: 25px;
        padding: 70px 25px;
    }

    #projects .project-visual {
        width: 300px;
        height: 300px;
    }

    #projects .rotating-logo {
        width: 125px;
        height: 125px;
    }

    #projects .rotating-logo img {
        width: 85px;
    }

    #projects .logo-orbit-1 {
        width: 180px;
        height: 180px;
    }

    #projects .logo-orbit-2 {
        width: 240px;
        height: 140px;
    }

    #projects .logo-orbit-3 {
        width: 290px;
        height: 190px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #projects {
        padding-top: 90px;
    }

    #projects .section-heading {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    #projects .section-heading h2 {
        font-size: 38px;
    }

    #projects .section-heading p {
        font-size: 15px;
    }

    #projects .project-item {
        min-height: auto;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        padding: 80px 25px;
    }

    #projects .project-number {
        font-size: 60px;
    }

    #projects .project-content {
        width: 100%;
    }

    #projects .project-content h3 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    #projects .project-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    #projects .game-list {
        grid-template-columns: 1fr;
    }

    #projects .project-visual {
        width: 100%;
        height: 300px;

        align-self: center;

        margin-top: 10px;
    }
}


/* Küçük telefon */

@media (max-width: 480px) {

    #projects .project-item {
        padding: 65px 20px;
    }

    #projects .project-content h3 {
        font-size: 34px;
    }

    #projects .project-category {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    #projects .project-visual {
        height: 260px;
    }

    #projects .rotating-logo {
        width: 110px;
        height: 110px;
    }

    #projects .rotating-logo img {
        width: 75px;
    }

    #projects .logo-orbit-1 {
        width: 160px;
        height: 160px;
    }

    #projects .logo-orbit-2 {
        width: 210px;
        height: 125px;
    }

    #projects .logo-orbit-3 {
        width: 250px;
        height: 165px;
    }
}


/* Hareket azaltma tercihi */

@media (prefers-reduced-motion: reduce) {

    #projects *,
    #projects *::before,
    #projects *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}
/* =====================================================
   PROJE GRID - LOGO YAN TARAFTA
===================================================== */

#projects .project-item {
    display: grid !important;

    grid-template-columns:
        100px
        minmax(0, 1fr)
        430px !important;

    align-items: center !important;
    gap: 50px !important;

    min-height: 100vh !important;
    height: 100vh !important;

    padding: 80px max(40px, 7vw) !important;

    overflow: hidden !important;
}


/* Yazılar */

#projects .project-content {
    grid-column: 2 !important;
    grid-row: 1 !important;

    position: relative !important;
    z-index: 20 !important;

    width: 100% !important;
    max-width: 900px !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* Numara */

#projects .project-number {
    grid-column: 1 !important;
    grid-row: 1 !important;

    position: relative !important;
    z-index: 5 !important;

    align-self: center !important;
}


/* LOGO */

#projects .project-visual {
    grid-column: 3 !important;
    grid-row: 1 !important;

    position: relative !important;

    width: 400px !important;
    height: 400px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    justify-self: center !important;
    align-self: center !important;

    z-index: 2 !important;

    margin: 0 !important;
}


/* =====================================================
   LOGO
===================================================== */

#projects .rotating-logo {
    position: relative !important;
    z-index: 10 !important;

    width: 155px !important;
    height: 155px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: rgba(255,255,255,.95) !important;

    box-shadow:
        0 0 30px rgba(37,99,235,.15),
        0 0 90px rgba(37,99,235,.10) !important;
}

#projects .rotating-logo img {
    width: 105px !important;
    height: auto !important;

    display: block !important;
}


/* =====================================================
   ORBITLER
===================================================== */

#projects .logo-orbit {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    border: 1px solid rgba(37,99,235,.18) !important;
    border-radius: 50% !important;

    pointer-events: none !important;
}

#projects .logo-orbit-1 {
    width: 220px !important;
    height: 220px !important;
}

#projects .logo-orbit-2 {
    width: 300px !important;
    height: 170px !important;
}

#projects .logo-orbit-3 {
    width: 360px !important;
    height: 230px !important;
}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 1000px) {

    #projects .project-item {
        grid-template-columns:
            70px
            minmax(0, 1fr)
            300px !important;

        gap: 25px !important;
    }

    #projects .project-visual {
        width: 280px !important;
        height: 280px !important;
    }

    #projects .rotating-logo {
        width: 120px !important;
        height: 120px !important;
    }

    #projects .rotating-logo img {
        width: 82px !important;
    }
}


@media (max-width: 768px) {

    #projects .project-item {
        display: flex !important;
        flex-direction: column !important;

        align-items: flex-start !important;
        justify-content: center !important;

        min-height: 100vh !important;
        height: auto !important;

        padding: 80px 25px !important;
        gap: 20px !important;
    }

    #projects .project-number {
        order: 1 !important;
    }

    #projects .project-content {
        order: 2 !important;
    }

    #projects .project-visual {
        order: 3 !important;

        width: 100% !important;
        height: 280px !important;

        margin-top: 10px !important;
    }

}
/* =====================================================
   MERNASOFT - PROJE LOGO KONUMU SON DÜZELTME
===================================================== */

#projects .project-item {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;

    padding: 80px 48% 80px 12% !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}


/* NUMARA */

#projects .project-number {
    position: absolute !important;

    left: 5% !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 5 !important;

    color: rgba(37, 99, 235, 0.14) !important;

    font-size: 100px !important;
    font-weight: 900 !important;
}


/* YAZILAR */

#projects .project-content {
    position: relative !important;

    z-index: 20 !important;

    width: 100% !important;
    max-width: 850px !important;

    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}


/* BAŞLIK */

#projects .project-content h3 {
    color: #0f172a !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* AÇIKLAMA */

#projects .project-content p {
    color: #475569 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* KATEGORİ */

#projects .project-category {
    color: #2563eb !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* ETİKETLER */

#projects .project-tags {
    position: relative !important;
    z-index: 30 !important;
}

#projects .project-tags span {
    color: #2563eb !important;

    background: #eff6ff !important;

    border: 1px solid #dbeafe !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =====================================================
   LOGO - SAĞA SABİT
===================================================== */

#projects .project-visual {
    position: absolute !important;

    top: 50% !important;
    right: 7% !important;

    width: 430px !important;
    height: 430px !important;

    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 3 !important;

    margin: 0 !important;

    pointer-events: none !important;
}


/* LOGONUN KENDİSİ */

#projects .rotating-logo {
    position: relative !important;

    z-index: 10 !important;

    width: 160px !important;
    height: 160px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: rgba(255,255,255,.96) !important;

    box-shadow:
        0 0 30px rgba(37,99,235,.18),
        0 0 90px rgba(37,99,235,.10) !important;

    animation:
        logo3DRotate 7s linear infinite,
        projectLogoFloat 4s ease-in-out infinite,
        projectLogoGlow 3s ease-in-out infinite !important;
}


#projects .rotating-logo img {
    display: block !important;

    width: 110px !important;
    height: auto !important;
}


/* =====================================================
   ORBİTLER
===================================================== */

#projects .logo-orbit {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    border: 1px solid rgba(37,99,235,.18) !important;

    border-radius: 50% !important;

    pointer-events: none !important;
}

#projects .logo-orbit-1 {
    width: 230px !important;
    height: 230px !important;
}

#projects .logo-orbit-2 {
    width: 320px !important;
    height: 180px !important;
}

#projects .logo-orbit-3 {
    width: 400px !important;
    height: 250px !important;
}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 900px) {

    #projects .project-item {
        display: flex !important;

        flex-direction: column !important;

        justify-content: center !important;
        align-items: flex-start !important;

        height: auto !important;
        min-height: 100vh !important;

        padding: 80px 25px !important;
    }

    #projects .project-number {
        position: relative !important;

        left: auto !important;
        top: auto !important;

        transform: none !important;

        font-size: 60px !important;
    }

    #projects .project-content {
        width: 100% !important;
    }

    #projects .project-visual {
        position: relative !important;

        top: auto !important;
        right: auto !important;

        width: 100% !important;
        height: 300px !important;

        transform: none !important;

        margin-top: 30px !important;
    }
}
/* =====================================================
   MERNASOFT PROJELER - TEMİZ SON SÜRÜM
===================================================== */

#projects.projects-section {
    position: relative !important;
    padding: 120px 0 0 !important;
    margin: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
}


/* PROJE BAŞLIĞI */

#projects .projects-heading {
    position: relative !important;
    z-index: 20 !important;

    min-height: 0 !important;

    padding: 0 25px 80px !important;
    margin: 0 auto !important;

    max-width: 900px !important;

    text-align: center !important;
}

#projects .projects-heading h2 {
    color: #0f172a !important;
}

#projects .projects-heading p {
    color: #64748b !important;
}


/* =====================================================
   HER PROJE TAM EKRAN
===================================================== */

#projects .project-item {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    height: 100vh !important;
    min-height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;

    background: #fff !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}


/* =====================================================
   NUMARA
===================================================== */

#projects .project-number {
    position: absolute !important;

    left: 5vw !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 3 !important;

    padding: 0 !important;

    font-size: clamp(70px, 9vw, 130px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;

    color: rgba(37, 99, 235, .13) !important;
}


/* =====================================================
   YAZI ALANI
===================================================== */

#projects .project-content {
    position: absolute !important;

    left: 14% !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 20 !important;

    width: min(58%, 800px) !important;
    max-width: 800px !important;

    padding: 0 !important;
    margin: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* kategori */

#projects .project-category {
    display: block !important;

    margin: 0 0 18px !important;

    color: #2563eb !important;

    font-size: 13px !important;
    font-weight: 800 !important;

    letter-spacing: 2px !important;
}


/* başlık */

#projects .project-content h3 {
    margin: 0 0 25px !important;

    color: #0f172a !important;

    font-size: clamp(48px, 6vw, 82px) !important;

    line-height: 1 !important;

    letter-spacing: -3px !important;
}


/* açıklama */

#projects .project-content p {
    margin: 0 0 25px !important;

    max-width: 750px !important;

    color: #64748b !important;

    font-size: 18px !important;

    line-height: 1.8 !important;
}


/* =====================================================
   META
===================================================== */

#projects .project-meta {
    display: inline-block !important;

    margin: 0 0 25px !important;
    padding: 11px 16px !important;

    color: #2563eb !important;

    background: #eff6ff !important;

    border: 1px solid #dbeafe !important;

    border-radius: 10px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
}


/* =====================================================
   TEKNOLOJİ ETİKETLERİ
===================================================== */

#projects .technology-list {
    display: flex !important;

    flex-wrap: wrap !important;

    gap: 10px !important;

    margin-top: 25px !important;
}

#projects .technology-list span {
    display: inline-block !important;

    padding: 9px 14px !important;

    color: #2563eb !important;

    background: #eff6ff !important;

    border: 1px solid #dbeafe !important;

    border-radius: 999px !important;

    font-size: 12px !important;
    font-weight: 700 !important;
}


/* =====================================================
   OYUNLAR
===================================================== */

#projects .games-list {
    display: flex !important;

    flex-direction: column !important;

    gap: 12px !important;

    max-width: 550px !important;

    margin-top: 30px !important;
}

#projects .game-project {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    padding: 18px 22px !important;

    background: #0f172a !important;

    border-radius: 16px !important;

    color: #fff !important;

    transition: transform .3s ease !important;
}

#projects .game-project:hover {
    transform: translateX(8px) !important;
}

#projects .game-project strong {
    display: block !important;

    color: #fff !important;

    font-size: 16px !important;
}

#projects .game-project small {
    display: block !important;

    margin-top: 4px !important;

    color: #94a3b8 !important;

    font-size: 12px !important;
}

#projects .game-project > span {
    color: #60a5fa !important;

    font-size: 22px !important;
}


/* =====================================================
   LİNK
===================================================== */

#projects .project-link {
    display: inline-flex !important;

    align-items: center !important;

    gap: 12px !important;

    margin-top: 30px !important;

    color: #2563eb !important;

    font-size: 15px !important;
    font-weight: 800 !important;

    text-decoration: none !important;
}

#projects .project-link span {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 45px !important;
    height: 45px !important;

    border-radius: 50% !important;

    background: #2563eb !important;

    color: #fff !important;

    font-size: 22px !important;
}


/* =====================================================
   LOGO ALANI - ARTIK SAĞA SABİT
===================================================== */

#projects .project-visual {
    position: absolute !important;

    right: 6vw !important;
    top: 50% !important;

    width: 420px !important;
    height: 420px !important;

    transform: translateY(-50%) !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    z-index: 5 !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* =====================================================
   LOGO
===================================================== */

#projects .project-logo {
    position: relative !important;

    z-index: 10 !important;

    width: 155px !important;
    height: 155px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    background: rgba(255,255,255,.95) !important;

    border-radius: 50% !important;

    box-shadow:
        0 0 30px rgba(37,99,235,.18),
        0 0 90px rgba(37,99,235,.10) !important;

    animation: mernasoftLogoFloat 4s ease-in-out infinite !important;
}

#projects .project-logo img {
    width: 105px !important;
    height: auto !important;

    display: block !important;

    animation: mernasoftLogoRotate 8s linear infinite !important;
}


/* =====================================================
   ORBİTLER
===================================================== */

#projects .orbit {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    border: 1px solid rgba(37,99,235,.18) !important;

    border-radius: 50% !important;

    transform: translate(-50%, -50%) !important;
}

#projects .orbit-1 {
    width: 220px !important;
    height: 220px !important;

    animation: orbitRotate1 10s linear infinite !important;
}

#projects .orbit-2 {
    width: 320px !important;
    height: 190px !important;

    transform:
        translate(-50%, -50%)
        rotate(55deg) !important;

    animation: orbitRotate2 14s linear infinite !important;
}

#projects .orbit-3 {
    width: 390px !important;
    height: 250px !important;

    transform:
        translate(-50%, -50%)
        rotate(-35deg) !important;

    animation: orbitRotate3 18s linear infinite !important;
}


/* =====================================================
   ANİMASYON
===================================================== */

@keyframes mernasoftLogoFloat {

    0%, 100% {
        margin-top: 0;
    }

    50% {
        margin-top: -18px;
    }
}

@keyframes mernasoftLogoRotate {

    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes orbitRotate1 {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}

@keyframes orbitRotate2 {

    from {
        transform:
            translate(-50%, -50%)
            rotate(55deg)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(55deg)
            rotate(-360deg);
    }
}

@keyframes orbitRotate3 {

    from {
        transform:
            translate(-50%, -50%)
            rotate(-35deg)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(-35deg)
            rotate(360deg);
    }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    #projects .project-content {
        left: 10% !important;
        width: 55% !important;
    }

    #projects .project-visual {
        right: 3vw !important;

        width: 340px !important;
        height: 340px !important;
    }

    #projects .project-logo {
        width: 130px !important;
        height: 130px !important;
    }

    #projects .project-logo img {
        width: 88px !important;
    }
}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 768px) {

    #projects .project-item {
        height: auto !important;
        min-height: 100vh !important;

        padding: 70px 25px !important;
    }

    #projects .project-number {
        position: relative !important;

        left: auto !important;
        top: auto !important;

        transform: none !important;

        font-size: 55px !important;
    }

    #projects .project-content {
        position: relative !important;

        left: auto !important;
        top: auto !important;

        transform: none !important;

        width: 100% !important;

        margin-top: 15px !important;
    }

    #projects .project-content h3 {
        font-size: 42px !important;
    }

    #projects .project-content p {
        font-size: 16px !important;
    }

    #projects .project-visual {
        position: relative !important;

        right: auto !important;
        top: auto !important;

        width: 100% !important;
        height: 280px !important;

        transform: none !important;

        margin-top: 30px !important;
    }
}
/* =====================================================
   MERNASOFT PROJECTS - FINAL POSITION FIX
===================================================== */

#projects .project-item {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* PROJE NUMARASI */

#projects .project-number {
    position: absolute !important;

    left: 5vw !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 5 !important;

    font-size: 110px !important;
    font-weight: 900 !important;

    color: rgba(37, 99, 235, 0.13) !important;
}


/* YAZI */

#projects .project-content {
    position: absolute !important;

    left: 15% !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 52% !important;
    max-width: 800px !important;

    z-index: 20 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* BAŞLIK */

#projects .project-content h3 {
    margin: 0 0 25px !important;

    color: #0f172a !important;

    font-size: clamp(48px, 6vw, 80px) !important;
    line-height: 1 !important;
}


/* AÇIKLAMA */

#projects .project-content p {
    color: #64748b !important;

    font-size: 18px !important;
    line-height: 1.8 !important;
}


/* =====================================================
   LOGO SAĞ TARAF
===================================================== */

#projects .project-visual {
    position: absolute !important;

    right: 7% !important;
    top: 50% !important;

    width: 420px !important;
    height: 420px !important;

    transform: translateY(-50%) !important;

    z-index: 10 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* LOGO */

#projects .project-logo {
    position: relative !important;

    width: 160px !important;
    height: 160px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    z-index: 20 !important;

    border-radius: 50% !important;

    background: white !important;

    box-shadow:
        0 0 35px rgba(37,99,235,.25),
        0 0 100px rgba(37,99,235,.12) !important;

    animation: msFloat 4s ease-in-out infinite !important;
}

#projects .project-logo img {
    width: 110px !important;

    height: auto !important;

    animation: msRotate 8s linear infinite !important;
}


/* =====================================================
   ORBİTLER
===================================================== */

#projects .orbit {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    border: 1px solid rgba(37,99,235,.20) !important;

    border-radius: 50% !important;
}

#projects .orbit-1 {
    width: 220px !important;
    height: 220px !important;

    transform: translate(-50%, -50%) !important;

    animation: msOrbit1 10s linear infinite !important;
}

#projects .orbit-2 {
    width: 320px !important;
    height: 180px !important;

    transform:
        translate(-50%, -50%)
        rotate(55deg) !important;

    animation: msOrbit2 14s linear infinite !important;
}

#projects .orbit-3 {
    width: 400px !important;
    height: 250px !important;

    transform:
        translate(-50%, -50%)
        rotate(-35deg) !important;

    animation: msOrbit3 18s linear infinite !important;
}


/* =====================================================
   ANİMASYONLAR
===================================================== */

@keyframes msFloat {

    0%, 100% {
        margin-top: 0;
    }

    50% {
        margin-top: -15px;
    }
}

@keyframes msRotate {

    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes msOrbit1 {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}

@keyframes msOrbit2 {

    from {
        transform:
            translate(-50%, -50%)
            rotate(55deg)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(55deg)
            rotate(-360deg);
    }
}

@keyframes msOrbit3 {

    from {
        transform:
            translate(-50%, -50%)
            rotate(-35deg)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(-35deg)
            rotate(360deg);
    }
}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 768px) {

    #projects .project-item {
        height: auto !important;
        min-height: 100vh !important;

        padding: 70px 25px !important;
    }

    #projects .project-number {
        position: relative !important;

        left: auto !important;
        top: auto !important;

        transform: none !important;

        font-size: 60px !important;
    }

    #projects .project-content {
        position: relative !important;

        left: auto !important;
        top: auto !important;

        transform: none !important;

        width: 100% !important;
    }

    #projects .project-visual {
        position: relative !important;

        right: auto !important;
        top: auto !important;

        transform: none !important;

        width: 100% !important;
        height: 300px !important;
    }

}
    transform: none !important;
}