﻿.carousel-header .carousel-inner .carousel-item .carousel-caption {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
}

.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO TAM EKRAN */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none; /* kullanıcı dokunamasın */
}

/* KARARTMA */
.video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
    z-index: 1;
}

/* YAZI ORTADA */
.video-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
/* HERO TEXT ANIMATION */

.hero-anim {
    opacity: 0;
    transform: translateY(40px);
}

    /* Animasyon tetiklenince */
    .hero-anim.active {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.8s ease;
    }

/* Delay'ler */
.hero-anim-1.active {
    transition-delay: 0.2s;
}

.hero-anim-2.active {
    transition-delay: 0.4s;
}

.hero-anim-3.active {
    transition-delay: 0.6s;
}

.hero-anim-4.active {
    transition-delay: 0.8s;
}
/* Videoya hafif canlılık */
.hero-video-bg {
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* İnce çizgi geçiş efekti */
.hero-line {
    position: absolute;
    top: 0;
    left: -20%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    z-index: 2;
    transform: rotate(18deg);
    animation: lineMove 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lineMove {
    0% {
        left: -20%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        left: 120%;
        opacity: 0.7;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

/* Hafif ışık parlaması */
.hero-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient( 110deg, transparent, rgba(255,255,255,0.10), transparent );
    z-index: 2;
    animation: shineMove 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shineMove {
    0% {
        left: -60%;
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    60% {
        left: 120%;
        opacity: 0;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

/******************* its video **************/
.its-video-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #082d1f;
}

.its-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.05);
}




.its-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 110px;
}

.its-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    margin-bottom: 24px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    animation: heroFadeUp .8s ease forwards;
}

.its-hero-title {
    color: #fff;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    text-shadow: 0 18px 45px rgba(0,0,0,.35);
    animation: heroFadeUp .9s ease .15s forwards;
    opacity: 0;
}

    .its-hero-title span {
        color: #79e6ad;
    }

.its-hero-text {
    max-width: 680px;
    color: rgba(255,255,255,.88);
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 34px;
    animation: heroFadeUp .9s ease .3s forwards;
    opacity: 0;
}

.its-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 42px;
    animation: heroFadeUp .9s ease .45s forwards;
    opacity: 0;
}

.its-btn-primary {
    background: linear-gradient(135deg, #1db875, #0c8f58);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 15px 30px;
    font-weight: 700;
    box-shadow: 0 18px 35px rgba(29,184,117,.28);
}

    .its-btn-primary:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 24px 45px rgba(29,184,117,.38);
    }

.its-btn-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    padding: 15px 30px;
    font-weight: 700;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

    .its-btn-outline:hover {
        color: #0b3d2a;
        background: #fff;
    }

.its-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: heroFadeUp .9s ease .6s forwards;
    opacity: 0;
}

    .its-hero-stats div {
        min-width: 145px;
        padding: 18px 20px;
        border-radius: 18px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.18);
        backdrop-filter: blur(12px);
    }

    .its-hero-stats strong {
        display: block;
        color: #fff;
        font-size: 28px;
        font-weight: 800;
        line-height: 1;
    }

    .its-hero-stats span {
        display: block;
        margin-top: 8px;
        color: rgba(255,255,255,.78);
        font-size: 13px;
    }

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .its-hero-content {
        padding-top: 90px;
    }

  
    .its-hero-title {
        letter-spacing: -1px;
    }

    .its-hero-text {
        font-size: 17px;
    }
}

@media (max-width: 575px) {
    .its-video-hero {
        min-height: 92vh;
    }

    .its-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .its-hero-stats div {
        flex: 1 1 100%;
    }
}



/*****************  its video ***************/
/* About animations */
.about-anim {
    opacity: 0;
    transition: all .9s ease;
}

    .about-anim.anim-left {
        transform: translateX(-70px);
    }

    .about-anim.anim-right {
        transform: translateX(70px);
    }

    .about-anim.show {
        opacity: 1;
        transform: translateX(0);
    }

.about-stagger {
    opacity: 0;
    transform: translateY(28px);
    transition: all .7s ease;
}

.about-anim.show .about-stagger {
    opacity: 1;
    transform: translateY(0);
}

    .about-anim.show .about-stagger:nth-child(1) {
        transition-delay: .10s;
    }

    .about-anim.show .about-stagger:nth-child(2) {
        transition-delay: .20s;
    }

    .about-anim.show .about-stagger:nth-child(3) {
        transition-delay: .30s;
    }

    .about-anim.show .about-stagger:nth-child(4) {
        transition-delay: .40s;
    }

    .about-anim.show .about-stagger:nth-child(5) {
        transition-delay: .50s;
    }

/* Image hover / floating effect */
.about-image-frame {
    position: relative;
    overflow: hidden;
    transition: transform .45s ease;
}

    .about-image-frame:hover {
        transform: translateY(-8px);
    }

    .about-image-frame img {
        transition: transform 1.2s ease;
    }

    .about-image-frame:hover img {
        transform: scale(1.06);
    }

/* Feature items */
.about-feature {
    opacity: 0;
    transform: translateY(18px);
    transition: all .6s ease;
}

.about-anim.show .about-feature {
    opacity: 1;
    transform: translateY(0);
}

    .about-anim.show .about-feature:nth-child(1) {
        transition-delay: .55s;
    }

    .about-anim.show .about-feature:nth-child(2) {
        transition-delay: .65s;
    }

    .about-anim.show .about-feature:nth-child(3) {
        transition-delay: .75s;
    }

    .about-anim.show .about-feature:nth-child(4) {
        transition-delay: .85s;
    }

    .about-anim.show .about-feature:nth-child(5) {
        transition-delay: .95s;
    }

    .about-anim.show .about-feature:nth-child(6) {
        transition-delay: 1.05s;
    }

.about-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

    /* Yeşil accent frame */
    .about-image-frame::before {
        content: "";
        position: absolute;
        top: -15px;
        left: -15px;
        width: 100%;
        height: 100%;
        border: 2px solid #1F7A5C;
        border-radius: 16px;
        z-index: -1;
    }

    /* Hafif renk uyumu */
    .about-image-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(31,122,92,0.10), rgba(31,122,92,0.15) );
    }
/* SERVICES ICON FIX */
.service-icon i {
    color: #222 !important; /* siyah yerine soft koyu */
}

.service-content-inner:hover .service-icon i {
    color: #1F7A5C !important;
    transform: scale(1.1);
}

.service-content-inner {
    transition: all 0.4s ease;
    cursor: pointer;
}

    .service-content-inner:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    }

.service-content-inner {
    border: 1px solid rgba(0,0,0,0.08) !important;
}

.service-anim {
    opacity: 0;
    transform: translateY(45px);
    transition: all 0.7s ease;
}

    .service-anim.show {
        opacity: 1;
        transform: translateY(0);
    }
.contact i.fa {
    color: #222 !important;
}

.contact .bg-white:hover i.fa {
    color: #1F7A5C !important;
    transform: scale(1.1);
}

.contact i.fa {
    transition: all 0.3s ease;
}
/* CONTACT ANIMATIONS */

.contact-anim {
    opacity: 0;
    transition: all 0.8s ease;
}

    /* Soldan */
    .contact-anim.anim-left {
        transform: translateX(-60px);
    }

    /* Sağdan */
    .contact-anim.anim-right {
        transform: translateX(60px);
    }

    /* Aşağıdan */
    .contact-anim.anim-bottom {
        transform: translateY(60px);
    }

    /* Göründüğünde */
    .contact-anim.show {
        opacity: 1;
        transform: translate(0,0);
    }

/* SUBSCRIBE ANIMATION */

.subscribe-anim {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s ease;
}

    .subscribe-anim.show {
        opacity: 1;
        transform: translateY(0);
    }

/* iç elemanlar sırayla gelsin */
.sub-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.subscribe-anim.show .sub-item {
    opacity: 1;
    transform: translateY(0);
}

    .subscribe-anim.show .sub-item:nth-child(1) {
        transition-delay: .2s;
    }

    .subscribe-anim.show .sub-item:nth-child(2) {
        transition-delay: .4s;
    }

    .subscribe-anim.show .sub-item:nth-child(3) {
        transition-delay: .6s;
    }

    .subscribe-anim.show .sub-item:nth-child(4) {
        transition-delay: .8s;
    }

.subscribe input {
    transition: all 0.3s ease;
}

    .subscribe input:focus {
        box-shadow: 0 0 0 3px rgba(31,122,92,0.25);
        transform: scale(1.02);
    }

.subscribe button {
    transition: all 0.3s ease;
}

    .subscribe button:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* INDEX MOBILE HERO OVERFLOW FIX */
@media (max-width: 991.98px) {
    .video-hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-line,
    .hero-shine {
        display: none !important;
    }

    .video-caption {
        width: 100%;
        max-width: 100%;
        padding: 0 18px;
    }

        .video-caption h1 {
            font-size: 42px;
        }
}