/*
 * @author Baris Cagman
 */


:root {
    --navy: #07111f;
    --navy2: #0d1c30;
    --ink: #101827;
    --muted: #6b7280;
    --line: #e7eaf0;
    --bg: #f6f8fb;
    --card: #fff;
    --orange: #f58220;
    --orange2: #ff9a45;
    --shadow: 0 18px 55px rgba(7,17,31,.09);
    --radius: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    height: 100vh;
    padding: 28px 22px 22px;
    background: rgba(7,17,31,.97);
    border-right: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 18px 0 60px rgba(7,17,31,.08);
}

.profile {
    text-align: center;
}

.logo-box {
    width: 142px;
    height: 82px;
    margin: 0 auto 18px;
    padding: 17px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
}

.logo-box img {
    max-height: 100%;
}

.profile h1 {
    font-size: 21px;
    color: #fff;
    margin-bottom: 5px;
}

.profile-title {
    font-size: 12px;
    line-height: 1.6;
    color: #8290a4;
}

.profile-title b {
    color: #f5f7fa;
}

.navigation {
    margin-top: 28px;
}

.navigation ul {
    list-style: none;
    display: grid;
    gap: 5px;
}

.navigation li {
    border: 0;
}

.navigation a {
    display: flex;
    align-items: center;
    position: relative;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    color: #9aa7b8;
    transition: .25s;
}

.navigation a:before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 11px;
    border-radius: 50%;
    background: #415069;
    transition: .25s;
}

.navigation a:hover,
.navigation a.active {
    color: #fff;
    background: rgba(255,255,255,.07);
}

.navigation a.active:before {
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(245,130,32,.12);
}

.navigation a.active:after {
    content: "";
    position: absolute;
    right: -22px;
    width: 3px;
    height: 22px;
    border-radius: 4px;
    background: var(--orange);
}

.sidebar-bottom {
    margin-top: auto;
}

.company-link {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #738197;
    margin-bottom: 14px;
}

.company-link:hover {
    color: var(--orange);
}

.social {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 15px;
}

.social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    transition: .25s;
}

.social a:hover {
    transform: translateY(-3px);
    background: var(--orange);
    border-color: var(--orange);
}

.social img {
    width: 17px;
    height: 17px;
}

.copyright {
    text-align: center;
    font-size: 10px;
    color: #56647a;
}

.mobile-header {
    display: none;
}

.main {
    margin-left: 260px;
}

.section {
    display: block;
    min-height: auto;
    padding: 100px clamp(35px,6vw,90px);
    scroll-margin-top: 0;
    position: relative;
}

.section:nth-of-type(even):not(#home) {
    background: #fff;
}

.container {
    width: min(1120px,100%);
    margin: auto;
}

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg,rgba(3,10,20,.86),rgba(3,10,20,.54) 48%,rgba(3,10,20,.72)),url("image/arkaplan.webp") center/cover no-repeat;
    isolation: isolate;
    overflow: hidden;
}

#home:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle,rgba(245,130,32,.11),transparent 66%);
    z-index: -1;
}

#home:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 170px;
    background: linear-gradient(transparent,rgba(3,10,20,.32));
    z-index: -1;
}

.hero {
    max-width: 850px;
    padding: 45px;
}

.hero-small {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #d9e1eb;
    margin-bottom: 22px;
}

.hero-small:before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--orange);
}

.hero h2 {
    font-size: clamp(52px,7vw,92px);
    line-height: .95;
    margin-bottom: 22px;
    text-shadow: 0 8px 35px rgba(0,0,0,.22);
}

.hero-title {
    font-size: clamp(19px,2vw,24px);
    font-weight: 500;
    margin-bottom: 13px;
}

.hero-services {
    font-size: 13px;
    letter-spacing: .25px;
    color: rgba(255,255,255,.7);
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

.button-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 12px 30px rgba(245,130,32,.22);
}

.button-primary:hover {
    background: var(--orange2);
    transform: translateY(-2px);
}

.button-outline {
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(8px);
}

.button-outline:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-2px);
}

.section-title {
    margin-bottom: 44px;
    padding: 0;
    border: 0;
}

.section-title:before {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin-bottom: 16px;
    border-radius: 4px;
    background: var(--orange);
}

.section-title h2 {
    font-size: clamp(32px,4vw,46px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 10px;
}

.section-title p {
    max-width: 680px;
    color: #7b8493;
    font-size: 14px;
    line-height: 1.7;
}

.about-text {
    max-width: 880px;
    font-size: 16px;
    line-height: 1.9;
    color: #596273;
}

.about-text p {
    margin-bottom: 16px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-top: 42px;
}

.stat {
    padding: 25px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.8);
    box-shadow: 0 8px 30px rgba(7,17,31,.04);
    transition: .25s;
}

.stat:hover {
    transform: translateY(-4px);
    border-color: rgba(245,130,32,.35);
    box-shadow: var(--shadow);
}

.stat strong {
    display: block;
    font-size: 31px;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 5px;
}

.stat span {
    font-size: 12px;
    color: #8992a1;
}

.services {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.service {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    background: linear-gradient(145deg,#0b1728,#101f34);
    color: #fff;
    overflow: hidden;
    transition: .3s;
}

.service:after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -55px;
    bottom: -60px;
    border-radius: 50%;
    background: rgba(245,130,32,.09);
    transition: .3s;
}

.service:hover {
    transform: translateY(-6px);
    border-color: rgba(245,130,32,.35);
    box-shadow: 0 24px 55px rgba(7,17,31,.16);
}

.service:hover:after {
    transform: scale(1.45);
}

.service-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 25px;
}

.service h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service p {
    font-size: 13px;
    line-height: 1.75;
    color: #9fabbc;
}

#services {
    background: var(--navy);
    color: #fff;
}

#services .section-title h2 {
    color: #fff;
}

#services .section-title p {
    color: #8491a5;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.filter {
    border: 1px solid var(--line);
    background: #fff;
    color: #687283;
    padding: 9px 15px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
    transition: .2s;
}

.filter:hover,
.filter.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.projects {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.project {
    position: relative;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg,#fff,#f9fafc);
    overflow: hidden;
    transition: .3s;
}

.project:before {
    content: "↗";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f3f5f8;
    color: #7b8493;
    transition: .25s;
}

.project:hover {
    transform: translateY(-5px);
    border-color: rgba(245,130,32,.32);
    box-shadow: var(--shadow);
}

.project:hover:before {
    background: var(--orange);
    color: #fff;
}

.project-type {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}

.project h3 {
    font-size: 19px;
    letter-spacing: -.3px;
    margin-bottom: 5px;
}

.project p {
    font-size: 12px;
    color: #8a93a1;
}

.all-projects,
.all-articles {
    margin-top: 28px;
    text-align: right;
}

.all-projects-button,
.all-articles-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: .25s;
}

.all-projects-button span,
.all-articles-button span {
    color: var(--orange);
    font-size: 17px;
}

.all-projects-button:hover,
.all-articles-button:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

#articles {
    background: var(--navy);
}

#articles .section-title h2 {
    color: #fff;
}

#articles .section-title p {
    color: #8491a5;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.blog-item {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    color: #fff;
    transition: .25s;
}

.blog-item h3 {
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
}

.blog-item span {
    flex: 0 0 auto;
    color: var(--orange);
    font-size: 20px;
    transition: .25s;
}

.blog-item:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(245,130,32,.32);
    transform: translateY(-3px);
}

.blog-item:hover span {
    transform: translateX(4px);
}

#articles .all-articles-button {
    background: transparent;
    border-color: rgba(255,255,255,.12);
    color: #fff;
}

#articles .all-articles-button:hover {
    background: var(--orange);
    border-color: var(--orange);
}

#contact {
    padding-top: 110px;
    padding-bottom: 110px;
}

.contact {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.contact-row {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(7,17,31,.04);
    transition: .25s;
}

.contact-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(245,130,32,.3);
}

.contact-label {
    display: block;
    margin-bottom: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #9aa2af;
}

.contact-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.contact-value:hover {
    color: var(--orange);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease,transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media(max-width:1050px) {
    .sidebar {
        width: 230px;
    }
    .main {
        margin-left: 230px;
    }
    .navigation a.active:after {
        right: -22px;
    }
    .stats {
        grid-template-columns: repeat(2,1fr);
    }
    .projects {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:900px) {
    .mobile-header {
        position: fixed;
        inset: 0 0 auto 0;
        height: 64px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255,255,255,.92);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        z-index: 1100;
    }
    .mobile-title {
        font-size: 14px;
    }
    .menu-toggle {
        border: 0;
        background: var(--navy);
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 20px;
        cursor: pointer;
    }
    .sidebar {
        width: 280px;
        top: 64px;
        height: calc(100vh - 64px);
        transform: translateX(-105%);
        transition: .3s;
    }
    .sidebar.open {
        transform: none;
    }
    .main {
        margin-left: 0;
        padding-top: 64px;
    }
    .section {
        padding: 70px 24px;
        scroll-margin-top: 64px;
    }
    #home {
        min-height: calc(100vh - 64px);
    }
    .services {
        grid-template-columns: repeat(2,1fr);
    }
    .blog-list {
        grid-template-columns: 1fr;
    }
    .contact {
        grid-template-columns: 1fr;
    }
}

@media(max-width:600px) {
    .hero {
        padding: 25px 0;
    }
    .hero h2 {
        font-size: 46px;
        letter-spacing: -2.5px;
    }
    .hero-services {
        line-height: 1.9;
    }
    .section {
        padding: 60px 18px;
    }
    .services,.projects,.stats {
        grid-template-columns: 1fr;
    }
    .service {
        min-height: 190px;
    }

    .filters {
        gap: 6px;
    }
    .filter {
        padding: 8px 12px;
    }
    .contact {
        gap: 10px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    * {
        transition-duration: .01ms!important;
    }
}

.project[hidden] {
    display: none!important;
}

.site-footer {
    margin-left: 260px;
    padding: 22px;
    text-align: center;
    background: #07111f;
    color: #64748b;
    font-size: 11px;
    border-top: 1px solid rgba(255,255,255,.08);
}

@media(max-width:1050px) {
    .site-footer {
        margin-left: 230px;
    }
}

@media(max-width:900px) {
    .site-footer {
        margin-left: 0;
    }
}

/* Sayfa yükleme ekranı */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    color: #fff;
    visibility: visible;
    overflow: hidden;
}

.loader-panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: var(--navy);
    transition: transform 1.2s cubic-bezier(.76,0,.24,1);
    will-change: transform;
}

.loader-panel-top {
    top: 0;
}

.loader-panel-bottom {
    bottom: 0;
}

.loader-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: opacity .25s ease;
}

.page-loader.is-opening {
    pointer-events: none;
}

.page-loader.is-opening .loader-content {
    opacity: 0;
}

.page-loader.is-opening .loader-panel-top {
    transform: translateY(-100%);
}

.page-loader.is-opening .loader-panel-bottom {
    transform: translateY(100%);
}

.page-loader.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.page-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255,255,255,.18);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: loader-spin .8s linear infinite;
}

.page-loader-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Yukarı çık butonu */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 28px rgba(7,17,31,.22);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--orange2);
    transform: translateY(-3px);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
}

@media(max-width:600px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .page-loader-spinner {
        animation: none;
    }
}


/* Projenizi Anlatın */
#contact .contact-form {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    margin-top: 28px;
    padding: 36px 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(7, 17, 31, .04);
        align-content: center;
    align-items: center;
    justify-content: space-between;
}

#contact .contact-form h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.3;
}

#contact .contact-form p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

#contact .contact-form-link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0;
    padding: 14px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--orange);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;

}

#contact .contact-form-link:hover {
    background: var(--orange2);
    transform: translateY(-2px);
}

#contact .contact-form-link:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    #contact .contact-form {
        padding: 28px 20px;
        display: block;
    }

    #contact .contact-form-link {
        width: 100%;
    }
}


.custom-development {
    margin-top: 64px;
}

.development-list {
    display: grid;
    gap: 16px;
}

.development-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px;
    border: 1px solid rgba(128, 128, 128, 0.22);
    border-radius: 16px;
    background: rgba(128, 128, 128, 0.04);
}

.development-info {
    flex: 1;
    min-width: 0;
}

.development-type {
    display: inline-block;
    margin-bottom: 8px;
    color: #f58220;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.development-info h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.development-info p {
    margin: 0;
    max-width: 720px;
    line-height: 1.7;
}

.development-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.development-features span {
    padding: 6px 11px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
}

.development-link {
    flex-shrink: 0;
    color: #f58220;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.development-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .custom-development {
        margin-top: 40px;
    }

    .development-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 22px;
    }

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