﻿body {
    min-height: 100vh;
    background:
    /* Sol tarafta bordo glow */
    radial-gradient( 700px 500px at 25% 55%, rgba(90, 30, 40, 0.45), rgba(0, 0, 0, 0) 65% ),
    /* Sağ üst çok hafif ışık */
    radial-gradient( 600px 400px at 80% 25%, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0) 60% ),
    /* Soldan sağa koyulaşan ana zemin */
    linear-gradient( 90deg, #1b0f14 0%, #140c10 45%, #090609 100% );
    background-size: 140% 140%;
    background-attachment: fixed;
    animation: bgDrift 32s ease-in-out infinite;
    color: #f2f2f2;
}
html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


@keyframes bgDrift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 48%;
    }

    100% {
        background-position: 0% 50%;
    }
}



/*BANNER ALANI*/
.hero-carousel {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    width: 100%;
    max-width: none;
}


.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

    .hero-slide.active {
        opacity: 1;
        z-index: 1;
    }

/* Arka plan */
.hero-bg {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    will-change: transform;
    transition: transform .18s ease-out;
}

picture.hero-bg {
    transform: none;
    transform-origin: right bottom;
    will-change: transform;
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: right bottom;
    }

/* Overlay */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 271deg, rgb(15 8 10 / 34%), rgb(15 8 10 / 18%), rgba(15, 8, 10, 0.9));
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    background: #090609;
}

.hero-slide--workplace-overlay::after {
    background:
        linear-gradient(271deg, rgb(15 8 10 / 34%), rgb(15 8 10 / 18%), rgba(15, 8, 10, .9)),
        linear-gradient(89deg, rgba(15, 8, 10, .34), rgba(15, 8, 10, .18), rgba(15, 8, 10, .9));
}

/* İçerik */
.hero-content {
    position: relative;
    z-index: 2;
  
    padding: 0 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 1200px; /* yazı çok dağılmasın */
    margin-left: 8vw;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: #ffb3c1;
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 600;
}

    .hero-content h1 strong {
        color: #aa383d;
        font-weight: 700;
    }

.hero-content p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: #d8cfd2;
}

.hero-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #b1123c, #7a0d28);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(177,18,60,0.45);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .hero-cta:hover,
    .hero-cta:focus,
    .hero-cta:focus-visible {
        background: linear-gradient(135deg, #d21f50, #941337);
        color: #fff;
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(210,31,80,.55);
    }
@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 420px;
    }

    .hero-content {
        padding: 0 24px;
        top: calc(50% + 36px);
    }

        .hero-content h1 {
            font-size: 36px;
        }

        .hero-content p {
            font-size: 16px;
        }

    .hero-cta {
        margin-top: 15px;
    }

    .hero-bg {
        background-position: right bottom;
    }

        .hero-bg img {
            object-position: right bottom;
        }

    .hero-video {
        object-position: center 25%;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .hero-bg--banner3 {
        background-position: center center;
    }
}


/*BANNER ALANI BİTİŞ*/

/*KARTLI ALAN*/



.services-grid {
    max-width: 1200px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}


.service-card {
    position: relative;
    background: #f7f7f7;
    padding: 36px 28px;
    min-height: 220px;
    border: 1px solid #e3e3e3;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, opacity 0.35s ease;
}
.service-card {
    background: rgba(255, 255, 255, 0.06); /* transparan */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
}

/* Sonsuz mobil slider için oluşturulan kopyalar masaüstünde gösterilmez. */
.service-card-clone {
    display: none;
}

 
    .service-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
        transform: translateY(100%);
        transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
        z-index: 0;
    }

    .service-card h3,
    .service-card p {
        position: relative;
        z-index: 2;
        transition: color 0.35s ease;
    }

    .service-card h3 {
        margin: 0 0 12px;
        font-size: 18px;
        font-weight: 600;
        color: #f2e9ec;
    }

    .service-card p {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        color: #cfc2c7;
    }


    .service-card .accent {
        position: absolute;
        left: 0;
        top: 20%;
        width: 3px;
        height: 60%;
        background: #7d0000;
        transform: scaleY(0);
        transition: transform 0.35s ease;
        z-index: 3;
    }


.services-grid:has(.service-card:hover)
.service-card:not(:hover) {
    opacity: 0.55;
    transform: scale(0.97);
}


.service-card:hover {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

    .service-card:hover::before {
        transform: translateY(0);
    }

    .service-card:hover h3,
    .service-card:hover p {
        color: #fff;
    }

    .service-card:hover .accent {
        transform: scaleY(1);
    }

.services-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

    .services-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

        .services-dots span.active {
            background: #c9184a; /* bordo tema */
            transform: scale(1.3);
        }
        .services-dots span.active {
            box-shadow: 0 0 8px rgba(201, 24, 74, 0.6);
        }


  

@media (max-width: 768px) {
    .services-grid:has(.service-card:hover)
    .service-card:not(:hover) {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    .service-card-clone {
        display: block;
    }

    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .service-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    
        margin-left: 6%;
        margin-right: 6%;
    }

    
    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .services-dots {
        display: flex;
    }
}

/*KARTLI ALAN BİTİS*/

/********************************************************************/

/*GORSELLI KART ALANI BASLANGIC*/

.team-section {
    padding: 120px 0;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, rgba(120,40,40,.35), transparent 45%), linear-gradient(180deg, #0b0607, #12090b 70%, #080405);
    margin-top: 50px;
    margin-bottom: 50px;
}

    .team-section h2 {
        font-size: 44px;
        margin-bottom: 10px;
    }

    .team-section .subtitle {
        color: #b9aeb0;
        margin-bottom: 70px;
    }

/* GRID / SLIDER ORTAK */

.team-wrapper {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
}

    /* Scrollbar gizle */
    .team-wrapper::-webkit-scrollbar {
        display: none;
    }



/* KART */
.team-card {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 22px;
    text-align: left;
    backdrop-filter: blur(8px);
    scroll-snap-align: center;
    flex-shrink: 0;
    transition: transform .35s ease, box-shadow .35s ease;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0,0,0,.6);
    }

/* GÖRSEL */
.img-wrap {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

    .img-wrap img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        filter: grayscale(100%);
        transition: filter .5s ease, transform .5s ease;
    }

/* HOVER S/B → RENK */
.team-card:hover .img-wrap img {
    filter: grayscale(0%);
    transform: scale(1.05);
}


/* METİN */
.team-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.team-card span {
    color: #c8454a;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 14px;
    color: #bfb3b5;
}

/* DOTS */
.team-dots {
    display: flex;
    margin-top: 30px;
    justify-content: center;
    gap: 10px;
}


    .team-dots span {
        width: 10px;
        height: 10px;
        background: #5c2b2e;
        border-radius: 50%;
        cursor: pointer;
    }

        .team-dots span.active {
            background: #c8454a;
        }

@media (min-width: 1200px) {
    .team-card {
        width: calc((100% - 84px) / 4);
    }
    .team-dots {
        display:none;
    }
}

/* TABLET */
@media (max-width: 1199px) and (min-width: 992px) {
    .team-card {
        width: calc((100% - 56px) / 3);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .team-card {
        box-sizing: border-box;
        flex: 0 0 calc((100% - 28px) / 2);
    }
}

@media (max-width: 767px) {
    .team-section {
        padding: 80px 0;
        overflow: hidden;
    }

    .team-section h2 {
        padding: 0 20px;
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.15;
    }

    .team-section .subtitle {
        max-width: 520px;
        margin: 0 auto 42px;
        padding: 0 24px;
        font-size: 15px;
        line-height: 1.6;
    }

    .team-wrapper {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 20px;
    }

    .team-card {
        box-sizing: border-box;
        flex: 0 0 calc(100% - 40px);
        min-width: 0;
        padding: 18px;
        scroll-snap-align: center;
    }

    .team-card .img-wrap img {
        height: clamp(210px, 62vw, 250px);
    }

    .team-card h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .team-card p {
        line-height: 1.55;
    }

    .team-dots {
        display: flex;
    }
}
 /*GORSELLI KART ALANI BİTİS*/

 /***************************************************************/
