/* 
   BYSAMSA - Tailwind CSS Tamamlayıcı Stil Dosyası (style.css)
   - Tailwind'e entegre çalışan özel animasyonlar ve efektler barındırır.
   - Parallax, AOS, Accordion, Timeline, WhatsApp buton ve Dropdown geçişlerini yönetir.
*/

/* GLOBAL: Belirli yüksek kontrastlı shadow ve glow'ları kaldır */
.shadow-sm, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl, .shadow-inner, .shadow {
    box-shadow: none !important;
}
.glow-effect, [data-tilt]::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* 1. Parallax & Ken Burns Arkaplan Efektleri */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero_bg.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.03);
    animation: kenBurnsEffect 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurnsEffect {
    0% {
        transform: scale(1.03) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-1%, -0.5%);
    }
}

/* Shimmering Text Animation */
@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-text-shimmer {
    background-size: 200% auto;
    animation: textShimmer 4s linear infinite;
}

.parallax-banner {
    background-image: url('../images/tas_ev.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 992px) {
    .hero-section::before {
        background-attachment: scroll !important;
    }
    .parallax-banner {
        background-attachment: scroll !important;
    }
}

/* 2. Header Scroll Efekti */
.main-header {
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-header.scrolled .header-container {
    height: 64px;
}

/* 3. Hamburger Menü (Hamburgers.css CDN Entegrasyonu) */
.hamburger {
    display: inline-flex;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
    background-color: #0f172a !important; /* slate-900 */
}

.hamburger.is-active .hamburger-inner, 
.hamburger.is-active .hamburger-inner::before, 
.hamburger.is-active .hamburger-inner::after {
    background-color: #0f172a !important;
}

.mobile-nav-toggle:hover .hamburger-inner,
.mobile-nav-toggle:hover .hamburger-inner::before,
.mobile-nav-toggle:hover .hamburger-inner::after {
    background-color: #f97316 !important; /* accentOrange on hover */
}

/* 4. Dropdown Menü Masaüstü Hover Akıcılığı */
@media (min-width: 1024px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* Mobil Tam Ekran Menü Overlay */
@media (max-width: 1023px) {
    .primary-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: #0f172a;
        padding: 0;
        opacity: 1;
        visibility: hidden;
        z-index: 9998;
        display: flex !important;
        align-items: center;
        justify-content: center;
        clip-path: circle(0% at calc(100% - 36px) 36px);
        transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s 0.4s;
    }

    .primary-navigation.open {
        visibility: visible !important;
        clip-path: circle(150% at calc(100% - 36px) 36px);
        transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s 0s;
    }

    .primary-navigation .nav-menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
        padding: 0 24px;
    }

    .primary-navigation .nav-menu > li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .primary-navigation.open .nav-menu > li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered delays for menu items */
    .primary-navigation.open .nav-menu > li:nth-child(1) { transition-delay: 0.05s; }
    .primary-navigation.open .nav-menu > li:nth-child(2) { transition-delay: 0.09s; }
    .primary-navigation.open .nav-menu > li:nth-child(3) { transition-delay: 0.13s; }
    .primary-navigation.open .nav-menu > li:nth-child(4) { transition-delay: 0.17s; }
    .primary-navigation.open .nav-menu > li:nth-child(5) { transition-delay: 0.21s; }
    .primary-navigation.open .nav-menu > li:nth-child(6) { transition-delay: 0.25s; }

    .primary-navigation .nav-menu > li > a {
        color: #ffffff !important;
        font-size: 1.35rem !important;
        font-weight: 700 !important;
        padding: 18px 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        letter-spacing: 0.02em;
    }

    .primary-navigation .nav-menu > li > a:hover,
    .primary-navigation .nav-menu > li > a.active {
        color: #eab308 !important;
    }

    /* Dropdown alt menü mobil stili */
    .primary-navigation .dropdown-menu {
        position: static !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        padding: 8px 0 !important;
        margin-top: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0;
        overflow: hidden;
        transform: none !important;
        transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    .primary-navigation .dropdown.open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 400px;
        padding: 10px 0 !important;
    }

    .primary-navigation .dropdown-menu li a {
        color: #cbd5e1 !important;
        text-align: center !important;
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
        border-radius: 6px;
    }

    .primary-navigation .dropdown-menu li a:hover {
        color: #eab308 !important;
        background: rgba(234, 179, 8, 0.08) !important;
        padding-left: 16px !important;
    }

    /* CTA butonu mobil stili */
    .primary-navigation .nav-menu > li:last-child {
        border-bottom: none;
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .primary-navigation .nav-menu > li:last-child a {
        font-size: 1rem !important;
        border-radius: 8px;
    }

    /* Body scroll lock & bottom bar gizle */
    body.menu-open {
        overflow: hidden !important;
    }

    body.menu-open #mobile-bottom-bar {
        display: none !important;
    }

    /* Hamburger z-index üstünde kalması */
    .mobile-nav-toggle {
        z-index: 9999 !important;
    }

    .hamburger.is-active .hamburger-inner,
    .hamburger.is-active .hamburger-inner::before,
    .hamburger.is-active .hamburger-inner::after {
        background-color: #ffffff !important;
    }
}

/* 5. Nabız (Pulse) Animasyonu */
.animate-pulse-custom {
    animation: pulseCustom 2.0s infinite;
}

@keyframes pulseCustom {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* 6. WhatsApp Sabit Buton */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.whatsapp-float i {
    font-size: 1.6rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background-color: #1ebd5a;
}

.whatsapp-float-label {
    display: none;
}

@media (min-width: 768px) {
    .whatsapp-float {
        display: flex;
        width: auto;
        height: auto;
        border-radius: 50px;
        padding: 14px 20px;
        gap: 10px;
    }
    .whatsapp-float-label {
        display: inline;
    }
}

/* 7. Şirket Tarihçesi Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    width: 3px;
    height: 100%;
    background-color: #eab308;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #eab308;
    border: 4px solid #ffffff;
    outline: 3px solid #eab308;
    z-index: 2;
}

.timeline-year {
    display: inline-block;
    background-color: #1e293b;
    color: #eab308;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

/* 8. İş Süreci Adımları - Bağlantı Çizgisi */
.process-step {
    position: relative;
}

.process-connector {
    display: none;
}

@media (min-width: 1024px) {
    .process-connector {
        display: block;
        position: absolute;
        top: 36px;
        right: -32px;
        width: 64px;
        height: 3px;
        background-color: #eab308;
        z-index: 1;
    }
    
    .process-connector::after {
        content: '';
        position: absolute;
        right: -4px;
        top: -4px;
        width: 10px;
        height: 10px;
        border-right: 3px solid #eab308;
        border-top: 3px solid #eab308;
        transform: rotate(45deg);
    }
}

/* 9. SSS (FAQ) Accordion */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #eab308;
}

.faq-item.open {
    border-color: #eab308;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    text-align: left;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.faq-question:hover {
    color: #f97316;
}

.faq-question .faq-icon {
    transition: transform 0.3s ease;
    color: #eab308;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}

.faq-answer-inner {
    padding: 0 0 20px 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 10. Swiper Özel Stilleri */

/* Eşit yükseklikte slide kartları */
.testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonial-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonial-swiper .swiper-slide > div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.testimonial-swiper .swiper-pagination-bullet {
    background-color: #94a3b8;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background-color: #eab308;
    opacity: 1;
}

/* Masaüstü navigasyon okları */
.testimonial-prev-btn,
.testimonial-next-btn {
    color: #0f172a;
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.testimonial-prev-btn:hover,
.testimonial-next-btn:hover {
    background-color: #eab308;
    border-color: #eab308;
    color: #0f172a;
}

.testimonial-prev-btn::after,
.testimonial-next-btn::after {
    font-size: 16px;
    font-weight: 900;
}

@media (min-width: 1024px) {
    .testimonial-prev-btn,
    .testimonial-next-btn {
        display: flex;
    }
    
    .testimonial-next-btn {
        right: 0px;
    }
    
    .testimonial-prev-btn {
        left: 0px;
    }
}

/* 11. Typed.js İmleç Rengi */
.typed-cursor {
    color: #eab308;
    font-weight: 300;
}

/* 12. Eski .reveal (Geriye Uyumluluk) */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.fade-bottom {
    transform: translateY(40px);
}

.reveal.fade-left {
    transform: translateX(-40px);
}

.reveal.fade-right {
    transform: translateX(40px);
}

.reveal.active {
    transform: translate(0, 0) !important;
    opacity: 1 !important;
}

/* 13. Galeri Filtre Butonları Aktif Durumu */
.filter-btn.active {
    background-color: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

/* 14. Galeri Kartı Filtre Geçiş Animasyonu */
.gallery-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 15. İç Sayfa Başlığı (Page Header) Modern Yapı */
.page-header {
    background-image: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: 1;
    pointer-events: none;
}

/* 16. Sinematik Hero Slider Özel Stilleri */
.main-hero-slider {
    width: 100%;
}

/* Slayt içindeki nesneler için varsayılan durum (GSAP animasyonu öncesi sıfırlama) */
.main-hero-slider .swiper-slide .animate-el {
    opacity: 0;
    transform: translateY(40px);
}

/* Aktif slaytın arka plan resminin yavaşça hareket etmesi (parallax takviyesi) */
.main-hero-slider .swiper-slide-active [data-swiper-parallax] {
    transform: scale(1.04);
    transition: transform 6s ease-out;
}

/* Dairesel Cam Efektli Navigasyon Butonları */
.hero-nav-btn {
    width: 54px !important;
    height: 54px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 30 !important;
}

.hero-nav-btn::after {
    display: none !important; /* Swiper'ın varsayılan ikonunu kaldır */
}

.hero-nav-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.hero-nav-btn:hover {
    background: #eab308 !important;
    border-color: #eab308 !important;
    color: #0f172a !important;
    transform: scale(1.08) !important;
}

.swiper-button-prev.hero-nav-btn:hover i {
    transform: translateX(-2px);
}

.swiper-button-next.hero-nav-btn:hover i {
    transform: translateX(2px);
}

/* Konumlandırma */
.swiper-button-prev.hero-nav-btn {
    left: 28px !important;
}
.swiper-button-next.hero-nav-btn {
    right: 28px !important;
}

@media (max-width: 768px) {
    .hero-nav-btn {
        display: none !important; /* Mobilde okları gizle */
    }
}

/* Minimalist Sayfa Numaralandırma (Pagination) */
.slider-pagination-custom {
    position: absolute !important;
    bottom: 35px !important;
    left: 28px !important;
    z-index: 30 !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.05em !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.slider-pagination-custom .current {
    color: #eab308 !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
}

.slider-pagination-custom .separator {
    color: rgba(255, 255, 255, 0.15) !important;
}

/* Autoplay İlerleme Çubuğu */
.slider-progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 30;
}

.slider-progress-bar {
    height: 100%;
    width: 0;
    transition: width 0.1s linear;
}

/* Animasyonlu Fare (Scroll Down) */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    pointer-events: none;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    position: relative;
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(4px);
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: #eab308;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouseWheel 1.6s ease-in-out infinite;
}

@keyframes scrollMouseWheel {
    0% {
        opacity: 0;
        top: 6px;
    }
    30% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        top: 22px;
    }
    100% {
        opacity: 0;
        top: 22px;
    }
}

@media (max-width: 992px) {
    .scroll-down-indicator {
        display: none !important;
    }
}

/* Mobil Alt Sabit Bar İçin Gövdeye Padding Ekleme */
@media (max-width: 767px) {
    body {
        padding-bottom: 78px !important;
    }
}

/* Tippy.js Bottom Bar Tooltip İçin Bounce Ok Animasyonu */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* Tippy Bottom Bar Tooltip Özel Stili */
.tippy-box[data-placement^='top'] {
    font-family: 'Outfit', 'Inter', sans-serif;
}
