* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #191919;
    color: #eeeeee;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    color: #f1f1f1;
    text-decoration: none;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 8px;
}

    .logo span {
        display: inline-block;
        font-size: 29px;
        margin: 0 1px;
    }


.nav-box {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 13px 19px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(90,90,90,.18);
    backdrop-filter: blur(14px);
    border-radius: 11px;
}

    .nav-box a {
        color: #eeeeee;
        text-decoration: none;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 1px;
        transition: opacity .2s ease;
    }

        .nav-box a:hover {
            opacity: .5;
        }

.nav-line {
    width: 1px;
    height: 25px;
    background: rgba(255,255,255,.25);
}

.theme-button {
    border: none;
    background: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}


/* =========================
   ANA YAPI
========================= */

.template-detail {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 100vh;
}


/* =========================
   SOL SIDEBAR
========================= */

.template-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 125px 4vw 45px;
    border-right: 1px solid rgba(255,255,255,.13);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.back-button {
    position: absolute;
    top: 115px;
    left: 4vw;
    color: #777;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1.5px;
    transition: color .2s;
}

    .back-button:hover {
        color: white;
    }


/* =========================
   ANA GÖRSEL
========================= */

.template-main-image {
    width: 100%;
    max-width: 470px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: #0c0c0c;
    margin-bottom: 28px;
}

    .template-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease;
    }

    .template-main-image:hover img {
        transform: scale(1.025);
    }


/* =========================
   META
========================= */

.template-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.template-number {
    color: #aaa;
    font-size: 10px;
    letter-spacing: 1px;
}

.meta-line {
    width: 45px;
    height: 1px;
    background: #777;
}

.category {
    color: #999;
    font-size: 9px;
    letter-spacing: 1.5px;
}


/* =========================
   BAŞLIK
========================= */

.template-sidebar h1 {
    font-size: clamp(45px, 5vw, 75px);
    line-height: .88;
    letter-spacing: -4px;
    font-weight: 700;
    margin-bottom: 25px;
}

    .template-sidebar h1 span {
        color: #666;
    }


.description {
    max-width: 420px;
    color: #888;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 30px;
}


/* =========================
   FİYAT
========================= */

.price {
    padding: 18px 0;
    border-top: 1px solid #303030;
    border-bottom: 1px solid #303030;
    font-size: 25px;
    margin-bottom: 25px;
}

    .price span {
        display: block;
        color: #666;
        font-size: 8px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }


/* =========================
   BUTON
========================= */

.order-button {
    width: 100%;
    max-width: 470px;
    padding: 17px 20px;
    background: #eeeeee;
    color: #111;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .25s;
}

    .order-button:hover {
        background: #aaa;
    }


/* =========================
   SAĞ TARAF
========================= */

.template-content {
    padding: 145px 4vw 100px;
}


/* =========================
   INTRO
========================= */

.content-intro {
    padding-bottom: 55px;
    border-bottom: 1px solid #303030;
    margin-bottom: 65px;
}

    .content-intro > span {
        color: #666;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .content-intro h2 {
        margin-top: 20px;
        font-size: clamp(35px, 4vw, 65px);
        line-height: .9;
        letter-spacing: -3px;
    }

    .content-intro p {
        max-width: 430px;
        margin-top: 25px;
        color: #777;
        font-size: 13px;
        line-height: 1.7;
    }


/* =========================
   TASARIM BÖLÜMLERİ
========================= */

.design-section {
    margin-bottom: 100px;
}

.design-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

    .design-title span {
        color: #666;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .design-title h3 {
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 1.5px;
    }

.design-image {
    width: 100%;
    overflow: hidden;
    border: 1px solid #303030;
    border-radius: 7px;
    background: #0d0d0d;
}

    .design-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform .5s ease;
    }

    .design-image:hover img {
        transform: scale(1.01);
    }


/* =========================
   SON CTA
========================= */

.final-cta {
    margin-top: 120px;
    padding: 100px 0;
    border-top: 1px solid #303030;
}

    .final-cta > span {
        color: #666;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .final-cta h2 {
        margin-top: 25px;
        font-size: clamp(55px, 7vw, 105px);
        line-height: .82;
        letter-spacing: -5px;
    }

        .final-cta h2 span {
            color: #555;
        }

    .final-cta a {
        display: inline-flex;
        align-items: center;
        gap: 25px;
        margin-top: 45px;
        padding: 16px 22px;
        background: #eeeeee;
        color: #111;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
    }

        .final-cta a span {
            font-size: 16px;
        }


/* =========================
   FOOTER
========================= */

footer {
    padding: 30px 4vw;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777;
    font-size: 10px;
}

.footer-logo {
    color: white;
    font-size: 20px;
    letter-spacing: 6px;
}

    .footer-logo span {
        margin: 0 1px;
    }


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .template-detail {
        grid-template-columns: 1fr;
    }

    .template-sidebar {
        position: relative;
        height: auto;
        min-height: auto;
        padding: 125px 6vw 70px;
        border-right: none;
        border-bottom: 1px solid #303030;
    }

    .back-button {
        left: 6vw;
    }

    .template-content {
        padding: 80px 6vw;
    }
}


@media (max-width: 700px) {

    .navbar {
        padding: 20px 22px;
    }

    .logo {
        font-size: 23px;
        letter-spacing: 6px;
    }

    .nav-box {
        gap: 12px;
        padding: 10px;
    }

        .nav-box a {
            display: none;
        }

    .nav-line {
        display: none;
    }

    .template-sidebar {
        padding: 110px 22px 55px;
    }

    .back-button {
        left: 22px;
        top: 90px;
    }

    .template-sidebar h1 {
        font-size: 60px;
    }

    .template-content {
        padding: 65px 22px;
    }

    .design-section {
        margin-bottom: 65px;
    }

    .final-cta {
        margin-top: 70px;
        padding: 70px 0;
    }

        .final-cta h2 {
            font-size: 18vw;
            letter-spacing: -3px;
        }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
