/* =====================================================
   STELLA
   MAIN STYLE
===================================================== */

* {
    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: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


/* LOGO */

.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;
        transform: translateY(-1px);
    }


/* NAV BOX */

.nav-box {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 13px 19px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(90, 90, 90, 0.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 0.2s ease;
    }

        .nav-box a:hover {
            opacity: 0.5;
        }

.nav-line {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.25);
}

.theme-button {
    border: none;
    background: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 500px;
    padding: 115px 4vw 45px;
    position: relative;
    display: grid;
    grid-template-columns: 1.8fr 0.65fr 0.55fr;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}


/* LEFT */

.hero-left {
    align-self: center;
}

.eyebrow {
    margin-bottom: 24px;
    font-size: 11px;
    letter-spacing: 4px;
    color: #bcbcbc;
}

.hero h1 {
    white-space: nowrap;
    font-size: clamp(70px, 8.2vw, 150px);
    line-height: 0.9;
    letter-spacing: -7px;
    font-weight: 800;
}

    .hero h1 span {
        color: #666666;
    }

.hero-text {
    max-width: 560px;
    margin-top: 25px;
    color: #d0d0d0;
    font-size: 15px;
    line-height: 1.5;
}


/* MIDDLE */

.hero-middle {
    display: flex;
    align-items: center;
    gap: 28px;
}

.vertical-line {
    width: 1px;
    height: 85px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-middle p {
    color: #a9a9a9;
    font-size: 13px;
    line-height: 1.6;
}


/* RIGHT */

.hero-right {
    align-self: center;
    text-align: center;
}

    .hero-right p {
        color: #999999;
        font-size: 10px;
        line-height: 1.6;
        letter-spacing: 1px;
    }

.arrow {
    margin-top: 18px;
    font-size: 32px;
    font-weight: 200;
    animation: arrowMove 2s infinite;
}

@keyframes arrowMove {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}


/* =====================================================
   TEMPLATES
===================================================== */

.templates {
    padding: 28px 4vw 100px;
}


/* HEADER */

.templates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.templates-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.section-number {
    color: #d2d2d2;
    font-size: 11px;
    letter-spacing: 1px;
}

.small-line {
    width: 55px;
    height: 1px;
    background: #777777;
}

.templates-title h2 {
    font-size: 25px;
    letter-spacing: -1px;
}

.all-templates {
    color: #c9c9c9;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s ease;
}

    .all-templates span {
        margin-left: 10px;
        font-size: 18px;
    }

    .all-templates:hover {
        color: white;
    }


/* =====================================================
   TEMPLATE GRID
===================================================== */

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 55px;
}


/* =====================================================
   TEMPLATE PREVIEW
===================================================== */

.template-preview {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    background: #0c0c0c;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

    .template-preview:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 255, 255, 0.55);
    }


    /* DARK OVERLAY */

    .template-preview::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35) );
        z-index: 1;
        pointer-events: none;
    }


/* =====================================================
   PREVIEW NAVBAR
===================================================== */

.preview-navbar {
    position: absolute;
    top: 17px;
    left: 25px;
    right: 25px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .preview-navbar strong {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

.preview-links {
    display: flex;
    gap: 13px;
    font-size: 6px;
    color: #c4c4c4;
}


/* =====================================================
   PREVIEW CONTENT
===================================================== */

.preview-content {
    position: absolute;
    z-index: 4;
    left: 26px;
    bottom: 52px;
}

    .preview-content h3 {
        font-size: 27px;
        font-weight: 400;
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .preview-content p {
        margin-top: 13px;
        font-size: 8px;
        color: #bcbcbc;
    }


/* =====================================================
   DISCOVER BUTTON
===================================================== */

.discover {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 20px);
    opacity: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 19px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(15, 15, 15, 0.72);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 9px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .discover span {
        font-size: 16px;
    }

.template-preview:hover .discover {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* =====================================================
   TEMPLATE INFO
===================================================== */

.template-info {
    display: grid;
    grid-template-columns: auto 45px 1fr;
    align-items: start;
    gap: 12px;
    margin-top: 13px;
}

.template-number {
    font-size: 10px;
    color: #bdbdbd;
}

.template-line {
    width: 45px;
    height: 1px;
    background: #777777;
    margin-top: 6px;
}

.template-info h3 {
    font-size: 17px;
    font-weight: 500;
}

.template-info p {
    margin-top: 5px;
    color: #777777;
    font-size: 11px;
}


/* =====================================================
   MELINARUBY BACKGROUND
===================================================== */

.preview-melina {
    background: linear-gradient( 90deg, #070707 0%, #171717 50%, #101010 100% );
}

    .preview-melina::before {
        content: "";
        position: absolute;
        right: -20px;
        top: 0;
        width: 48%;
        height: 100%;
        background: repeating-linear-gradient( 90deg, #181818 0px, #181818 9px, #0d0d0d 10px, #0d0d0d 17px );
        opacity: 0.7;
    }


/* =====================================================
   YKS BACKGROUND
===================================================== */

.preview-yks {
    background: radial-gradient( circle at 80% 60%, #444 0, #222 18%, #111 50%, #090909 100% );
}

    .preview-yks::before {
        content: "";
        position: absolute;
        right: 45px;
        bottom: 0;
        width: 130px;
        height: 105px;
        background: #191919;
        transform: skew(-10deg);
        box-shadow: 0 0 35px rgba(255, 255, 255, 0.08);
    }

.desk-clock {
    position: absolute;
    z-index: 3;
    right: 105px;
    bottom: 42px;
    color: #888;
    font-size: 18px;
    line-height: 0.75;
    text-align: center;
}

    .desk-clock small {
        font-size: 12px;
    }

.desk-lamp {
    position: absolute;
    right: 28px;
    top: 70px;
    width: 30px;
    height: 85px;
    border-left: 2px solid #555;
    transform: rotate(-18deg);
}


/* =====================================================
   NOVA
===================================================== */

.preview-nova {
    background: radial-gradient( circle at 80% 80%, #303030, #111 42%, #080808 80% );
}

.mountain {
    position: absolute;
    z-index: 2;
    right: -20px;
    bottom: -45px;
    width: 70%;
    height: 65%;
    background: linear-gradient( 145deg, transparent 0 25%, #222 26% 40%, #101010 41% 100% );
    clip-path: polygon( 0 100%, 35% 30%, 50% 65%, 70% 10%, 100% 100% );
}


/* =====================================================
   LUMI
===================================================== */

.preview-lumi {
    background: linear-gradient( 120deg, #141414, #282828 );
}

.lumi-table {
    position: absolute;
    right: 35px;
    bottom: 25px;
    width: 55%;
    height: 7px;
    background: #292929;
    box-shadow: 0 7px 0 #151515;
}

.lumi-lamp {
    position: absolute;
    right: 120px;
    top: 55px;
    width: 2px;
    height: 110px;
    background: #555;
}

    .lumi-lamp::after {
        content: "";
        position: absolute;
        top: 95px;
        left: -13px;
        width: 30px;
        height: 15px;
        background: #555;
        border-radius: 50%;
    }


/* =====================================================
   CONNECT
===================================================== */

.preview-connect {
    background: radial-gradient( circle at 50% 60%, #414141, #181818 40%, #080808 85% );
}

.people {
    position: absolute;
    z-index: 2;
    left: 35%;
    bottom: -25px;
    width: 35%;
    height: 115px;
    background: radial-gradient( circle at 20% 20%, #444 0 18px, transparent 19px ), radial-gradient( circle at 50% 10%, #555 0 21px, transparent 22px ), radial-gradient( circle at 80% 25%, #333 0 18px, transparent 19px );
}


/* =====================================================
   BIZPRO
===================================================== */

.preview-bizpro {
    background: linear-gradient( 130deg, #080808, #222 );
}

.building {
    position: absolute;
    z-index: 2;
    right: -30px;
    bottom: -40px;
    width: 52%;
    height: 90%;
    transform: skew(-13deg);
    background: repeating-linear-gradient( 90deg, #2b2b2b 0, #2b2b2b 3px, #141414 4px, #141414 28px );
    border-left: 1px solid #555;
}


/* =====================================================
   DARK SECTION
===================================================== */

.dark-section {
    background: #0d0d0d;
    padding: 150px 8vw;
}

    .dark-section h2 {
        margin-top: 25px;
        font-size: clamp(65px, 9vw, 145px);
        line-height: 0.82;
        letter-spacing: -6px;
    }

    .dark-section p {
        max-width: 430px;
        margin-top: 55px;
        color: #888;
        font-size: 15px;
        line-height: 1.7;
    }

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 35px;
    padding: 15px 22px;
    border: 1px solid #555;
    color: white;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1px;
    transition: background 0.25s ease, color 0.25s ease;
}

    .outline-button:hover {
        background: white;
        color: black;
    }


/* =====================================================
   ABOUT
===================================================== */

.about {
    padding: 150px 8vw;
    background: #191919;
}

    .about h2 {
        margin-top: 25px;
        font-size: clamp(65px, 9vw, 145px);
        line-height: 0.82;
        letter-spacing: -6px;
    }

        .about h2 span {
            color: #555;
        }

    .about p {
        max-width: 500px;
        margin-top: 55px;
        color: #999;
        font-size: 16px;
        line-height: 1.7;
    }


/* =====================================================
   CONTACT
===================================================== */

.contact {
    padding: 150px 8vw;
    background: #111111;
}

    .contact h2 {
        margin-top: 25px;
        font-size: clamp(65px, 9vw, 145px);
        line-height: 0.82;
        letter-spacing: -6px;
    }

    .contact p {
        max-width: 420px;
        margin-top: 55px;
        color: #999;
        line-height: 1.7;
    }

.contact-button {
    display: inline-flex;
    gap: 25px;
    margin-top: 35px;
    padding: 17px 24px;
    background: #eeeeee;
    color: #111;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 30px 4vw;
    border-top: 1px solid rgba(255, 255, 255, 0.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;
    }


/* =====================================================
   LIGHT MODE
===================================================== */

body.light-mode {
    background: #bdbdbd;
    color: #111;
}

    body.light-mode .nav-box {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(0, 0, 0, 0.18);
    }

        body.light-mode .nav-box a {
            color: #111;
        }

    body.light-mode .logo {
        color: #111;
    }


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 150px;
    }

        .hero h1 {
            white-space: normal;
        }

    .hero-middle {
        display: none;
    }

    .hero-right {
        display: none;
    }

    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .navbar {
        padding: 20px 22px;
    }

    .logo {
        font-size: 23px;
    }

    .nav-box {
        gap: 12px;
        padding: 10px;
    }

        .nav-box a {
            display: none;
        }

    .nav-line {
        display: none;
    }

    .hero {
        padding: 130px 22px 60px;
        min-height: 520px;
    }

        .hero h1 {
            font-size: 17vw;
            letter-spacing: -3px;
        }

    .templates {
        padding: 40px 22px 80px;
    }

    .templates-header {
        align-items: flex-end;
    }

    .all-templates {
        display: none;
    }

    .template-grid {
        grid-template-columns: 1fr;
        row-gap: 45px;
    }

    .template-preview {
        height: 240px;
    }

    .dark-section,
    .about,
    .contact {
        padding: 100px 22px;
    }

        .dark-section h2,
        .about h2,
        .contact h2 {
            font-size: 18vw;
            letter-spacing: -4px;
        }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* =====================================================
   MELINARUBY GERÇEK ÖNİZLEME
===================================================== */

.template-site-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}


/* Mouse üzerine gelince görsel hafif büyüsün */

.template-preview:hover .template-site-image {
    transform: scale(1.035);
}


/* Hover karartması */

.template-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.template-preview:hover .template-image-overlay {
    background: rgba(0, 0, 0, 0.50);
}


/* Eski otomatik overlay'i kapat */

.template-preview::after {
    display: none;
}


/* ŞABLONU KEŞFET */

.template-preview .discover {
    z-index: 10;
}