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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

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


/* ========================================
   INTRO
======================================== */

.intro-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 999;
    transition: background 1.2s ease;
}

.intro-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(220px, 28vw, 420px);
    z-index: 1000;
}

.intro-logo img {
    display: block;
    width: 100%;
    height: auto;
}


/* ========================================
   NAVBAR
======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

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

    padding: 18px 30px;

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

    z-index: 100;

    background: transparent;

    opacity: 0;
}


/* Navbar içindeki kalıcı logo */

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 220px;

    opacity: 0;

    transition: opacity 0.25s ease;
}

.nav-logo img {
    display: block;
    width: 100%;
    height: auto;
}


/* Menü */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 36px;

    margin-left: auto;
}

.nav-menu a {
    color: #fff;

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

    white-space: nowrap;

    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.5;
}


/* ========================================
   HERO + 4 GÖRSELLİ ALAN
======================================== */

.hero-feature-wrapper {
    position: relative;

    height: 200vh;

    background: #000;
}


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

.hero {
    position: sticky;
    top: 0;

    width: 100%;
    height: 100vh;

    background-image: url("../assets/images/hero.webp");
    background-size: cover;
    background-position: center;

    opacity: 0;

    overflow: hidden;

    transition: opacity 1.2s ease;

    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.06)
    );
}

.hero-content {
    position: absolute;

    left: 30px;
    bottom: 40px;

    z-index: 2;

    opacity: 0;

    transform: translateY(30px);

    will-change: opacity, transform;
}

.hero-small {
    margin-bottom: 16px;

    font-size: 10px;

    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: clamp(50px, 7vw, 110px);

    line-height: 0.9;

    letter-spacing: -5px;

    font-weight: 400;
}


/* ========================================
   4 GÖRSELLİ GEÇİŞ
======================================== */

.feature-transition {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;

    padding:
        42vh
        30px
        85px;

    z-index: 5;

    background: transparent;
}


/* Hero → siyah geçiş */

.transition-darkness {
    position: absolute;

    top: -75vh;
    left: 0;

    width: 100%;
    height: calc(100% + 75vh);

    z-index: 1;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.03) 10%,
        rgba(0, 0, 0, 0.10) 23%,
        rgba(0, 0, 0, 0.25) 38%,
        rgba(0, 0, 0, 0.48) 55%,
        rgba(0, 0, 0, 0.72) 70%,
        rgba(0, 0, 0, 0.91) 86%,
        #000 100%
    );

    opacity: 0;
}


/* ========================================
   4 ANA GÖRSEL
======================================== */

.feature-grid {
    position: relative;

    z-index: 2;

    display: grid;

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

    gap: 18px;
}

.feature-card {
    min-width: 0;

    color: white;
}

.feature-image {
    width: 100%;

    aspect-ratio: 1 / 1.12;

    overflow: hidden;

    background: #111;
}

.feature-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: brightness(0.82);

    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s ease;
}

.feature-card:hover img {
    transform: scale(1.025);

    filter: brightness(1);
}

.feature-info {
    display: grid;

    grid-template-columns: 28px 1fr;

    padding-top: 13px;
}

.feature-info > span {
    font-size: 9px;

    opacity: 0.4;
}

.feature-info p {
    margin-bottom: 4px;

    font-size: 9px;

    opacity: 0.45;
}

.feature-info h3 {
    font-size: 15px;

    font-weight: 400;
}


/* ========================================
   ORTAK LABEL
======================================== */

.section-label {
    margin-bottom: 22px;

    font-size: 10px;

    letter-spacing: 2px;

    opacity: 0.5;
}


/* ========================================
   HAKKIMIZDA
======================================== */

.about-section {
    position: relative;

    padding:
        110px
        30px
        125px;

    display: grid;

    grid-template-columns:
        20% 80%;

    background: #000;

    color: white;

    z-index: 10;
}

.about-number {
    font-size: 10px;

    opacity: 0.45;
}

.about-content {
    max-width: 1050px;
}

.about-content h2 {
    max-width: 1000px;

    font-size: clamp(40px, 5vw, 76px);

    line-height: 1.02;

    letter-spacing: -3.5px;

    font-weight: 400;
}

.about-text {
    max-width: 650px;

    margin-top: 50px;
    margin-left: 25%;

    font-size: 15px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.68);
}


/* ========================================
   HİZMETLER
======================================== */

.services-section {
    position: relative;

    padding:
        110px
        30px
        120px;

    background: #f0eee8;

    color: #111;

    z-index: 10;
}

.services-heading {
    display: grid;

    grid-template-columns:
        20% 80%;

    margin-bottom: 65px;
}

.services-heading > span {
    font-size: 10px;

    opacity: 0.45;
}

.services-heading h2 {
    font-size: clamp(40px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -3px;

    font-weight: 400;
}


/* ========================================
   HİZMETLER GRID
======================================== */

.services-grid {
    display: grid;

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

    gap: 22px;
}


/* ========================================
   HİZMET KARTI
======================================== */

.service-card {
    display: block;

    color: white;

    text-decoration: none;
}

.service-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #181818;
}

.service-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: brightness(0.78);

    transition:
        transform 0.8s ease,
        filter 0.5s ease;
}

.service-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72),
        rgba(0, 0, 0, 0.08)
    );
}

.service-number {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 2;

    font-size: 10px;

    opacity: 0.65;
}

.service-card h3 {
    position: absolute;

    left: 16px;
    bottom: 16px;

    z-index: 2;

    font-size: 22px;

    font-weight: 400;

    letter-spacing: -1px;
}

.service-card:hover img {
    transform: scale(1.04);

    filter: brightness(0.95);
}


/* ========================================
   İLETİŞİM
======================================== */

.contact-section {
    position: relative;

    padding:
        110px
        30px
        35px;

    background: #0b0b0b;

    color: white;

    z-index: 10;
}


/* Üst alan */

.contact-top {
    display: grid;

    grid-template-columns:
        20% 80%;
}

.contact-number {
    font-size: 10px;

    opacity: 0.4;
}

.contact-title h2 {
    font-size: clamp(55px, 7vw, 105px);

    line-height: 0.92;

    letter-spacing: -5px;

    font-weight: 400;
}


/* Bilgi alanları */

.contact-details {
    width: 80%;

    margin-left: auto;
    margin-top: 90px;

    display: grid;

    grid-template-columns:
        1fr
        1.35fr
        1.4fr;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.22);
}

.contact-block {
    min-height: 175px;

    padding:
        25px
        25px
        25px
        0;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.16);
}

.contact-block + .contact-block {
    padding-left: 25px;
}

.contact-block:last-child {
    border-right: 0;
}

.contact-label {
    display: block;

    margin-bottom: 32px;

    font-size: 9px;

    letter-spacing: 1.8px;

    opacity: 0.4;
}

.contact-block a,
.contact-block p {
    font-size: clamp(14px, 1.2vw, 18px);

    line-height: 1.55;

    font-weight: 400;
}

.contact-block a {
    transition: opacity 0.3s ease;
}

.contact-block a:hover {
    opacity: 0.55;
}


/* Footer */

.contact-footer {
    margin-top: 85px;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.15);

    font-size: 9px;

    letter-spacing: 1.5px;

    opacity: 0.4;
}


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

@media (max-width: 1000px) {

    .hero-feature-wrapper {
        height: 220vh;
    }

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

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


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

@media (max-width: 700px) {

    html {
        scroll-padding-top: 70px;
    }


    /* ========================================
       INTRO + NAVBAR MOBILE
    ======================================== */

    .intro-logo {
        width: 180px;
    }

    .navbar {
        min-height: 66px;

        padding: 14px 20px;
    }

    .nav-logo {
        width: 145px;

        flex-shrink: 0;
    }

    .nav-menu {
        gap: 12px;

        margin-left: 18px;
    }

    .nav-menu a {
        font-size: 9px;
    }


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

    .hero-feature-wrapper {
        height: auto;
    }

    .hero {
        position: relative;

        height: 100svh;
        min-height: 600px;

        background-position: center;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 30px;
    }

    .hero-small {
        margin-bottom: 12px;

        font-size: 9px;
    }

    .hero-content h1 {
        font-size: clamp(46px, 15vw, 62px);

        line-height: 0.92;

        letter-spacing: -3px;
    }


    /* ========================================
       4 ANA GÖRSEL MOBILE
    ======================================== */

    .feature-transition {
        position: relative;

        padding:
            90px
            20px
            80px;

        background: #000;
    }

    .transition-darkness {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .feature-image {
        aspect-ratio: 1 / 1.05;
    }


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

    .about-section {
        grid-template-columns: 1fr;

        gap: 30px;

        padding:
            80px
            20px
            90px;
    }

    .about-content h2 {
        font-size: clamp(38px, 11vw, 48px);

        line-height: 1;

        letter-spacing: -2px;
    }

    .about-text {
        margin-left: 0;
        margin-top: 35px;

        font-size: 14px;
    }


    /* ========================================
       HİZMETLER MOBILE
    ======================================== */

    .services-section {
        padding:
            80px
            20px
            90px;
    }

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

        gap: 30px;

        margin-bottom: 45px;
    }

    .services-heading h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

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

        gap: 25px;
    }

    .service-image {
        aspect-ratio: 4 / 3;
    }

    .service-card h3 {
        font-size: 20px;
    }


    /* ========================================
       İLETİŞİM MOBILE
    ======================================== */

    .contact-section {
        padding:
            80px
            20px
            30px;
    }

    .contact-top {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-title h2 {
        font-size: clamp(46px, 14vw, 58px);

        line-height: 0.95;

        letter-spacing: -3px;
    }

    .contact-details {
        width: 100%;

        margin-left: 0;
        margin-top: 60px;

        grid-template-columns: 1fr;
    }

    .contact-block {
        min-height: auto;

        padding:
            28px
            0;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.16);
    }

    .contact-block + .contact-block {
        padding-left: 0;
    }

    .contact-block:last-child {
        border-bottom: 0;
    }

    .contact-label {
        margin-bottom: 16px;
    }

    .contact-footer {
        margin-top: 55px;

        gap: 20px;
    }
}


/* ========================================
   ÇOK DAR TELEFONLAR
======================================== */

@media (max-width: 420px) {

    .navbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-logo {
        width: 125px;
    }

    .nav-menu {
        gap: 9px;
        margin-left: 10px;
    }

    .nav-menu a {
        font-size: 8px;
    }

    .hero-content {
        left: 16px;
        right: 16px;
    }

    .feature-transition,
    .about-section,
    .services-section,
    .contact-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}