/* =============================================
   MILLENNIUM SOFTWARE - MODERN TEMPLATE CSS
   ============================================= */

/* CSS Variables */
:root {
    --primary: #0a1628;
    --primary-light: #132240;
    --accent: #c41a1a;
    --accent-hover: #e02020;
    --accent-gradient: linear-gradient(135deg, #c41a1a 0%, #ff4444 100%);
    --blue: #1a73e8;
    --blue-light: #4a9ff5;
    --text-dark: #1a1a2e;
    --text-body: #4a4a68;
    --text-muted: #7a7a9a;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --bg-dark: #0a1628;
    --border-color: #e8ecf1;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   NAVIGATION
   ============================================= */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    transition: var(--transition);
}

.modern-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    transition: var(--transition);
}

.nav-logo .logo-dark { display: none; }
.nav-logo .logo-light { display: block; }
.modern-nav.scrolled .nav-logo .logo-dark { display: block; }
.modern-nav.scrolled .nav-logo .logo-light { display: none; }

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.modern-nav.scrolled .nav-menu > li > a {
    color: var(--text-dark);
}

.nav-menu > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.modern-nav.scrolled .nav-menu > li > a:hover {
    color: var(--accent);
    background: rgba(196, 26, 26, 0.06);
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    list-style: none;
    border: 1px solid var(--border-color);
}

.nav-menu li:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.nav-dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown li a:hover {
    color: var(--accent);
    background: rgba(196, 26, 26, 0.06);
    padding-left: 22px;
}

/* Nested Dropdown (Submenu) - Desktop */
.has-submenu {
    position: relative;
}

.has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.has-submenu .submenu-icon {
    margin-left: auto;
    font-size: 10px;
    opacity: 0.6;
    transition: var(--transition);
}

/* Desktop'ta hover için sağa kaydır */
@media (min-width: 992px) {
    .has-submenu .submenu-icon {
        transform: rotate(-90deg); /* Desktop'ta chevron-down'u sağa bakan ok yap */
    }
    
    .has-submenu:hover .submenu-icon {
        opacity: 1;
        transform: rotate(-90deg) translateX(3px);
    }
}

.nav-dropdown-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 260px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: var(--transition);
    list-style: none;
    border: 1px solid var(--border-color);
    margin-left: 8px;
    z-index: 1000;
}

.has-submenu:hover > .nav-dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-dropdown-submenu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown-submenu li a:hover {
    color: var(--accent);
    background: rgba(196, 26, 26, 0.06);
    padding-left: 22px;
}

/* Mobile Responsive Menu - YENİ TASARIM */
@media (max-width: 991px) {
    /* Nested Submenu - Mobil */
    .nav-dropdown-submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 0;
        width: 100%;
        list-style: none;
    }
    
    /* Submenu açıkken */
    .has-submenu.submenu-open > .nav-dropdown-submenu {
        display: block;
        max-height: 500px;
        padding: 10px 0 10px 35px !important;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    /* Submenu içindeki öğeler */
    .nav-dropdown-submenu li {
        list-style: none;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .nav-dropdown-submenu li a {
        padding: 12px 16px;
        font-size: 13px;
        color: var(--text-body);
        display: flex;
        align-items: center;
        border-radius: 4px;
        transition: all 0.2s ease;
    }
    
    .nav-dropdown-submenu li a:hover {
        background: rgba(196, 26, 26, 0.08);
        color: var(--accent);
        padding-left: 20px;
    }
    
    /* Submenu toggle icon - Mobilde sadece aşağı bakan ok */
    .has-submenu .submenu-icon {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
        margin-left: auto;
        font-size: 10px;
        opacity: 0.7;
    }
    
    .has-submenu.submenu-open .submenu-icon {
        transform: rotate(180deg); /* Açıldığında yukarı baksın */
        opacity: 1;
    }
    
    /* Submenu açıkken background */
    .has-submenu.submenu-open {
        background: rgba(0, 0, 0, 0.02);
    }
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.nav-toggle span {
    width: 28px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: var(--transition);
}

.modern-nav.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* Hamburger → X animasyonu (menü açıkken) */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobil menü kapat butonu - masaüstünde gizle */
.nav-close-li {
    display: none;
}

/* CTA Button in Nav */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px !important;
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: var(--radius-xl) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 26, 26, 0.35);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-wrapper {
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.5) 100%);
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 750px;
    color: #fff;
    padding: 40px 0;
}

.hero-slider .swiper-slide > .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge i {
    color: var(--accent);
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Pagination */
.hero-slider .swiper-pagination {
    bottom: 40px !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: var(--transition);
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 36px;
    border-radius: 6px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollMouse 1.5s ease-in-out infinite;
}

@keyframes scrollMouse {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary-custom:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(196, 26, 26, 0.35);
    color: #fff;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-3px);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(196, 26, 26, 0.08);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    background: var(--bg-light);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

/* Dekoratif kırmızı köşe - 25. yıl logosu ile çakıştığı için kaldırıldı
.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    z-index: -1;
}
*/

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-body);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

/* =============================================
   PRODUCTS / SERVICES CARDS
   ============================================= */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    color: #fff;
}

.product-icon.bg-1 { background: linear-gradient(135deg, #1a73e8, #4a9ff5); }
.product-icon.bg-2 { background: linear-gradient(135deg, #0d9f6e, #34d399); }
.product-icon.bg-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.product-icon.bg-4 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.product-icon.bg-5 { background: linear-gradient(135deg, #ef4444, #f87171); }
.product-icon.bg-6 { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.product-icon.bg-7 { background: linear-gradient(135deg, #64748b, #94a3b8); }
.product-icon.bg-8 { background: linear-gradient(135deg, #f97316, #fb923c); }
.product-icon.bg-9 { background: linear-gradient(135deg, #14b8a6, #5eead4); }
.product-icon.bg-10 { background: linear-gradient(135deg, #6366f1, #818cf8); }

.product-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.product-link:hover {
    gap: 14px;
    color: var(--accent-hover);
}

/* =============================================
   BRANDS / SUB-COMPANIES
   ============================================= */
.brand-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.brand-card-img {
    height: 200px;
    overflow: hidden;
}

.brand-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.brand-card:hover .brand-card-img img {
    transform: scale(1.05);
}

.brand-card-body {
    padding: 24px;
}

.brand-card-body h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.brand-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

.brand-card-link:hover {
    color: var(--accent-hover);
    gap: 12px;
}

/* =============================================
   FEATURES / WHY US
   ============================================= */
.features-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 26, 26, 0.15), transparent 70%);
    border-radius: 50%;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
}

.feature-box-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-box:hover .feature-box-icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.feature-box-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.feature-box h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* =============================================
   VIDEO SECTION
   ============================================= */
.video-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 30px 30px;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: var(--radius-lg);
}

/* =============================================
   CLIENTS / REFERENCES
   ============================================= */
.clients-section {
    background: var(--bg-light);
}

.client-logo-wrapper {
    padding: 10px;
}

.client-logo {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.client-logo:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.client-logo img {
    max-height: 45px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =============================================
   CTA / BANNER
   ============================================= */
.cta-section {
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
}

.cta-section h2 {
    color: #fff;
    font-size: 36px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #fff;
    color: var(--accent);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: var(--accent);
}

/* =============================================
   FOOTER
   ============================================= */
.modern-footer {
    background: linear-gradient(180deg, #0d1b2e 0%, #0a1628 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    position: relative;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c41a1a 0%, #ff4444 30%, #1a73e8 60%, #c41a1a 100%);
}

.footer-top-cta {
    background: linear-gradient(135deg, rgba(196,26,26,0.12) 0%, rgba(26,115,232,0.08) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 40px 0;
}

.footer-top-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-cta-text h4 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.footer-cta-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.footer-cta-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,26,26,0.3);
}

.footer-main {
    padding: 70px 0 0;
}

.footer-brand img {
    height: 42px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-badge i {
    color: #22c55e;
    font-size: 16px;
}

.footer-badge span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(196,26,26,0.25);
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 14px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    flex-shrink: 0;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-links a:hover::before {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(196,26,26,0.4);
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.footer-contact-item i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(196,26,26,0.1);
    border: 1px solid rgba(196,26,26,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.7;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 50px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0,0,0,0.15);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links li + li::before {
    display: none;
}

@media (max-width: 767px) {
    .footer-top-cta .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
    .footer-title::after {
        left: 0;
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 44px;
    }
    .section-header h2 {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    /* Hamburger → X animasyonu (menü açıkken) */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Mobil menü kapat butonu - menünün üstünde X */
    .nav-close-li {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        padding: 16px 20px;
        margin: -80px -30px 0 -30px;
        margin-bottom: 20px;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        list-style: none;
    }
    .nav-close-btn {
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        color: var(--text-dark);
        font-size: 22px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: background 0.2s ease, color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-close-btn:hover {
        background: rgba(0, 0, 0, 0.06);
        color: var(--accent);
    }
    
    .nav-menu > li > a {
        color: var(--text-dark) !important;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        font-weight: 500;
    }
    
    .nav-menu > li > a .fa-chevron-down {
        font-size: 10px;
        opacity: 0.6;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-menu > li.dropdown-open > a .fa-chevron-down {
        transform: rotate(180deg);
        opacity: 1;
    }
    
    .nav-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: none;
        width: 100%;
        list-style: none;
    }
    
    .has-dropdown.dropdown-open > .nav-dropdown {
        display: block !important;
    }
    
    .nav-dropdown li {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        display: block !important;
    }
    
    .nav-dropdown li a {
        padding: 12px 16px;
        font-size: 14px;
        color: var(--text-body);
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
    }
    
    .nav-dropdown li a:hover {
        background: rgba(196, 26, 26, 0.06);
        color: var(--accent);
        padding-left: 22px;
    }
    
    .nav-dropdown li:last-child a {
        border-bottom: none;
    }
    
    /* Dropdown toggle icon */
    .dropdown-toggle .fa-chevron-down {
        transition: transform 0.3s ease;
        font-size: 10px;
        opacity: 0.6;
    }
    
    .has-dropdown.dropdown-open > .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg);
        opacity: 1;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .about-stats {
        gap: 30px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons a {
        text-align: center;
        justify-content: center;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .about-image-wrapper::after {
        display: none;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 26px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.bg-light-custom { background: var(--bg-light); }
.bg-dark-custom { background: var(--bg-dark); }
.text-accent { color: var(--accent); }

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(196, 26, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(196, 26, 26, 0.4);
}

/* Inner page hero */
.page-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 26, 26, 0.12), transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.breadcrumb-modern {
    display: flex;
    gap: 8px;
    list-style: none;
    margin-top: 20px;
}

.breadcrumb-modern li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-modern li a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-modern li a:hover {
    color: #fff;
}

.breadcrumb-modern li + li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
    background: var(--bg-light);
}

.modern-accordion {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.modern-accordion .accordion-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-bottom: none;
    transition: var(--transition);
}

.modern-accordion .accordion-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.modern-accordion .accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.modern-accordion .accordion-button {
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
    transition: var(--transition);
}

.modern-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--accent);
    box-shadow: none;
}

.modern-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.modern-accordion .accordion-button i {
    color: var(--accent);
    font-size: 18px;
}

.modern-accordion .accordion-button:not(.collapsed) i {
    color: var(--accent);
}

.modern-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c41a1a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.3s ease;
}

.modern-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.modern-accordion .accordion-body {
    padding: 25px;
    color: var(--text-body);
    line-height: 1.8;
    background: var(--bg-white);
}

.modern-accordion .accordion-body p {
    margin-bottom: 0;
    font-size: 15px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .modern-accordion .accordion-button {
        font-size: 15px;
        padding: 18px 20px;
    }
    
    .modern-accordion .accordion-button i {
        font-size: 16px;
        margin-right: 10px !important;
    }
    
    .modern-accordion .accordion-body {
        padding: 20px;
    }
}

