/* Hero Section Styles - Original Template */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap");

/* Outer wrapper around hero to control band/padding */
.hero-wrap { 
    background: transparent !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    margin-top: 80px !important; /* Navbar yüksekliği + padding için */
    width: 100vw;
    height: 65vh; /* 70vh'den 65vh'ye düşürdüm */
    position: relative;
    overflow: hidden;
}

/* Hero Main Container */
.hero-main {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px;
}

/* Hero Articles */
article {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: var(--i);
    opacity: 1;
}

/* Kapsayıcıların yükseklik/konumlandırma düzeni */
.hero-main,
.hero-main article {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Show first slide by default */
#hero-1 {
    z-index: 5;
    opacity: 1;
}

/* Hero Info */
.hero-info {
    position: absolute;
    top: 50%;
    left: 3%; /* Sol kenardan daha az boşluk */
    transform: translateY(-50%);
    z-index: 8;
    max-width: min(800px, 85%); /* Genişliği artırdık */
    width: auto;
}

/* Initial clip-path states for animations */
#hero-1 h2, #hero-1 h1, #hero-1 h3 {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

#hero-2 h2, #hero-3 h2, #hero-4 h2, #hero-5 h2,
#hero-2 h1, #hero-3 h1, #hero-4 h1, #hero-5 h1,
#hero-2 h3, #hero-3 h3, #hero-4 h3, #hero-5 h3 {
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.hero-info h2 {
    font-size: clamp(1.5rem, 7vw, 4rem); /* Boyutu küçülttük */
    line-height: clamp(1.5rem, 7vw, 4rem);
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

.hero-info h1 {
    color: var(--white, #f5f5f5);
    font-size: clamp(2.8rem, 9vw, 6rem); /* Boyutu küçülttük */
    line-height: clamp(2.8rem, 9vw, 6rem);
    text-transform: uppercase;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    margin: 0;
}

.hero-info h3 {
    color: var(--white, #f5f5f5);
    font-size: 1.3rem; /* Boyutu küçülttük */
    font-weight: 400;
    margin-top: 1.5em; /* Margin'i azalttık */
    opacity: 0.9;
}

/* Text Stroke Effect */
@supports (-webkit-text-stroke: 3px #d4af37) {
    .hero-info h2 {
        color: transparent;
        -webkit-text-stroke: 3px #d4af37;
        text-shadow: none;
    }
}

/* Hero Images */
/* HERO IMAGE: tek ve nihai kural — çakışmaları ezer */
.hero-image {
    position: absolute !important;
    inset: 0 !important;          /* top/right/bottom/left = 0 */
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transform: scaleX(1.1);        /* istersen kaldır */
    will-change: transform, clip-path, opacity;
    margin: 0 !important;
    border-radius: 15px;
}

/* article kapsayıcısı absolute görseli tutabilsin diye */
.hero-main article {
    position: absolute;
    inset: 0;
}



.hi-1 {
    background-image: url("../Assets/Hero-Arts/peri-bacası.jpg");
}

.hi-2 {
    background-image: url("../Assets/Hero-Arts/Kapadokya-balon-turu-scaled.jpeg");
}

.hi-3 {
    background-image: url("../Assets/Hero-Arts/Derinkuyu-Yeralti-Sehri_nin-Tarihcesi.jpg");
}

.hi-4 {
    background-image: url("../Assets/Hero-Arts/uchisar.jpg");
}

.hi-5 {
    background-image: url("../Assets/Hero-Arts/ihlara-vadisi-7-scaled.jpg");
}

/* Hero Buttons */
.hero-buttons { 
    position: absolute; 
    bottom: 6%; 
    right: 5%; 
    left: auto; 
    z-index: 10; 
    display: flex; 
    gap: 0.8rem; 
    flex-wrap: nowrap; 
    justify-content: flex-end; 
}

.hero-buttons-mobile { 
    display: none; 
    gap: 0.6rem; 
    justify-content: center; 
    padding: 0.6rem 4% 0.8rem; 
    align-items: center; 
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 10px;
    padding: 12px 18px;
    transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
    will-change: transform, box-shadow, opacity;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.cta-btn:hover {
    /* JS hover tween kaldırıldığı için tek kanaldan CSS hover kullanıyoruz */
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.cta-btn.secondary:hover {
    background: white;
    color: #333;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-wrap {
        height: 38vh; /* 40vh'den 38vh'ye düşürdüm */
        margin-top: 70px !important; /* Mobile navbar için */
        padding: 24px 16px;
    }
    
    .hero-main { 
        height: 100%;
        border-radius: 15px; 
    }
    
    .hero-info { 
        left: 3%; /* Sol kenardan daha az boşluk */
        right: auto; 
        top: 50%;
        transform: translateY(-50%);
        text-align: left; 
        max-width: min(700px, 90%); /* Mobile için de genişlik artırdık */
    }
    
    .hero-info h1,
    .hero-info h2,
    .hero-info h3 {
        transform: translateY(10px);
    }
    
    .hero-buttons { display: none; }
    .hero-buttons-mobile { 
        display: flex !important; 
        flex-wrap: nowrap; 
        width: 100%; 
        justify-content: center; 
        gap: 0.5rem; 
        position: absolute;
        bottom: 2%;
        left: 0;
        right: 0;
        z-index: 10;
    }
    
    .hero-buttons-mobile .cta-btn.secondary { 
        background: transparent; 
        color: #333; 
        border: 1px solid #333; 
    }
    
    .hero-buttons-mobile .cta-btn.secondary:hover { 
        background: #333; 
        color: #fff; 
    }
    
    .hero-info h2 {
        font-size: clamp(1.2rem, 5vw, 2.5rem);
    }
    
    .hero-info h1 {
        font-size: clamp(1.8rem, 7vw, 4rem);
    }
    
    .hero-info h3 {
        font-size: 1rem;
        margin-top: 1em;
    }
    
    .cta-btn {
        padding: 12px 16px;
    }
}

@media screen and (max-width: 480px) {
    .hero-wrap {
        height: 32vh; /* 35vh'den 32vh'ye düşürdüm */
        margin-top: 60px !important; /* Küçük mobile navbar için */
        padding: 20px 12px;
    }
    
    .hero-main { 
        height: 100%;
        border-radius: 10px; 
    }
    
    .hero-info { 
        left: 3%; /* Sol kenardan daha az boşluk */
        right: auto; 
        top: 50%;
        transform: translateY(-50%);
        text-align: left; 
        max-width: min(600px, 95%); /* Küçük ekranlar için genişlik */
    }
    
    .hero-buttons { display: none; }
    .hero-buttons-mobile { 
        display: flex !important; 
        gap: 0.4rem; 
        justify-content: center; 
        padding: 0.45rem 4% 0.75rem; 
        flex-wrap: nowrap; 
        position: absolute;
        bottom: 2%;
        left: 0;
        right: 0;
        z-index: 10;
    }
    
    .hero-buttons-mobile .cta-btn.secondary { 
        background: transparent; 
        color: #333; 
        border: 1px solid #333; 
    }
    
    .hero-buttons-mobile .cta-btn.secondary:hover { 
        background: #333; 
        color: #fff; 
    }
    
    .hero-info h2 {
        font-size: clamp(1rem, 4vw, 2rem);
    }
    
    .hero-info h1 {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }
    
    .hero-info h3 {
        font-size: 0.9rem;
    }
    
    .hero-buttons-mobile .cta-btn { 
        padding: 0.3rem 0.6rem; 
        font-size: 0.6rem; 
        letter-spacing: 0.3px; 
        border-width: 1px; 
        white-space: nowrap; 
    }
}

/* Categories carousel spacing - Hero'ya tam yakın */
.categories-carousel {
    margin-top: -10px !important; /* Hero ile kategoriler arasında negatif margin */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Hareketi azalt tercihine saygı */
@media (prefers-reduced-motion: reduce) {
    .hero-wrap * {
        animation: none !important;
        transition: none !important;
    }
}

/* İsteğe bağlı: clip-path animasyonu varsa ekle */
.hero-image,
.hero-info h1,
.hero-info h2,
.hero-info h3 {
    will-change: clip-path, transform, opacity;
}

/* Hero Navigation Arrows */
.hero-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 15;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    opacity: 0.7;
}

.hero-arrow:hover {
    background: rgba(212, 175, 55, 0.8);
    border-color: #d4af37;
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.hero-arrow:active {
    transform: scale(0.95);
}

/* Hero Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 0.8rem;
    pointer-events: none;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hero-indicator.active {
    background: #d4af37;
    border-color: #d4af37;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.hero-indicator:hover {
    background: rgba(212, 175, 55, 0.7);
    border-color: #d4af37;
    transform: scale(1.1);
}

/* Mobile Responsive for Arrows and Indicators */
@media screen and (max-width: 768px) {
    .hero-nav-arrows {
        padding: 0 1rem;
    }
    
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-indicators {
        bottom: 12%;
        gap: 0.6rem;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero-nav-arrows {
        padding: 0 0.5rem;
    }
    
    .hero-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hero-indicators {
        bottom: 10%;
        gap: 0.5rem;
    }
    
    .hero-indicator {
        width: 8px;
        height: 8px;
    }
}