/* ============================================
   EVRE ERP - Modern Web Tasarımı
   ============================================ */

/* ============================================
   1. ROOT VARIABLES (Temel Değişkenler)
   Logo renklerine uyumlu modern renk paleti
   ============================================ */
:root {
    /* Ana Renkler - Modern Canlı Mavi (Resim Tonları) */
    --primary-color: #2563eb;        /* Modern parlak mavi */
    --primary-dark: #1d4ed8;         /* Koyu mavi */
    --primary-light: #3b82f6;        /* Açık mavi */
    --secondary-color: #60a5fa;      /* İkincil açık mavi */
    --accent-color: #93c5fd;         /* Vurgu açık mavi */

    /* Nötr Renkler - Modern Tonlar */
    --dark: #1e293b;                 /* Koyu slate gri */
    --gray: #64748b;                 /* Orta slate gri */
    --light-gray: #f8fafc;          /* Çok açık gri */
    --border-gray: #e2e8f0;         /* Border açık gri */
    --white: #FFFFFF;

    /* Semantic Renkler (Anlamsal) */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #2563eb;                /* Primary ile aynı */

    /* Spacing (Boşluklar) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Shadows (Gölgeler) */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);

    /* Transitions (Geçişler) */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* ============================================
   2. RESET & BASIC STYLES (Temel Stiller)
   Tarayıcı farklılıklarını gidermek için
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth; /* Yumuşak scroll için */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    /* Navbar hero section üstünde durmalı - minimal padding */
    padding-top: 0;
}

/* ============================================
   3. TYPOGRAPHY (Tipografi - Yazı Stilleri)
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #0052CC;
    text-decoration: none;
}

/* ============================================
   4. NAVIGATION BAR (Üst Menü)
   ============================================ */
.site-header {
    /* Header için özel ayar yok - navbar fixed */
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
    transition: var(--transition-normal);
}

/* Navbar collapse - layout shift prevention */
.navbar-collapse {
    align-items: center;
    flex-grow: 0; /* Gereksiz genişlemeyi önler */
}

/* Desktop - navbar-collapse justify */
@media (min-width: 992px) {
    .navbar-collapse {
        justify-content: space-between;
        flex-grow: 1;
    }
}

/* Modern Floating Navbar Animation - Base */
.navbar {
    background: transparent !important;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: top;
    transform: translateZ(0); /* GPU acceleration */
    border-bottom: none;
}

/* Expanded State - Top of Page */
.navbar.navbar-expanded.fixed-top {
    position: fixed !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 1rem !important;
    z-index: 1030 !important;
    background: transparent !important;
}

/* Expanded - Container'a background - GENİŞ */
.navbar-expanded .container {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 0.5rem 1.5rem !important;
    max-width: 1400px !important; /* EN ÜSTTE ÇOK GENİŞ */
    margin: 0 auto !important; /* Ortalanmış */
    height: 70px;
    display: flex;
    align-items: center;
    contain: layout style;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-width, padding, height;
}

/* Compact State - Scrolled Down */
.navbar.navbar-compact.fixed-top {
    position: fixed !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0.75rem !important;
    z-index: 1030 !important;
    background: transparent !important;
}

/* Compact - Container'a background - ÇOK DARALMIŞ */
.navbar-compact .container {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    padding: 0.4rem 1rem !important;
    max-width: 1100px !important; /* Daha geniş - layout shift'i azaltır */
    margin: 0 auto !important; /* Ortalanmış */
    height: 60px;
    display: flex;
    align-items: center;
    contain: layout style;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-width, padding, height;
}

/* Logo Styling */
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-fast);
    flex-shrink: 0;
    height: 100%;
}

.brand-logo:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Navigation Links - Modern Animated Underline */
.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: padding;
}

/* Nav Link Spacing - Expanded State (Minimal) */
.navbar-expanded .nav-link {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Nav Link Spacing - Compact State (Daha da minimal) */
.navbar-compact .nav-link {
    padding: 0.3rem 0.7rem !important;
    font-size: 0.9rem !important; /* Font size sabit kalacak - sadece padding değişecek */
    line-height: 1.5;
}

/* Navbar-nav flexbox için */
.navbar-nav {
    display: flex;
    flex-wrap: nowrap; /* wrap yerine nowrap - daha stabil */
    align-items: center;
    transform: translateZ(0); /* GPU acceleration */
    will-change: transform;
}

/* Navbar nav gap - minimal */
.navbar-expanded .navbar-nav {
    gap: 0.2rem;
}

.navbar-compact .navbar-nav {
    gap: 0.15rem;
}

/* Modern underline animation */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dark), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--dark);
    background-color: rgba(30, 41, 59, 0.04);
    border-radius: 8px;
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

/* Active link state */
.navbar-nav .nav-link.active::before {
    width: 80%;
}

/* Dropdown Toggle Arrow Animation */
.navbar-nav .dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.navbar-nav .dropdown-toggle:hover::after {
    transform: translateY(2px);
}

/* Dropdown Menu - Smooth Fade & Slide */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    visibility: hidden;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Dropdown Header */
.dropdown-header {
    font-weight: 600;
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.5rem 0.25rem;
}

/* Dropdown Items - Elegant Hover */
.dropdown-item {
    padding: 0.6rem 1.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.06) 0%, transparent 100%);
    color: var(--dark);
    border-left-color: var(--dark);
    transform: translateX(3px);
    padding-left: 1.75rem;
}

/* Dropdown Divider */
.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

/* Header Action Buttons */
.header-actions .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.5;
    transition: padding 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button Sizing - Expanded State */
.navbar-expanded .header-actions .btn {
    padding: 0.48rem 1.3rem;
    font-size: 0.92rem;
}

/* Button Sizing - Compact State (Çok Küçük) */
.navbar-compact .header-actions .btn {
    padding: 0.35rem 1rem;
    font-size: 0.92rem; /* Font size sabit - sadece padding değişecek */
}

/* Header actions d-flex için gap */
.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

/* Compact'ta buton arası boşluk azalt */
.navbar-compact .header-actions {
    gap: 0.3rem !important;
}

.navbar-expanded .header-actions {
    gap: 0.5rem !important;
}

/* ============================================
   5. BUTTONS (Butonlar)
   ============================================ */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button colors are controlled by CSS variables from _Layout.cshtml
   --theme-primary, --theme-secondary variables are set dynamically */
.btn-primary {
    background: linear-gradient(45deg, var(--theme-secondary, #1e3a8a), var(--theme-secondary-light, #1e40af));
    color: var(--white);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent; /* Outline button ile aynı boyut için */
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--theme-secondary-light, #1e40af), var(--theme-primary, #2563eb));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--theme-secondary, #1e40af);
    color: var(--theme-secondary, #1e40af);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(45deg, var(--theme-secondary, #1e3a8a), var(--theme-secondary-light, #1e40af));
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--theme-secondary, #1e3a8a);
}

.btn-outline-success {
    border: 2px solid var(--success);
    color: var(--success);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--success);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

/* ============================================
   6. HERO SECTION (Ana Başlık Bölümü)
   ============================================ */
.hero-section {
    padding: 8rem 0 5rem 0; /* Üstten 8rem - navbar için boşluk */
    background: linear-gradient(135deg, #e6f4ff 0%, #cce7ff 100%);
    position: relative;
    overflow: hidden;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--gray);
}

.hero-features .feature-item i {
    font-size: 1.25rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image .placeholder-image {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ============================================
   7. GRADIENTS (Renk Geçişleri) - Theme Uyumlu
   ============================================ */
.bg-gradient-primary {
    background: linear-gradient(45deg, var(--theme-secondary, #1e3a8a), var(--theme-secondary-light, #1e40af));
}

.bg-gradient-dark {
    background: linear-gradient(45deg, var(--theme-secondary, #1e3a8a), var(--theme-secondary-light, #1e40af));
}

.bg-gradient-hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #e0f2fe 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success) 0%, #00A843 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* ============================================
   8. FEATURE CARDS (Özellik Kartları)
   ============================================ */
.feature-card {
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition-normal);
    border: 1px solid #E0E0E0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* ============================================
   9. TRUST BAR (Marka Logoları)
   ============================================ */
.trust-bar {
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}

.trust-logo {
    padding: 1rem;
    opacity: 0.6;
    transition: var(--transition-fast);
    font-weight: 600;
    color: var(--gray);
}

.trust-logo:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ============================================
   10. MODULES SHOWCASE (Modül Vitrini)
   ============================================ */
.modules-showcase {
    position: relative;
}

.module-features {
    list-style: none;
    padding: 0;
}

.module-features li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* ============================================
   11. HOW IT WORKS (Nasıl Çalışır)
   ============================================ */
.step-card {
    padding: 2rem;
    transition: var(--transition-normal);
}

.step-number .badge {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-card:hover {
    transform: translateY(-10px);
}

/* ============================================
   12. STATS COUNTER (İstatistikler)
   ============================================ */
.stats-counter {
    background: linear-gradient(45deg, var(--theme-secondary, #1e3a8a), var(--theme-secondary-light, #1e40af));
}

.stats-counter h2 {
    font-size: 3.5rem;
    font-weight: 800;
}

/* ============================================
   13. TESTIMONIALS (Müşteri Yorumları)
   ============================================ */
.testimonial-card {
    transition: var(--transition-normal);
    border: 1px solid #E0E0E0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--warning);
}

/* ============================================
   14. PRICING CARDS (Fiyatlandırma Kartları)
   ============================================ */
.pricing-card {
    transition: var(--transition-normal);
    border: 2px solid #E0E0E0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-featured:hover {
    transform: scale(1.08);
}

.pricing-price {
    margin: 1.5rem 0;
}

.pricing-price .display-4 {
    font-size: 3rem;
}

/* ============================================
   15. CTA SECTION (Çağrı Bölümü)
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--theme-secondary, #1e3a8a), var(--theme-secondary-light, #1e40af));
    opacity: 0.9;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   16. FOOTER (Alt Bilgi)
   ============================================ */
.site-footer {
    background-color: #1A1A1A;
    padding: 3rem 0 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.site-footer a:hover {
    color: var(--white);
    text-decoration: none;
}

/* Footer Coming Soon - Yakında */
.footer-coming-soon {
    opacity: 0.4;
    cursor: default;
    display: block;
    padding: 2px 0;
}

.footer-coming-soon small {
    font-size: 0.75em;
    opacity: 0.8;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   17. UTILITY CLASSES (Yardımcı Sınıflar)
   ============================================ */
.text-purple {
    color: #9C27B0;
}

.rounded-3 {
    border-radius: 12px;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   18. RESPONSIVE DESIGN (Mobil Uyumluluk)
   ============================================ */

/* Tablet ve altı */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hero-section {
        padding: 6rem 0 3rem 0; /* Mobile'da üstten 6rem - navbar için boşluk */
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }

    /* Floating Navbar - Mobile Adjustments */
    .navbar-expanded .container {
        padding: 0.5rem 1rem !important;
        border-radius: 8px !important;
        max-width: 100% !important; /* Mobile'da en üstte tam genişlik */
        margin: 0 auto !important;
    }

    .navbar-compact .container {
        padding: 0.4rem 0.8rem !important;
        max-width: 85% !important; /* Mobile'da scroll sonrası dar */
        border-radius: 8px !important;
        margin: 0 auto !important;
    }

    .navbar-expanded .navbar-logo {
        height: 45px;
    }

    .navbar-compact .navbar-logo {
        height: 38px;
    }

    .navbar-expanded .nav-link {
        padding: 0.45rem 0.7rem !important;
    }

    .navbar-compact .nav-link {
        padding: 0.35rem 0.55rem !important;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .stats-counter h2 {
        font-size: 2.5rem;
    }
}

/* Mobil */
@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Desktop büyük ekranlar */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ============================================
   19. ANIMATIONS (Animasyonlar)
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

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

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

/* ============================================
   20. SCROLL ANIMATIONS (Scroll ile Animasyon)
   ============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   21. LOADING STATES (Yükleme Durumları)
   ============================================ */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================
   22. CUSTOM SCROLLBAR (Özel Kaydırma Çubuğu)
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0052CC;
}

/* ============================================
   HOVER EFFECTS (Hover Efektleri)
   Modern kart hover animasyonları
   ============================================ */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   LOGO STYLES (Logo Stilleri)
   Navbar ve Footer logoları için responsive tasarım
   ============================================ */

/* Navbar Logo */
.navbar-logo {
    height: 55px;
    width: auto;
    max-width: 220px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}

/* Logo Animation - Expanded State (Normal) */
.navbar-expanded .navbar-logo {
    height: 50px;
}

/* Logo Animation - Compact State (Küçük) */
.navbar-compact .navbar-logo {
    height: 40px;
}

/* Footer Logo */
.footer-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
    object-fit: contain;
    /* Beyaz arka plan ve çerçeve kaldırıldı - sade görünüm */
}

.footer-logo:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Responsive Logo Boyutları */
@media (max-width: 991px) {
    /* Tablet - navbar logo */
    .navbar-logo {
        height: 48px;
        max-width: 190px;
    }

    /* Tablet - footer logo */
    .footer-logo {
        height: 55px;
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    /* Mobile - navbar logo */
    .navbar-logo {
        height: 42px;
        max-width: 150px;
    }

    /* Mobile - footer logo */
    .footer-logo {
        height: 48px;
        max-width: 160px;
    }
}

/* ============================================
   MODERN FEATURE CARDS (Modern Özellik Kartları)
   Ana sayfadaki "Neden Biz?" bölümü için modern kart tasarımı
   ============================================ */

.modern-feature-card {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modern-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.modern-feature-card .feature-icon-wrapper {
    transition: transform 0.4s ease;
}

.modern-feature-card:hover .feature-icon-wrapper {
    transform: scale(1.08);
}

.modern-feature-card .feature-icon-bg {
    transition: all 0.4s ease;
}

.modern-feature-card:hover .feature-icon-bg {
    transform: rotate(5deg);
}

.modern-feature-card .feature-accent {
    transition: width 0.4s ease;
}

.modern-feature-card:hover .feature-accent {
    box-shadow: 0 -2px 12px currentColor;
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
    .modern-feature-card {
        margin-bottom: 1rem;
    }
}

/* ============================================
   ELEGANT MODULE CARDS (Zarif Modül Kartları)
   Özellikler sayfasındaki ERP modül kartları için - Sade ve zarif tasarım
   ============================================ */

.elegant-module-card {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.elegant-module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.elegant-module-card .module-icon-circle {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.elegant-module-card:hover .module-icon-circle {
    transform: scale(1.08);
}

.elegant-module-card .module-accent-line {
    width: 4px;
    transition: box-shadow 0.3s ease;
}

.elegant-module-card:hover .module-accent-line {
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}

.elegant-module-card .module-badges .badge {
    transition: transform 0.2s ease;
}

.elegant-module-card:hover .module-badges .badge {
    transform: scale(1.02);
}

/* ============================================
   COMPARISON PACKAGE CARDS (Karşılaştırma Paket Kartları)
   Paket karşılaştırma bölümü için
   ============================================ */

.comparison-package-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-package-card.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
}

.comparison-features li {
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.comparison-features li:hover {
    transform: translateX(5px);
}

/* Featured pakete özel stil (Basic) - Hover efekti */
.comparison-package-card.bg-primary:hover {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3) !important;
}

/* Responsive karşılaştırma kartları */
@media (max-width: 991px) {
    .comparison-package-card.bg-primary {
        transform: scale(1) !important;
    }

    .comparison-package-card.bg-primary:hover {
        transform: scale(1.02) !important;
    }
}

/* ============================================
   PAGE HERO SECTION (Alt Sayfa Hero Bölümü)
   Özellikler, Fiyatlandırma, İletişim vb. sayfalar için
   ============================================ */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 60px 0; /* Navbar için üstten 140px boşluk */
    min-height: 320px;
    background: linear-gradient(135deg,
        var(--theme-primary-lighter, #e0f2fe) 0%,
        #f0f9ff 50%,
        var(--theme-primary-lighter, #e0f2fe) 100%);
}

/* Hero Particles - Floating Dots */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--theme-primary, #3b82f6);
    border-radius: 50%;
    opacity: 0.25;
    animation: heroFloat 10s ease-in-out infinite;
}

.hero-particles .particle:nth-child(odd) {
    width: 5px;
    height: 5px;
    animation-duration: 12s;
}

.hero-particles .particle:nth-child(3n) {
    width: 4px;
    height: 4px;
    opacity: 0.2;
    animation-duration: 14s;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(5px);
    }
    50% {
        transform: translateY(-25px) translateX(-5px);
    }
    75% {
        transform: translateY(-10px) translateX(10px);
    }
}

/* Hero Decorative Circles */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.decoration-circle-1 {
    width: 500px;
    height: 500px;
    background: var(--theme-primary, #3b82f6);
    top: -200px;
    right: -100px;
}

.decoration-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--theme-secondary, #1e3a8a);
    bottom: -100px;
    left: -50px;
}

/* Hero Badge - Modern SaaS Style */
.hero-badge-wrapper {
    margin-bottom: 1.25rem;
    animation: heroFadeInUp 0.6s ease-out backwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--theme-secondary, #1e3a8a);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Hero Title */
.page-hero .hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: heroFadeInUp 0.8s ease-out 0.1s backwards;
}

/* Hero Subtitle */
.page-hero .hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    animation: heroFadeInUp 0.8s ease-out 0.3s backwards;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero */
@media (max-width: 991px) {
    .page-hero {
        padding: 120px 0 50px 0;
        min-height: 280px;
    }

    .page-hero .hero-title {
        font-size: 2.25rem;
    }

    .page-hero .hero-subtitle {
        font-size: 1.05rem;
    }

    .decoration-circle-1 {
        width: 350px;
        height: 350px;
        top: -150px;
        right: -80px;
    }

    .decoration-circle-2 {
        width: 200px;
        height: 200px;
        bottom: -80px;
        left: -40px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 110px 0 40px 0;
        min-height: 240px;
    }

    .page-hero .hero-title {
        font-size: 1.75rem;
    }

    .page-hero .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .decoration-circle-1,
    .decoration-circle-2 {
        display: none;
    }
}

/* ============================================
   TABLES (Tablolar)
   Portal ile uyumlu kompakt tablo stilleri
   Bootstrap override için !important kullanılıyor
   ============================================ */

.table {
    font-size: 0.875rem !important;
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table thead {
    background-color: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.table thead th {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    padding: 0.75rem 1rem !important;
    border-bottom: none !important;
    white-space: nowrap !important;
}

.table tbody td,
.table > tbody > tr > td {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.table tbody tr:last-child td,
.table > tbody > tr:last-child > td {
    border-bottom: none !important;
}

.table tbody tr {
    transition: background-color 0.15s ease;
}

.table tbody tr:hover,
.table > tbody > tr:hover {
    background-color: #f8fafc !important;
}

/* Compact table variant */
.table-sm thead th,
.table-sm tbody td,
.table-sm > thead > tr > th,
.table-sm > tbody > tr > td {
    padding: 0.5rem 0.75rem !important;
}

/* Striped table */
.table-striped tbody tr:nth-of-type(odd),
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8fafc !important;
}

/* Bordered table */
.table-bordered {
    border: 1px solid #e2e8f0 !important;
}

.table-bordered thead th,
.table-bordered tbody td,
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
    border: 1px solid #e2e8f0 !important;
}

/* ============================================
   MOBILE RESPONSIVE FIXES (Mobil Uyumluluk Düzeltmeleri)
   Hamburger menü, hero section ve genel mobil düzenlemeler
   ============================================ */

/* Tablet ve altı - Navbar Collapse Düzeltmesi */
@media (max-width: 991px) {
    /* Navbar - mobilde solid background */
    .navbar.navbar-expanded .container,
    .navbar.navbar-compact .container {
        background: #ffffff !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    }

    /* Navbar container - mobilde relative olmalı */
    .navbar .container {
        position: relative !important;
        overflow: visible !important;
    }

    /* Mobil menü açıldığında düzgün görünsün */
    .navbar-collapse {
        background: #ffffff !important;
        padding: 0.5rem !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
        margin-top: 0.5rem !important;
        position: absolute;
        top: 100%;
        left: 0.5rem;
        right: 0.5rem;
        z-index: 1050;
        border: 1px solid #e2e8f0;
    }

    .navbar-collapse.collapsing {
        transition: height 0.25s ease;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    /* Menü linkleri düzgün hizalansın */
    .navbar-collapse .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 0.5rem 0 !important;
        margin: 0 !important;
    }

    .navbar-collapse .nav-item {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-collapse .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #f1f5f9 !important;
        color: #1e293b !important;
        font-size: 0.95rem !important;
        text-align: left !important;
        background: transparent !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .navbar-collapse .nav-item:last-child .nav-link {
        border-bottom: none !important;
    }

    .navbar-collapse .nav-link:hover {
        background-color: #f1f5f9 !important;
        color: var(--theme-primary, #2563eb) !important;
    }

    /* Underline animasyonunu mobilde kapat */
    .navbar-collapse .nav-link::before {
        display: none !important;
    }

    /* Header butonları mobilde */
    .navbar-collapse .header-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        padding: 0.75rem !important;
        border-top: 1px solid #e2e8f0 !important;
        background: #f8fafc;
        border-radius: 0 0 8px 8px;
    }

    .navbar-collapse .header-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem !important;
    }

    /* Hamburger toggle button */
    .navbar-toggler {
        border: 1px solid #e2e8f0 !important;
        padding: 0.4rem 0.6rem !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.9) !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
        outline: none !important;
    }

    .navbar-toggler-icon {
        width: 1.2em !important;
        height: 1.2em !important;
    }

    /* Hero section mobil düzeltmeleri */
    .hero-section,
    section[style*="min-height: 70vh"] {
        min-height: 60vh !important;
        padding-top: 80px !important;
    }

    /* Hero container yükseklik düzeltmesi */
    .hero-container,
    div[style*="height: 70vh"] {
        height: auto !important;
        min-height: 50vh !important;
        padding: 1rem 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Hero içerik ortalama */
    .hero-content-wrapper {
        text-align: center !important;
        padding: 1rem !important;
        width: 100% !important;
    }

    /* Bootstrap offset mobilde kaldır */
    .col-lg-5.offset-lg-6 {
        margin-left: 0 !important;
        text-align: center !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Hero başlıklar görünür olsun */
    .hero-title {
        color: white !important;
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Hero butonları mobilde */
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .hero-content-wrapper .btn,
    .hero-actions .btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

/* Mobil - 768px ve altı */
@media (max-width: 768px) {
    /* Hero section daha da küçült */
    .hero-section,
    section[style*="min-height: 70vh"] {
        min-height: 55vh !important;
        padding-top: 75px !important;
    }

    .hero-container,
    div[style*="height: 70vh"] {
        min-height: 45vh !important;
    }

    /* Navbar container tam genişlik */
    .navbar-expanded .container,
    .navbar-compact .container {
        max-width: 95% !important;
        margin: 0 auto !important;
    }

    /* Hero başlık boyutları */
    .hero-title,
    h1[style*="clamp"] {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle,
    .lead {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    /* Dekoratif elementleri gizle */
    .decoration-circle,
    .decoration-circle-1,
    .decoration-circle-2,
    div[style*="width: 500px"][style*="height: 500px"],
    div[style*="width: 400px"][style*="height: 400px"] {
        display: none !important;
    }
}

/* Küçük Mobil - 576px ve altı */
@media (max-width: 576px) {
    /* Hero section en küçük */
    .hero-section,
    section[style*="min-height: 70vh"] {
        min-height: 50vh !important;
        padding-top: 70px !important;
    }

    .hero-container,
    div[style*="height: 70vh"] {
        min-height: 40vh !important;
    }

    /* Navbar daha kompakt */
    .navbar.navbar-expanded.fixed-top,
    .navbar.navbar-compact.fixed-top {
        top: 0.5rem !important;
    }

    .navbar-expanded .container,
    .navbar-compact .container {
        max-width: 92% !important;
        padding: 0.4rem 0.75rem !important;
        height: auto !important;
        min-height: 56px !important;
    }

    /* Logo küçült */
    .navbar-logo {
        height: 36px !important;
        max-width: 130px !important;
    }

    /* Hero başlıkları küçült */
    .hero-title,
    h1[style*="clamp"] {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle,
    .lead {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    /* Butonlar tam genişlik */
    .hero-actions,
    .hero-content-wrapper .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
    }

    .hero-actions .btn,
    .hero-content-wrapper .btn {
        width: 100% !important;
        max-width: 260px !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
    }

    /* Stats counter mobil */
    .stats-counter h2 {
        font-size: 2rem !important;
    }

    /* Footer mobil */
    .site-footer {
        padding: 2rem 0 1rem !important;
    }

    .footer-logo {
        height: 40px !important;
    }
}

/* Ultra Küçük Mobil - 480px ve altı */
@media (max-width: 480px) {
    /* En küçük cihazlar için */
    .hero-section,
    section[style*="min-height: 70vh"] {
        min-height: 45vh !important;
        padding-top: 65px !important;
    }

    .hero-container,
    div[style*="height: 70vh"] {
        min-height: 35vh !important;
    }

    .navbar-expanded .container,
    .navbar-compact .container {
        max-width: 94% !important;
        padding: 0.35rem 0.6rem !important;
    }

    .navbar-logo {
        height: 32px !important;
        max-width: 120px !important;
    }

    .hero-title,
    h1[style*="clamp"] {
        font-size: 1.25rem !important;
    }

    .hero-subtitle,
    .lead {
        font-size: 0.85rem !important;
    }

    .hero-actions .btn,
    .hero-content-wrapper .btn {
        max-width: 240px !important;
        padding: 0.65rem 1rem !important;
        font-size: 0.9rem !important;
    }

    /* Navbar collapse mobil */
    .navbar-collapse {
        left: 0.5rem !important;
        right: 0.5rem !important;
        padding: 0.75rem !important;
    }

    .navbar-collapse .nav-link {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.95rem !important;
    }

    /* Particles.js performans için gizle */
    #particles-js {
        display: none !important;
    }
}

/* ============================================
   KAPSAMLI MOBİL UYUMLULUK DÜZELTMELERİ
   Tüm sayfalar için responsive düzenlemeler
   ============================================ */

/* === KRİTİK: Animasyon Wrapper ve Floating İkonlar === */
@media (max-width: 991px) {
    /* "Neden Biz" bölümü - Center animation */
    .center-animation-wrapper {
        width: clamp(200px, 70vw, 280px) !important;
        height: clamp(200px, 70vw, 280px) !important;
        margin: 0 auto !important;
    }

    /* Floating ikonlar küçült */
    .center-animation-wrapper .position-absolute[style*="width: 50px"] {
        width: 40px !important;
        height: 40px !important;
    }

    /* Why choose us icon boxes */
    div[style*="width: 48px"][style*="height: 48px"] {
        width: 40px !important;
        height: 40px !important;
    }

    /* Feature icon boxes */
    div[style*="max-width: 280px"] {
        max-width: 100% !important;
        padding: 0 0.5rem !important;
    }
}

/* === KRİTİK: Harita ve Görsel Yükseklikleri === */
@media (max-width: 768px) {
    /* Contact page - Map height */
    .ratio-21x9[style*="min-height: 450px"],
    div[style*="min-height: 450px"] {
        min-height: 300px !important;
    }

    iframe[height="450"] {
        height: 300px !important;
    }

    /* Blog page - Featured image heights */
    .featured-img[style*="min-height: 260px"],
    div[style*="min-height: 260px"] {
        min-height: 200px !important;
    }

    .card-img-top[style*="height: 160px"],
    div[style*="height: 160px"] {
        height: 130px !important;
    }

    /* Help & Retail pages - Hero min-heights */
    .bg-gradient-hero[style*="min-height: 420px"],
    .bg-gradient-hero[style*="min-height: 450px"],
    section[style*="min-height: 420px"],
    section[style*="min-height: 450px"] {
        min-height: 320px !important;
    }

    /* Feature screenshot areas */
    .feature-screenshot[style*="min-height: 400px"],
    div[style*="min-height: 400px"] {
        min-height: 280px !important;
    }
}

@media (max-width: 576px) {
    /* Daha küçük ekranlar için */
    .ratio-21x9[style*="min-height: 450px"],
    div[style*="min-height: 450px"] {
        min-height: 250px !important;
    }

    .featured-img[style*="min-height: 260px"],
    div[style*="min-height: 260px"] {
        min-height: 160px !important;
    }

    .card-img-top[style*="height: 160px"],
    div[style*="height: 160px"] {
        height: 110px !important;
    }

    .bg-gradient-hero[style*="min-height"],
    section[style*="min-height: 420px"],
    section[style*="min-height: 450px"] {
        min-height: 280px !important;
    }

    .feature-screenshot[style*="min-height: 400px"],
    div[style*="min-height: 400px"] {
        min-height: 220px !important;
    }
}

/* === BÜYÜK: Karşılaştırma Tablosu Mobil === */
@media (max-width: 768px) {
    /* Comparison table - daha dar */
    .comparison-table {
        font-size: 0.8rem !important;
    }

    .feature-name-cell {
        min-width: 120px !important;
        padding-left: 0.75rem !important;
        font-size: 0.8rem !important;
    }

    .package-cell {
        min-width: 100px !important;
        padding: 0.5rem !important;
    }

    .package-header {
        font-size: 0.85rem !important;
        padding: 0.75rem 0.5rem !important;
    }

    .package-price {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    /* Ultra-small için tablo */
    .comparison-table {
        font-size: 0.7rem !important;
    }

    .feature-name-cell {
        min-width: 90px !important;
        padding-left: 0.5rem !important;
        font-size: 0.7rem !important;
    }

    .package-cell {
        min-width: 70px !important;
        padding: 0.4rem !important;
    }

    .package-header {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.25rem !important;
    }

    .package-price {
        font-size: 0.85rem !important;
    }

    /* Comparison table wrapper - horizontal scroll */
    .comparison-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* === BÜYÜK: Page Hero ve Section Min-Heights === */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 40px 0 !important;
        min-height: 260px !important;
    }

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

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

@media (max-width: 576px) {
    .page-hero {
        padding: 85px 0 30px 0 !important;
        min-height: 220px !important;
    }

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

    .page-hero .hero-subtitle {
        font-size: 0.9rem !important;
        padding: 0 0.5rem !important;
    }

    .hero-badge {
        font-size: 0.65rem !important;
        padding: 0.35rem 0.75rem !important;
    }
}

/* === ORTA: Footer Responsive === */
@media (max-width: 768px) {
    .site-footer .col-lg-4,
    .site-footer .col-lg-2 {
        margin-bottom: 1.5rem !important;
    }

    .site-footer h6 {
        font-size: 0.95rem !important;
        margin-bottom: 0.75rem !important;
    }

    .site-footer ul li {
        margin-bottom: 0.25rem !important;
    }

    .site-footer a,
    .site-footer .text-white-50 {
        font-size: 0.875rem !important;
    }
}

@media (max-width: 576px) {
    .site-footer {
        text-align: center !important;
    }

    .site-footer .col-lg-4,
    .site-footer .col-lg-2,
    .site-footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 1.25rem !important;
    }

    .site-footer .social-links {
        justify-content: center !important;
    }

    .site-footer ul {
        padding-left: 0 !important;
    }

    .footer-logo {
        margin: 0 auto 1rem auto !important;
        display: block !important;
    }
}

/* === ORTA: Form Responsive === */
@media (max-width: 576px) {
    /* Trial form - daha kompakt */
    .form-control-lg,
    .form-select-lg {
        padding: 0.6rem 0.875rem !important;
        font-size: 0.95rem !important;
    }

    /* Feature strip - gap azalt */
    .d-flex.gap-5 {
        gap: 1rem !important;
    }

    .d-flex.gap-4 {
        gap: 0.75rem !important;
    }

    /* Form labels */
    .form-label {
        font-size: 0.9rem !important;
        margin-bottom: 0.35rem !important;
    }
}

/* === DÜŞÜK: Pricing Cards Mobil === */
@media (max-width: 768px) {
    /* Pricing featured card - scale kaldır */
    .pricing-card-premium.featured,
    .pricing-featured {
        transform: scale(1) !important;
    }

    .pricing-card-premium.featured:hover,
    .pricing-featured:hover {
        transform: translateY(-5px) !important;
    }

    /* Pricing card padding */
    .pricing-card,
    .pricing-card-premium {
        padding: 1.5rem !important;
    }

    .pricing-price .display-4,
    .pricing-price .display-5 {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .pricing-card,
    .pricing-card-premium {
        padding: 1.25rem !important;
        margin-bottom: 1rem !important;
    }

    .pricing-price .display-4,
    .pricing-price .display-5 {
        font-size: 1.75rem !important;
    }

    .pricing-features li {
        font-size: 0.875rem !important;
        padding: 0.4rem 0 !important;
    }
}

/* === DÜŞÜK: İkon ve Spacing Düzeltmeleri === */
@media (max-width: 576px) {
    /* Icon sizes */
    .feature-icon-wrapper[style*="width: 48px"],
    .why-icon-minimal {
        width: 40px !important;
        height: 40px !important;
    }

    .feature-icon-wrapper i,
    .why-icon-minimal i {
        font-size: 1.1rem !important;
    }

    /* Section spacing */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Container padding */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Text shadows - mobilde azalt */
    h1[style*="text-shadow"],
    .hero-title[style*="text-shadow"] {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
    }
}

/* === DÜŞÜK: Modern Feature Cards Mobil === */
@media (max-width: 768px) {
    .modern-feature-card {
        padding: 1.25rem !important;
    }

    .modern-feature-card h5 {
        font-size: 1rem !important;
    }

    .modern-feature-card p {
        font-size: 0.875rem !important;
    }

    .elegant-module-card {
        padding: 1.25rem !important;
    }

    .elegant-module-card .module-icon-circle {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 576px) {
    .modern-feature-card {
        padding: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .elegant-module-card {
        padding: 1rem !important;
    }

    .elegant-module-card .module-icon-circle {
        width: 50px !important;
        height: 50px !important;
    }

    .elegant-module-card h5 {
        font-size: 0.95rem !important;
    }
}

/* === Stats Counter Mobil === */
@media (max-width: 576px) {
    .stats-counter .col-6,
    .stats-counter .col-md-3 {
        padding: 0.5rem !important;
    }

    .stats-counter h2 {
        font-size: 1.75rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stats-counter p {
        font-size: 0.8rem !important;
    }
}

/* === Blog Cards Mobil === */
@media (max-width: 576px) {
    .blog-card {
        margin-bottom: 1rem !important;
    }

    .blog-card .card-body {
        padding: 1rem !important;
    }

    .blog-card .card-title {
        font-size: 1rem !important;
    }

    .blog-card .card-text {
        font-size: 0.85rem !important;
    }
}

/* === Contact Form Mobil === */
@media (max-width: 576px) {
    .contact-info-card {
        padding: 1.25rem !important;
    }

    .contact-info-card h5 {
        font-size: 1rem !important;
    }

    .contact-info-card p {
        font-size: 0.875rem !important;
    }
}

/* === FAQ Accordion Mobil === */
@media (max-width: 576px) {
    .accordion-button {
        font-size: 0.9rem !important;
        padding: 0.875rem 1rem !important;
    }

    .accordion-body {
        font-size: 0.875rem !important;
        padding: 0.875rem 1rem !important;
    }
}

/* === Checkout Page Mobil === */
@media (max-width: 576px) {
    /* Payment logos */
    img[style*="height: 20px"] {
        height: 16px !important;
    }

    /* Order summary */
    .order-summary {
        padding: 1rem !important;
    }

    .order-summary h5 {
        font-size: 1rem !important;
    }
}

/* === CTA Butonları Mobil Düzenleme === */
@media (max-width: 768px) {
    /* CTA buttons container - dikey yığ */
    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .cta-buttons .btn,
    .cta-buttons .cta-btn {
        margin: 0 !important;
        width: 100% !important;
        max-width: 320px !important;
        display: block !important;
    }

    /* Eski seçiciler için de koru */
    .text-center.mt-5.pt-4:not(.cta-buttons) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .text-center.mt-5.pt-4 .btn {
        margin: 0 !important;
        width: 100% !important;
        max-width: 320px !important;
    }

    /* btn-lg boyutunu mobil için küçült */
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    /* me-3 sınıfını mobilde kaldır */
    .text-center .btn.me-3,
    .cta-buttons .btn.me-3 {
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .text-center.mt-5.pt-4 {
        padding-top: 1.5rem !important;
        margin-top: 2rem !important;
    }

    .text-center.mt-5.pt-4 .btn {
        max-width: 280px !important;
        padding: 0.65rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    /* Hero butonları - mobil hizalama */
    .hero-content-wrapper .d-flex,
    .hero-content-wrapper .d-lg-flex {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .hero-content-wrapper .btn {
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
    }

    /* Genel inline buton grupları */
    div[style*="gap"] > .btn + .btn {
        margin-top: 0.5rem !important;
    }
}

/* === Pricing Section CTA === */
@media (max-width: 991px) {
    /* Pricing section altındaki CTA butonları */
    section:has(.pricing-card-premium) .text-center.mt-5 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    section:has(.pricing-card-premium) .text-center.mt-5 .btn {
        margin: 0 !important;
    }
}

/* === Genel Buton Responsive === */
@media (max-width: 480px) {
    /* Ultra küçük ekranlar için butonlar */
    .btn-lg {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .btn i {
        font-size: 0.9em !important;
    }

    /* İkon ve metin arasında boşluk */
    .btn i.me-2 {
        margin-right: 0.35rem !important;
    }
}

/* === Why Choose Us - Neden Biz Bölümü Mobil === */
@media (max-width: 991px) {
    /* Tüm kartlar mobilde aynı hizaya gelsin (sola) */
    .why-choose-us .why-card-minimal {
        text-align: left !important;
    }

    .why-choose-us .why-card-minimal .d-flex {
        justify-content: flex-start !important;
        flex-direction: row !important;
    }

    /* Sol taraftaki kartlar - ikonu sola al */
    .why-choose-us .col-lg-4:first-child .why-card-minimal .d-flex {
        flex-direction: row-reverse !important;
    }

    .why-choose-us .col-lg-4:first-child .why-card-minimal .d-flex > div:last-child {
        order: -1;
    }

    /* İkon her zaman solda olsun */
    .why-choose-us .why-icon-minimal {
        order: -1 !important;
    }

    /* Metin hizalama */
    .why-choose-us .why-card-minimal div[style*="max-width: 280px"] {
        max-width: 100% !important;
        text-align: left !important;
    }

    /* Kartlar arası boşluk */
    .why-choose-us .d-flex.flex-column.gap-4 {
        gap: 1.5rem !important;
    }

    /* Section başlığı */
    .why-choose-us .display-5 {
        font-size: 1.75rem !important;
    }

    .why-choose-us .lead {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    /* Daha küçük ekranlar için */
    .why-choose-us .why-card-minimal {
        padding: 1rem 0 !important;
        border-bottom: 1px solid #f1f5f9;
    }

    .why-choose-us .why-card-minimal:last-child {
        border-bottom: none;
    }

    .why-choose-us .d-flex.flex-column.gap-4 {
        gap: 0 !important;
    }

    /* Kart içeriği */
    .why-choose-us .why-card-minimal h6 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .why-choose-us .why-card-minimal p {
        font-size: 0.85rem !important;
    }

    /* İkon boyutu */
    .why-choose-us .why-icon-minimal {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }

    .why-choose-us .why-icon-minimal i {
        font-size: 1rem !important;
    }

    /* Section başlığı */
    .why-choose-us .display-5 {
        font-size: 1.5rem !important;
    }

    .why-choose-us .badge {
        font-size: 0.75rem !important;
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    /* En küçük ekranlar */
    .why-choose-us .container {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .why-choose-us .why-card-minimal {
        padding: 0.875rem 0 !important;
    }

    .why-choose-us .why-card-minimal h6 {
        font-size: 0.95rem !important;
    }

    .why-choose-us .why-card-minimal p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .why-choose-us .why-icon-minimal {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }

    .why-choose-us .display-5 {
        font-size: 1.35rem !important;
    }

    .why-choose-us .lead {
        font-size: 0.9rem !important;
        padding: 0 0.5rem !important;
    }
}
