﻿/* =========================================================
   0) THEME TOKENS
   ========================================================= */
:root {
    --wrap: 1120px;
    --text: #444;
    --muted: #777;
    --title: #333;
    --line: #e6e6e6;
    --soft: #f6f6f6;
    --accent: #d3542f; /* turuncu-kiremit */
}

/* =========================================================
   1) GLOBAL / RESET
   ========================================================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

.page {
    width: 100%;
}

.wrap {
    width: min(var(--wrap), calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   2) TOP NAV (Layout)
   ========================================================= */
.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

    .topnav.scrolled {
        box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    }

.topnav-inner {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Sadece logo kullanıyorsunuz */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--title);
    min-width: 220px;
}

.brand-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 10px 8px;
}

    .nav-link:hover {
        color: var(--accent);
    }

/* Hamburger */
.nav-toggle {
    display: none;
    width: 44px;
    height: 40px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 2px;
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: #666;
        margin: 4px auto;
    }

/* Mobil menü */
@media (max-width:980px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: 0;
        right: 0;
        top: 62px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 14px 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .topnav.open .nav-links {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 12px 6px;
    }
}

/* =========================================================
   3) HERO (Index)
   ========================================================= */
.hero-dark {
    background: #637489;
    color: #fff;
    padding: 84px 0;
}

.hero-split-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: center;
    min-height: 414px;
}

.hero-left {
    max-width: 560px;
}

.hero-kicker {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #34D399;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0 0 14px;
    font-size: 35px;
    line-height: 1.06;
    letter-spacing: .04em;
    font-weight: 600;
    text-transform: none;
    color: #fff;
}

.hero-sub {
    margin: 0 0 18px;
    max-width: 62ch;
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
    font-size: 14px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 12px 22px;
    background: var(--accent);
    color: #fff;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 2px;
}

    .btn-hero.ghost {
        background: transparent;
        border-color: rgba(255,255,255,0.22);
        color: rgba(255,255,255,0.90);
    }

    .btn-hero:hover {
        opacity: .95;
    }

.hero-micro {
    margin-top: 10px;
    max-width: 62ch;
    color: rgba(255,255,255,0.78);
    font-size: 12.5px;
    line-height: 1.6;
}

/* Hero devices (tek görsel kullanıyorsunuz: device-monitor) */
.hero-dark.hero-split {
    overflow: hidden;
    --gutter: calc((100vw - min(var(--wrap), calc(100vw - 40px))) / 2);
}

.hero-right {
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center; /* dikey orta */
    justify-content: flex-end;
}

.device-stage {
    position: relative;
    width: 100%;
    max-width: 820px;
    height: 414px;
    margin: auto 0 auto auto; /* dikeyde ortala, yatayda sağa yasla */
    display: flex;
    align-items: center; /* dikey orta */
    justify-content: flex-end;
}

#heroDevices .device {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    opacity: 0;
    transform: translateX(calc(120% + var(--gutter)));
    filter: drop-shadow(0 22px 42px rgba(0,0,0,0.35)) blur(1.2px);
    will-change: transform,opacity,filter;
    transition: transform 900ms cubic-bezier(.16,1,.3,1), opacity 650ms ease, filter 700ms ease;
}

#heroDevices .device-monitor {
    width: 560px;
    left: 0;
    top: 0;
    z-index: 1;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
}

#heroDevices.is-in .device {
    opacity: 1;
    transform: translateX(0);
    filter: drop-shadow(0 22px 42px rgba(0,0,0,0.35)) blur(0);
}

#heroDevices.is-in .device-monitor {
    transition-delay: 0ms;
}

@keyframes heroFloatY {
    0%,100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -6px;
    }
}

#heroDevices.float .device {
    animation: heroFloatY 6s ease-in-out infinite;
}

@media (max-width:980px) {
    .device-stage {
        height: 342px;
    }

    #heroDevices .device-monitor {
        width: 480px;
    }
}

@media (max-width:520px) {
    .device-stage {
        height: 288px;
    }

    #heroDevices .device-monitor {
        width: 400px;
    }
}

/* =========================================================
   4) SECTION BASE + HEADINGS
   ========================================================= */
.sec {
    padding: 56px 0;
}

.sec-white {
    background: #fff;
}

.sec-grey {
    background: rgb(250,250,250);
}

.sec-head {
    text-align: center;
    margin-bottom: 28px;
}

.sec-title {
    margin: 0;
    color: var(--title);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: none;
}

    .sec-title.left {
        text-align: left;
    }

/* SECTION KICKER (H2 üstü kısa satır) */
.sec-kicker {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7b7b7b;
    margin: 0 0 10px;
}

.ornament {
    width: 220px;
    height: 1px;
    background: var(--line);
    margin: 20px auto;
    position: relative;
}

    .ornament::after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid var(--line);
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }

    .ornament.left {
        margin-left: 0;
        margin-right: auto;
    }

    .ornament.small {
        width: 180px;
        margin-top: 26px;
        margin-bottom: 12px;
    }

.sec-sub {
    margin: 0 auto;
    max-width: 90ch;
    color: #7b7b7b;
    line-height: 1.8;
    font-size: 13px;
}

.accent {
    color: var(--accent);
}

.center-link {
    text-align: center;
    margin-top: 10px;
}

.link-accent {
    color: var(--accent);
    font-size: 13px;
    text-decoration: none;
}

    .link-accent:hover {
        text-decoration: underline;
    }

/* =========================================================
   5) TRIPLE GRID (Özellikler)
   ========================================================= */
.triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 28px;
    align-items: start;
}

.triple-item {
    padding-top: 6px;
}

.triple-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .triple-head h3 {
        margin: 0;
        font-size: 14px;
        letter-spacing: .04em;
        font-weight: 600;
        color: #333;
    }

.ico {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
}

.ico-img {
    width: 22px;
    height: 22px;
    display: block;
}

.triple-item p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.75;
}

/* =========================================================
   6) PORTFOLIO 4 (Macbook kartlar)
   ========================================================= */
.portfolio4 {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.p-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.p-img {
    height: 250px;
    border-radius: 2px;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0; /* img boşluğu */
}

    .p-img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain; /* kırpma yok: ekran görüntüsü için ideal */
        object-position: center;
    }

    .p-img.ph {
        min-height: 180px;
        background: linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.03));
    }

        .p-img.ph::before {
            content: "IMAGE";
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            color: #999;
            letter-spacing: .25em;
            font-size: 12px;
        }

.p-cap {
    padding: 14px 16px;
    font-size: 12px;
    color: #666;
    background: #fff;
    border-top: 1px solid var(--line);
}

.p-card:hover .p-img {
    transform: translateY(-2px);
    transition: transform .18s ease;
}

@media (max-width:1200px) {
    .portfolio4 {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width:640px) {
    .portfolio4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   7) SPLIT LAYOUT + FRAME LIST
   ========================================================= */
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
}

    /* 12-col mantığı: sol 5 / sağ 7 */
    .split.split-5-7 {
        grid-template-columns: 5fr 7fr;
        align-items: stretch;
    }

.frame {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px;
}

.p {
    margin: 0 0 14px;
    color: #777;
    font-size: 13px;
    line-height: 1.85;
}

.btn-ghost {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid var(--line);
    background: #fff;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-radius: 2px;
}

    .btn-ghost:hover {
        border-color: #d0d0d0;
        color: #444;
    }

/* Sol kutu liste versiyonu */
.frame.frame-list-wrap {
    padding: 18px;
}

.frame-item {
    padding: 14px;
    border: 1px solid var(--line);
    background: #fafafa;
    margin-bottom: 14px;
}

    .frame-item:last-child {
        margin-bottom: 0;
    }

.frame-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .frame-head h3 {
        margin: 0;
        font-size: 14px;
        letter-spacing: .04em;
        font-weight: 600;
        color: #333;
    }

.frame-item p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.75;
}

/* Split-right tipografi aralıkları + ornament ortalama */
.split-right .sec-title.left {
    margin-bottom: 18px;
}

    .split-right .sec-title.left + .p {
        margin-top: 10px;
    }

.split-right .ornament {
    margin-top: 14px;
    margin-bottom: 22px;
}

    .split-right .ornament.left {
        margin-left: auto;
        margin-right: auto;
    }

/* =========================================================
   8) ABOUT + TIMELINE
   ========================================================= */
.about {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.about-left {
    text-align: center;
}

.about-text {
    color: #777;
    font-size: 13px;
    line-height: 1.9;
    max-width: 60ch;
    margin: 18px auto 24px;
}

.timeline {
    position: relative;
    padding-left: 70px;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 34px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--line);
    }

.tl-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    margin: 0 0 26px;
}

.tl-dot {
    position: relative;
    width: 70px;
    display: flex;
    justify-content: center;
}

    .tl-dot::before {
        content: "";
        width: 64px;
        height: 64px;
        border-radius: 999px;
        background: #cfcfcf;
        display: block;
    }

.tl-ico {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 20px;
}

.tl-content h3 {
    margin: 4px 0 8px;
    font-size: 14px;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
}

.tl-content p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.85;
}

/* =========================================================
   9) TESTIMONIALS
   ========================================================= */
.testimonials {
    margin-top: 18px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0;
}

    .testimonials::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--line);
        transform: translateX(-50%);
    }

    .testimonials::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--line);
        transform: translateY(-50%);
    }

.t-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    padding: 26px 18px;
    min-height: 170px;
}

.t-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    overflow: hidden;
    background: #ddd;
}

    .t-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.t-body p {
    margin: 0 0 10px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}

.t-name {
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.t-role {
    color: #888;
    font-size: 12px;
}

/* =========================================================
   10) HELP (Glass Background + 4 Cards)
   ========================================================= */
.help {
    position: relative;
    padding: 74px 0 70px;
    overflow: hidden;
}

.help-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(14px);
    transform: scale(1.08);
}

.help-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.help-inner {
    position: relative;
    z-index: 2;
}

.help-cards {
    display: grid;
    gap: 22px;
    align-items: start;
}

    /* 4 kart düzeni */
    .help-cards.help-cards-4 {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }

.help-card {
    border-radius: 2px;
    padding: 34px 26px 26px;
    text-align: center;
    position: relative;
}

.help-ico {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 22px;
    position: absolute;
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
}

/* Glass kart */
.help .glass-card {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

    .help .glass-card h3 {
        margin: 12px 0 10px;
        font-size: 14px;
        letter-spacing: .14em;
        text-transform: uppercase;
        font-weight: 600;
        color: #fff;
    }

    .help .glass-card p {
        margin: 0;
        color: rgba(255,255,255,0.78);
        font-size: 13px;
        line-height: 1.85;
    }

@media (max-width:1100px) {
    .help-cards.help-cards-4 {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width:640px) {
    .help-cards.help-cards-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   11) FOOTER + BACK TO TOP (Layout)
   ========================================================= */
.site-footer {
    background: #111;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    padding: 16px 0;
}

.backtotop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    background: #666;
    color: #fff;
    cursor: pointer;
    display: none;
    border-radius: 2px;
    opacity: .95;
}

    .backtotop:hover {
        background: #555;
    }

/* =========================================================
   12) GLOBAL RESPONSIVE (Section Grids)
   ========================================================= */
@media (max-width:980px) {
    .triple {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-left {
        text-align: left;
    }

    .about-text {
        margin-left: 0;
        margin-right: 0;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

        .testimonials::before,
        .testimonials::after {
            display: none;
        }
}
