/* =====================================================
   HERO PREMIUM MODULE - Premium Platform Killer Level
   ===================================================== */

.hero-premium {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Dynamic Background System */
.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    /* JS transition kontrolü - CSS transition kaldırıldı */
}

.hero-background-slide.active {
    opacity: 1;
}

.hero-background-slide img,
.hero-background-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* FIX: Overlay'ler kaldırıldı - temiz görsel için */

@keyframes meshAnimation {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-20px, -20px) rotate(1deg) scale(1.1); }
    66% { transform: translate(20px, -10px) rotate(-1deg) scale(0.9); }
}

/* Content Container */
.hero-content-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 4rem;
    align-items: center;
}

/* Left Content */
.hero-left-content {
    color: var(--text-color);
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    /* REMOVED animation: float 3s ease-in-out infinite; */
    position: relative;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-badge-premium i {
    color: var(--warning-color);
    font-size: 1.2rem;
}

.hero-title-premium {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-highlight {
    background: var(--gradient-warning);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-premium {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 500px;
}

/* Animated Stats */
.hero-stats-premium {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item-premium {
    text-align: center;
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: both;
}

.stat-item-premium:nth-child(1) { animation-delay: 0.2s; }
.stat-item-premium:nth-child(2) { animation-delay: 0.4s; }
.stat-item-premium:nth-child(3) { animation-delay: 0.6s; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number-premium {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--warning-color);
    display: block;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label-premium {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Trust Features */
.hero-features-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.feature-item-premium:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item-premium i {
    color: var(--success-color);
}

/* Right Content - Search Widget */
.hero-right-content {
    animation: fadeInRight 1s ease-out;
    position: relative;
    z-index: 10;
    display: block; /* FIX: Widget görünsün */
    min-height: 200px; /* FIX: Minimum yükseklik */
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.floating-balloon {
    position: absolute;
    width: 80px;
    height: 100px;
    opacity: 0.1;
    animation: floatBalloon 20s ease-in-out infinite;
}

.floating-balloon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-balloon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-balloon:nth-child(3) {
    bottom: 30%;
    left: 5%;
    animation-delay: 10s;
}

@keyframes floatBalloon {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Live Counter */
.live-visitors {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    animation: slideInLeft 1s ease-out 1.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.live-dot {
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.live-text {
    color: white;
    font-size: 0.9rem;
}

.live-count {
    font-weight: 700;
    color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr 420px;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-left-content {
        max-width: 600px;
        margin: 0 auto 3rem;
    }
    
    .hero-stats-premium {
        justify-content: center;
    }
    
    .hero-features-premium {
        justify-content: center;
    }
    
    .hero-subtitle-premium {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =====================================================
   MOBILE HERO - GETYOURGUIDE/TRIPADVISOR STYLE
   Full screen image + search overlay + content below
   ===================================================== */

@media (max-width: 768px) {
    /* FIX: 100vw → 100% (scrollbar dahil etmemek için) */
    /* FIX: 100vh → max-height: 380px (içerik görünür olsun) */

    #heroSection {
        margin: 0;
        padding: 0;
        max-width: none;
        width: 100%;
    }

    .hero-premium {
        position: relative;
        width: 100%;
        min-height: 320px;
        max-height: 380px;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        display: block;
        overflow: hidden;
    }

    /* HERO BACKGROUND - FILLS CONTAINER */
    .hero-background-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
    }

    .hero-background-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .hero-background-slide img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        min-width: 100%;
        min-height: 100%;
    }

    /* MINIMAL GRADIENT - JUST FOR SEARCH READABILITY */
    .hero-gradient-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0.2) 70%,
            rgba(0, 0, 0, 0.4) 100%
        );
        z-index: 2;
        pointer-events: none;
    }
    
    /* CONTENT WRAPPER - CENTERED IN SHORTER HERO */
    .hero-content-wrapper {
        position: absolute;
        top: 50%;
        left: 16px;
        right: 16px;
        transform: translateY(-50%);
        z-index: 20;
        padding: 0;
        display: block;
        text-align: center;
    }
    
    /* LEFT CONTENT - MOVED OUTSIDE HERO (BELOW) */
    .hero-left-content {
        display: none;
    }
    
    /* SEARCH OVERLAY - CLEAN MINIMAL */
    .hero-right-content {
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border: none;
    }
    
    /* HERO BADGE - PROMINENT AND BEAUTIFUL */
    .hero-badge-premium {
        background: var(--gradient-primary);
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    }
    
    /* HERO TITLE - PERFECT SIZE, READABLE */
    .hero-title-premium {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        font-weight: 800;
        color: white;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        letter-spacing: -0.02em;
    }
    
    /* HERO SUBTITLE - CLEAN AND READABLE */
    .hero-subtitle-premium {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* HERO STATS - BEAUTIFUL GRID, NO OVERLAPPING */
    .hero-stats-premium {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .stat-item-premium {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 1rem 0.5rem;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .stat-item-premium:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }
    
    .stat-number-premium {
        font-size: 1.8rem;
        font-weight: 800;
        color: white;
        margin-bottom: 0.25rem;
        line-height: 1;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .stat-label-premium {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.9);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
        line-height: 1.2;
    }
    
    /* HERO FEATURES - COMPACT BUT VISIBLE */
    .hero-features-premium {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .feature-item-premium {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        color: white;
        font-weight: 500;
    }
    
    /* LIVE VISITORS - HIDDEN ON MOBILE */
    .live-visitors {
        display: none;
    }
}

/* =====================================================
   HERO CONTENT SECTION - BELOW HERO IMAGE
   All text content goes here (Premium Platform style)
   ONLY FOR MOBILE - HIDDEN ON DESKTOP/TABLET
   ===================================================== */

.hero-content-section {
    display: none; /* Hidden on desktop by default */
}

@media (max-width: 768px) {
    .hero-content-section {
        display: block; /* Show only on mobile */
        background: white;
        padding: 2rem 1.5rem;
        position: relative;
        z-index: 5;
    }
    
    .hero-badge-premium {
        background: var(--gradient-primary);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 1rem;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
    }
    
    .hero-title-premium {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        font-weight: 800;
        color: var(--text-color);
        letter-spacing: -0.01em;
    }
    
    .hero-subtitle-premium {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        color: var(--text-light);
        max-width: 100%;
    }
    
    .hero-stats-premium {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: var(--bg-light);
        border-radius: 12px;
    }
    
    .stat-item-premium {
        text-align: center;
        padding: 0.5rem;
    }
    
    .stat-number-premium {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--primary-color);
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .stat-label-premium {
        font-size: 0.75rem;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    
    .hero-features-premium {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .feature-item-premium {
        background: #f0f8ff;
        color: var(--primary-color);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        border: 1px solid rgba(0, 102, 204, 0.1);
    }
}

/* SMALL MOBILE OPTIMIZATION */
@media (max-width: 480px) {
    .hero-premium {
        padding: 80px 0 0 0;
    }
    
    .hero-background-wrapper {
        height: 350px;
    }
    
    .hero-left-content {
        padding: 2.5rem 1rem 1.5rem;
        min-height: 250px;
    }
    
    .hero-title-premium {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle-premium {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats-premium {
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
    
    .stat-item-premium {
        padding: 0.75rem 0.25rem;
    }
    
    .stat-number-premium {
        font-size: 1.4rem;
    }
    
    .stat-label-premium {
        font-size: 0.7rem;
    }
    
    .hero-features-premium {
        gap: 0.5rem;
        padding: 0 0.75rem;
    }
    
    .feature-item-premium {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .live-visitors {
        margin: 0.75rem;
        padding: 0.75rem;
    }
}

/* =====================================================
   HERO CTA BUTTONS - 1 Primary + 1 Secondary
   ===================================================== */

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.hero-btn--primary {
    background: var(--gradient-primary, linear-gradient(135deg, #0066cc, #004999));
    color: white;
    box-shadow: 0 2px 12px rgba(0, 102, 204, 0.35);
}

.hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

.hero-btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* WhatsApp green for WhatsApp links */
.hero-btn--secondary .fab.fa-whatsapp {
    color: #25D366;
}

/* Mobile CTA styles */
@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .hero-btn {
        width: 100%;
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }

    /* In hero-content-section (below hero), use solid colors */
    .hero-content-section .hero-btn--secondary {
        background: white;
        color: var(--primary-color, #0066cc);
        border: 2px solid var(--primary-color, #0066cc);
    }

    .hero-content-section .hero-btn--secondary:hover {
        background: var(--primary-color, #0066cc);
        color: white;
    }

    .hero-content-section .hero-btn--secondary .fab.fa-whatsapp {
        color: #25D366;
    }

    .hero-content-section .hero-btn--secondary:hover .fab.fa-whatsapp {
        color: white;
    }
}

/* =====================================================
   DARK MODE SUPPORT - Full Theme Integration
   ===================================================== */

/* System preference dark mode */
@media (prefers-color-scheme: dark) {
    .hero-gradient-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 10, 20, 0.8) 0%,
            rgba(0, 20, 40, 0.5) 40%,
            rgba(0, 30, 60, 0.4) 60%,
            rgba(0, 10, 20, 0.7) 100%
        );
    }
}

/* Manual dark theme class (theme-manager-universal.js) */
[data-theme="dark"] .hero-content-section,
.dark-mode .hero-content-section,
body.dark .hero-content-section {
    background: var(--bg-dark, #0b1220);
}

[data-theme="dark"] .hero-content-section .hero-title-premium,
.dark-mode .hero-content-section .hero-title-premium,
body.dark .hero-content-section .hero-title-premium {
    color: var(--text-color-dark, #ffffff);
}

[data-theme="dark"] .hero-content-section .hero-subtitle-premium,
.dark-mode .hero-content-section .hero-subtitle-premium,
body.dark .hero-content-section .hero-subtitle-premium {
    color: var(--text-light-dark, rgba(255, 255, 255, 0.8));
}

[data-theme="dark"] .hero-content-section .hero-badge-premium,
.dark-mode .hero-content-section .hero-badge-premium,
body.dark .hero-content-section .hero-badge-premium {
    background: var(--gradient-primary, linear-gradient(135deg, #0066cc, #004999));
    color: white;
}

[data-theme="dark"] .hero-content-section .hero-stats-premium,
.dark-mode .hero-content-section .hero-stats-premium,
body.dark .hero-content-section .hero-stats-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-content-section .stat-number-premium,
.dark-mode .hero-content-section .stat-number-premium,
body.dark .hero-content-section .stat-number-premium {
    color: var(--primary-color, #0066cc);
}

[data-theme="dark"] .hero-content-section .stat-label-premium,
.dark-mode .hero-content-section .stat-label-premium,
body.dark .hero-content-section .stat-label-premium {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .hero-content-section .feature-item-premium,
.dark-mode .hero-content-section .feature-item-premium,
body.dark .hero-content-section .feature-item-premium {
    background: rgba(0, 102, 204, 0.15);
    color: var(--primary-color, #0066cc);
    border-color: rgba(0, 102, 204, 0.3);
}

/* Dark mode CTA buttons in hero-content-section */
[data-theme="dark"] .hero-content-section .hero-btn--primary,
.dark-mode .hero-content-section .hero-btn--primary,
body.dark .hero-content-section .hero-btn--primary {
    background: var(--gradient-primary, linear-gradient(135deg, #0066cc, #004999));
    color: white;
}

[data-theme="dark"] .hero-content-section .hero-btn--secondary,
.dark-mode .hero-content-section .hero-btn--secondary,
body.dark .hero-content-section .hero-btn--secondary {
    background: transparent;
    color: var(--primary-color, #0066cc);
    border: 2px solid var(--primary-color, #0066cc);
}

[data-theme="dark"] .hero-content-section .hero-btn--secondary:hover,
.dark-mode .hero-content-section .hero-btn--secondary:hover,
body.dark .hero-content-section .hero-btn--secondary:hover {
    background: var(--primary-color, #0066cc);
    color: white;
}