﻿.hero-area {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Arka plan resimlerinin olduğu alan */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: bgSlide 16s infinite alternate;
    filter: brightness(0.9); /* Arka planı koyulaştırma */
    z-index: 1;
}

    .hero-bg::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.7) 100%);
    }

/* Ön plandaki içerik */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    background: rgba(0, 0, 0, 0.3); /* Yarı transparan arkaplan */
    padding: 30px;
    border-radius: 20px;
    max-width: 1000px; /* Metin kutusunun genişliği */
    z-index: 2;
}

    /* Başlık */
    .hero-content h2 {
        font-size: 54px;
        font-weight: bold;
        margin-bottom: 10px;
        line-height: 76px !important;
        color: white;
    }

    /* Açıklama */
    .hero-content p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

/* Buton Stili */
.btn-dark {
    display: inline-block;
    padding: 12px 24px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .btn-dark:hover {
        background: #222; /* Hafif renk değişimi */
    }

/* CSS Animasyonu */
@keyframes bgSlide {
    0% {
        background-image: url('/theme/assets/img/homeimages/slider.webp');
    }

    33% {
        background-image: url('/theme/assets/img/homeimages/slider2.webp');
    }

    66% {
        background-image: url('/theme/assets/img/homeimages/slider3.webp');
    }

    100% {
        background-image: url('/theme/assets/img/homeimages/slider.webp');
    }
}


.ht-title h2 {
    font-size: 310%;
}

.ht-qoutes p {
    max-width: 410px;
}

.scroll-down {
    margin-top: 30%;
}

.hero-text {
    margin-top: 35%;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #ffffff;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px
}

.owl-carousel .owl-dots .owl-dot.active span, .owl-carousel .owl-dots .owl-dot:hover span {
    background: #869791;
}

#hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero1-slider .item {
    height: 100vh;
}

.hero-slider,
.hero-slider2,
.hero-slider3 {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.owl-carousel .owl-stage-outer {
    background-color: black;
}

.owl-carousel .owl-stage {
    transition: transform 0.8s ease-in-out;
}

.owl-carousel .owl-dots {
    display: none !important;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.ht-title h2 {
    font-size: 4rem;
    margin-bottom: 0px;
}

.ht-qoutes p {
    font-size: 5.2rem;
    line-height: 1.5;
    max-width: 500px;
}

#popular-travel .stat-img img {
    max-width: 45%;
    height: 27%;
}

/* Modal arka plan */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Hafif karartma */
    justify-content: center;
    align-items: center;
}

/* Modal içeriği tamamen transparan */
.modal-content {
    background: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70vw; /* Küçük ekranlarda %70 genişlik */
    max-width: 720px; /* Maksimum genişlik sınırı */
}

/* Çıkış butonu videonun sağ üstüne sabit */
.close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background-color: #292929;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

    /* Çıkış butonu hover efekti */
    .close:hover {
        background-color: #292929;
        transform: scale(1.1);
    }

/* Responsive video boyutu */
iframe {
    width: 70vw;
    height: 39vw;
    max-width: 720px;
    max-height: 405px;
}

#popular-travel .item {
    border: 2px solid transparent; 
    border-radius: 15px; 
    overflow: hidden;
    transition: transform 0.3s ease-in-out, border 0.3s ease-in-out; 
    padding: 10px;
}

    #popular-travel .item:hover {
        transform: scale(1.05);
        border: 2px solid #3b3c3c;
    }



.section-title-v2 {
    position: relative;
    z-index: 10; /* Butonun üzerine herhangi bir öğe gelmemesi için */
}

    .section-title-v2 a {
        position: relative;
        z-index: 20; /* Butonun tıklanabilir olması için yüksek bir z-index */
    }

/* Responsive */
@media screen and (max-width: 1280px) {
    .hero-content {
        max-width: 80%;
        text-align: center;
        padding: 20px;
        margin-top: 7%;
    }

        .hero-content h2 {
            font-size: 48px;
            line-height: 56px !important;
        }

        .hero-content p {
            font-size: 16px;
        }
}

@media screen and (max-width: 1024px) {
    .hero-content {
        max-width: 98%;
        margin-top: 7%;
        width: 93%;
    }

        .hero-content h2 {
            font-size: 48px;
            line-height: 56px !important;
        }

        .hero-content p {
            font-size: 16px;
        }

    img {
        max-width: 85% !important;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        max-width: 98%;
        width: 93%;
    }

        .hero-content h2 {
            font-size: 36px;
            line-height: 46px !important;
        }

        .hero-content p {
            font-size: 14px;
        }

    .btn-dark {
        padding: 10px 20px;
        font-size: 14px;
    }

    .about-me-img img {
        margin-left: 8% !important;
    }

    #img2 {
        margin-left: 1% !important;
    }

    #img3 {
        margin-left: 5% !important;
    }
}

@media screen and (max-width: 480px) {
    .hero-content {
        max-width: 98%;
        margin-top: 23%;
        width: 93%;
    }

        .hero-content h2 {
            font-size: 28px;
            line-height: 36px !important;
        }

        .hero-content p {
            font-size: 14px;
        }

    .btn-dark {
        padding: 8px 16px;
        font-size: 12px;
    }
}