/*
Theme Name: Webolur Hibrit Pro
Theme URI: https://webolur.com
Author: Webolur Dijital Performans Ajansı
Author URI: https://webolur.com
Description: Webolur tarafından geliştirilen; Tailwind CSS, Swiper ve Modern UI altyapısına sahip, yüksek performanslı, SEO odaklı kurumsal WordPress teması.
Version: 20.0
License: Proprietary
License URI: https://webolur.com/lisans
Tags: corporate, business, modern, tailwind, fast, seo-friendly
Text Domain: webolur-pro
*/


/* =========================================
   1. RENK VE TİPOGRAFİ (MANUEL TANIMLAR)
   Tailwind beklemeden renkleri zorlar.
========================================= */

:root {
    --brand-red: #E30613;
    --brand-blue: #000;
    --brand-dark: #0B1120;
    --text-gray: #64748b;
}

p {
    margin: 10px 0px!important;
}


/* Kırmızı Renkler & Gradient Metin
   Görseldeki gibi kırmızıdan turuncuya geçiş efekti eklendi.
*/

.text-brand-red {
    background-image: linear-gradient(45deg, #E30613, #E30613) !important;
    /* Kırmızı -> Turuncu */
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    display: inline-block;
    /* Gradient'in düzgün görünmesi için */
}


/* Diğer kırmızı alanlar düz renk kalmaya devam edecek */

.bg-brand-red {
    background-color: var(--brand-red) !important;
}

.border-brand-red {
    border-color: var(--brand-red) !important;
}

.hover\:text-brand-red:hover {
    color: var(--brand-red) !important;
}

.hover\:bg-brand-red:hover {
    background-color: var(--brand-red) !important;
}

.hover\:border-brand-red:hover {
    border-color: var(--brand-red) !important;
}


/* Lacivert Renkler */

.text-brand-blue {
    color: var(--brand-blue) !important;
}

.bg-brand-blue {
    background-color: var(--brand-blue) !important;
}

.border-brand-blue {
    border-color: var(--brand-blue) !important;
}

.hover\:text-brand-blue:hover {
    color: var(--brand-blue) !important;
}

.hover\:bg-brand-blue:hover {
    background-color: var(--brand-blue) !important;
}


/* =========================================
   2. SLIDER & BAŞLIK DÜZENLEMELERİ
========================================= */


/* Slider Arkaplan Zoom Efekti */

.hero-slide-bg {
    transition: transform 8s ease-out;
    transform: scale(1);
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1.15);
}


/* =========================================
   5. ARAMA (SEARCH BAR FIX)
========================================= */

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-input {
    background: transparent;
    border: none;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: clamp(20px, 5vw, 48px);
    /* Responsive Font */
    font-weight: 800;
    width: 90%;
    text-align: center;
    padding-bottom: 20px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-bottom-color: var(--brand-red);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
}


/* =========================================
   6. YAN PANEL (SIDEBAR FORM)
========================================= */

.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 450px;
    background: white;
    z-index: 9999;
    transform: translateX(100%);
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
}

.side-panel.active {
    transform: translateX(0);
}

.page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    backdrop-filter: blur(4px);
}

.page-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.floating-trigger {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9990;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 20px 0 0 20px;
    box-shadow: -5px 0 30px rgba(227, 6, 19, 0.4);
    background-color: var(--brand-red);
}

.text-brand-red {
    background-image: linear-gradient(45deg, #E30613, #E30613) !important;
    /* Kırmızı -> Turuncu */
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    display: inline-block;
    /* Gradient'in düzgün görünmesi için */
}


/* =========================================
   7. KARTLAR & GENEL STİLLER
========================================= */

.system-card,
.feature-card {
    transition: all 0.4s ease;
}

.system-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-red);
    box-shadow: 0 25px 50px -12px rgba(227, 6, 19, 0.15);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}


/* Parallax Arkaplan */

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Özel Ok Butonları */

.custom-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--brand-blue);
    transition: all 0.3s;
    cursor: pointer;
}

.custom-nav-btn:hover {
    background: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
}


/* =========================================
   PAGINATION (SAYFALAMA) TASARIMI
========================================= */


/* Kapsayıcıyı Gizle (Screen Reader Text) */

.navigation h2.screen-reader-text {
    display: none;
}


/* Linkleri Yan Yana Diz */

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    /* Kutular arası boşluk */
    flex-wrap: wrap;
    margin-top: 2rem;
}


/* Sayfa Numaraları Genel Tasarımı */

.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    /* Genişlik */
    height: 50px;
    /* Yükseklik */
    border-radius: 50%;
    /* Tam Yuvarlak */
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    /* Açık Gri Çerçeve */
    color: #64748b;
    /* Yazı Rengi */
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Hafif Gölge */
}


/* Hover (Üzerine Gelince) */

.nav-links a.page-numbers:hover {
    background-color: #003366;
    /* Brand Blue */
    color: #ffffff;
    border-color: #003366;
    transform: translateY(-3px);
    /* Yukarı zıplama efekti */
    box-shadow: 0 10px 15px -3px rgba(0, 51, 102, 0.3);
}


/* Aktif Sayfa (Şu anki sayfa) */

.nav-links .page-numbers.current {
    background-color: #E30613;
    /* Brand Red */
    color: #ffffff;
    border-color: #E30613;
    cursor: default;
    pointer-events: none;
    /* Tıklanamaz olsun */
    transform: scale(1.1);
    /* Biraz daha büyük dursun */
    box-shadow: 0 10px 15px -3px rgba(227, 6, 19, 0.3);
}


/* İleri / Geri Okları */

.nav-links .next,
.nav-links .prev {
    font-size: 1.2rem;
}


/* MASAÜSTÜ MENÜ OKLARI */

.desktop-menu .menu-item-has-children>a {
    display: flex;
    align-items: center;
    gap: 5px;
    /* Yazı ile ok arası boşluk */
}

.desktop-menu .menu-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-top: 1px;
}


/* Hover olunca oku döndür */

.desktop-menu .menu-item-has-children:hover>a .menu-arrow {
    transform: rotate(180deg);
    color: #E30613;
    /* Brand Red */
}