﻿/* Hero Section Styles - hero.css */

/* Hero Section Reset - Eski stilleri override et */
.hero-section {
    /* Eski hero stillerini sıfırla */
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    background: none !important;
    /* Arka plan animasyon için temizlendi */
    overflow: hidden !important;
    /* Navbar için alan */
    margin-top: 0 !important;
}

/* Eski hero stilleri override */
.hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 100% !important;
}

.hero-title {
    font-size: 6rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: white !important;
    text-align: center;
    text-transform: none !important;
    font-family: 'Sacramento', 'Dancing Script', cursive !important;
}


/* .hero-text removed as content deprecated */

/* LinkedIn Icon - Hero section içinde sağ alt köşede, sabit kalır */
.linkedin-floating {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 1000 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    width: auto !important;
    height: auto !important;
}

.linkedin-floating:hover {
    transform: scale(1.1) !important;
}

.linkedin-floating img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    transition: all 0.3s ease !important;
}

.linkedin-floating:hover img {
    transform: scale(1.05) !important;
}

/* Hero Banner Scroll Icon - Alt ortada */
.hero-banner-scroll {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    animation: bounceUpDown 2s infinite !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    height: auto !important;
}

.hero-banner-scroll:hover {
    transform: translateX(-50%) scale(1.1) !important;
}

.hero-banner-scroll img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transition: all 0.3s ease !important;
}

.hero-banner-scroll:hover img {
    transform: scale(1.05) !important;
}

/* Animasyonlar */
@keyframes bounceUpDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hero butonları */
.hero-section .btn {
    padding: 15px 30px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.hero-section .btn-secondary {
    background-color: #ff6a00 !important;
    border-color: #ff6a00 !important;
    color: white !important;
}

.hero-section .btn-secondary:hover {
    background-color: #e36000 !important;
    border-color: #e36000 !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3) !important;
}

.hero-section .btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
    background: transparent !important;
}

.hero-section .btn-outline-light:hover {
    background: white !important;
    color: #005cb9 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
}

/* Animation background için hazırlık */
.hero-animation-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
}

/* Hero Background Video */
.hero-background-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 0 !important;
    object-fit: cover !important;
    pointer-events: none !important;
}

/* Smooth crossfade for background videos */
.hero-background-video {
    transition: opacity 400ms ease !important;
    opacity: 0 !important;
}

.hero-background-video.is-active {
    opacity: 1 !important;
}

/* Video fallback image - sadece video yüklenemezse göster */
.hero-fallback-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: -1 !important;
}

/* Video fallback image */
.hero-fallback-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

/* Gradient overlay - Video üzerine */
.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0, 92, 185, 0.6), rgba(26, 26, 26, 0.4)) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem !important;
    }

    .hero-title span {
        font-size: 3rem !important;
    }

    .hero-subtitle {
        font-size: 1.5rem !important;
    }

    /* .hero-text removed */

    .linkedin-floating {
        bottom: 25px !important;
        right: 25px !important;
    }

    .hero-banner-scroll {
        bottom: 25px !important;
    }

    /* Shrink LinkedIn icon on tablets */
    .linkedin-floating img {
        width: 40px !important;
        height: auto !important;
    }
}

/* Hero Services (scroll butonunun üstü) - KALDIRILDI */

@media (max-width: 767.98px) {

    .hero-content {
        padding-bottom: 150px;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-title span {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1.3rem !important;
    }

    /* .hero-text removed */

    .hero-section .btn {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }

    .linkedin-floating {
        bottom: 20px !important;
        right: 20px !important;
    }

    .hero-banner-scroll {
        bottom: 20px !important;
    }

    /* Shrink LinkedIn icon on mobile */
    .linkedin-floating img {
        width: 34px !important;
        height: auto !important;
    }
}

@media (max-width: 575.98px) {

    /* Shrink LinkedIn icon further on small phones */
    .linkedin-floating img {
        width: 30px !important;
        height: auto !important;
    }
}