/**
 * Corporate Theme - Main Stylesheet
 * Modern, clean, SEO-friendly design
 */

/* ==================== CLS PREVENTION ==================== */
/* Prevent Cumulative Layout Shift */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {--bs-gutter-x: 0 !important;}

/* Reserve space for images before loading */
img:not([width]):not([height]) {
    aspect-ratio: attr(width) / attr(height);
}

/* Product images - consistent aspect ratio */
.product-card img,
.product-image img,
.product-thumb img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Hero/Banner images */
.hero-image img,
.banner img,
.slider-image img,
.swiper-slide img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Blog post images */
.blog-card img,
.post-thumbnail img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Team/Avatar images */
.team-img,
.avatar img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ==================== ROOT VARIABLES ==================== */ */
/* Default values - header.php'den gelen değerler bunların üzerine yazılır */
:root {
    --primary-color: #f0ff80;
    --secondary-color: #1f1f1f;
    --accent-color: #000;
    --text-color: #333;
    --text-muted: #6c757d;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    
    --font-primary: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-weight: 400;
    --font-size: 16px;
    --navbar-padding-y: 15px;
    --navbar-logo-height: 50px;
    --transition: all 0.3s ease;
    
    /* Dynamic theme variables - header.php'den override edilir */
    --marquee-bg: #000000;
    --marquee-text-color: #ffffff;
    --cta-bg: #f0ff80;
    --cta-button-color: #1f1f1f;
    --split-hero-bg: #f9fafb;
    --split-hero-padding: 80px;
}

/* ==================== BASE FONT STYLES ==================== */
body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight);
    font-size: var(--font-size);
}

/* ==================== NAVBAR DYNAMIC STYLES ==================== */
.navbar {
    padding-top: var(--navbar-padding-y) !important;
    padding-bottom: var(--navbar-padding-y) !important;
}

.navbar .navbar-brand img {
    max-height: var(--navbar-logo-height) !important;
    width: auto;
}

/* ==================== DYNAMIC THEME STYLES ==================== */
/* Bu kurallar CSS değişkenlerini kullanır - header.php'den gelen verilerle çalışır */

.marquee-banner {
    background-color: var(--marquee-bg);
    color: var(--marquee-text-color);
}

.cta-section {
    background-color: var(--cta-bg);
}

.cta-button {
    background-color: var(--cta-button-color);
    color: white;
}

.split-hero-text {
    background-color: var(--split-hero-bg);
    padding: var(--split-hero-padding) 2rem;
}

/* ==================== İKAS STYLE MEGA MENU ==================== */

/* Navbar Base */
.navbar {
    /* padding değerleri header.php'den inline style ile gelir */
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #1f1f1f !important;
    padding: 10px 16px !important;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    background: #f6f8fa;
    color: #000 !important;
}

.nav-link svg {
    transition: transform 0.2s;
}

.dropdown-hover:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Header Buttons - İkas Style */
.btn-header-login {
    font-size: 14px;
    font-weight: 500;
    color: #1f1f1f;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    background: white;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-header-login:hover {
    background: #f6f8fa;
    border-color: #d1d5da;
}

.btn-header-register {
    font-size: 14px;
    font-weight: 500;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    background: #1f1f1f;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-header-register:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Dropdown Simple (for non-mega menus) */
.dropdown-hover {
    position: relative;
}

.dropdown-simple {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

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

.dropdown-simple a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #1f1f1f;
    border-radius: 8px;
    transition: all 0.2s;
}

.dropdown-simple a:hover {
    background: #f6f8fa;
    color: #000;
    transform: translateX(4px);
}

/* Mega Menu - İkas Birebir Stil */
.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    width: 880px;
    max-width: 90vw;
}

.dropdown-hover:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
    width: 100%;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Mega Menu Column */
.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mega-menu-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6e7781;
    padding: 8px 0;
    margin-bottom: 4px;
}

.mega-menu-label svg {
    width: 14px;
    height: 14px;
    color: #6e7781;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 14px;
    color: #1f1f1f;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.mega-menu-link:hover {
    background: #f6f8fa;
    color: #000;
    transform: translateX(4px);
}

.mega-menu-link span {
    font-weight: 500;
}

/* Mega Menu Highlight Box - İkas Başarı Hikayeleri */
.mega-menu-highlight {
    background: linear-gradient(135deg, #f6f8ff 0%, #fef5ff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e1e4e8;
}

.mega-menu-highlight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mega-menu-highlight-header span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6e7781;
}

.mega-menu-highlight-link {
    font-size: 12px;
    font-weight: 500;
    color: #0969da;
    text-decoration: none;
    transition: all 0.2s;
}

.mega-menu-highlight-link:hover {
    color: #0550ae;
    transform: translateX(2px);
}

.mega-menu-highlight-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Highlight Card */
.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e1e4e8;
    transition: all 0.2s;
}

.highlight-card:hover {
    border-color: #d1d5da;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.highlight-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
}

.highlight-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-info {
    flex: 1;
    min-width: 0;
}

.highlight-info h4 {
    font-size: 13px;
    font-weight: 500;
    color: #1f1f1f;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.highlight-stat {
    font-size: 13px;
    font-weight: 600;
    color: #0969da;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .mega-menu,
    .dropdown-simple {
        display: none !important;
    }
    
    .btn-header-register {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .btn-header-login {
        display: none;
    }
}

/* ==================== GLOBAL STYLES ==================== */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-color);
}

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

/* ==================== HERO SECTION ==================== */
.hero-box {
    border-radius: 20px;
    padding: 60px 40px;
    background-color: var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

/* ==================== STATS SECTION ==================== */
.stats-box {
    background-color: var(--secondary-color);
    border-radius: 20px;
    color: #fff;
    padding: 50px 40px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.stats-description {
    margin-top: 2rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.stats-cta {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.stats-cta:hover {
    color: var(--primary-color);
}

/* ==================== SECTIONS ==================== */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ==================== SERVICES ==================== */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

/* ==================== CONTENT CARDS ==================== */
.content-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    background: #fff;
}

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

.content-category {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.content-card-title a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.content-card-title a:hover {
    color: var(--accent-color);
}

.content-card-description {
    color: var(--text-muted);
    margin: 1rem 0;
}

.content-card-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.content-card-link:hover {
    text-decoration: underline;
}

.content-card-meta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ==================== BLOG CARDS ==================== */
.blog-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: #fff;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-title a {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-card-title a:hover {
    color: var(--accent-color);
}

.blog-card-excerpt {
    color: var(--text-muted);
    margin: 1rem 0;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-read-more {
    color: var(--secondary-color);
    font-weight: 600;
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* ==================== PRICING CARDS ==================== */
.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--secondary-color);
    background: var(--bg-light);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin: 10px 0 25px 0px;
}

.price-market {
    display: block;
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.price-market s {
    text-decoration: line-through;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
}

.pricing-features li.feature-not-included {
    opacity: 0.5;
}

.pricing-features li.feature-not-included .feature-icon {
    color: #9ca3af;
}

.pricing-features li.feature-not-included .feature-text {
    text-decoration: line-through;
    color: #9ca3af;
}

.feature-icon {
    color: #10b981;
    font-weight: 700;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.feature-text {
    flex: 1;
}

.pricing-card .btn {
    margin-top: auto;
}

/* ==================== TEAM SECTION ==================== */
.card-coach {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coach-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coach-description {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.team-img {
    width: 100%;
    border-radius: 15px;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.team-member-name {
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.team-member-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-member-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.team-member-link:hover {
    text-decoration: underline;
}

/* ==================== NEWSLETTER ==================== */
.newsletter-box {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.newsletter-form .input-group {
    max-width: 500px;
}

/* ==================== CTA SECTION ==================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4ff00 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--secondary-color);
    color: #fff;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

/* ==================== BUTTONS ==================== */
.btn {
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-dark {
    background: var(--secondary-color);
    color: #fff;
}

.btn-dark:hover {
    background: var(--accent-color);
    color: #fff;
}

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

.btn-outline-dark:hover {
    background: var(--secondary-color);
    color: #fff;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-box {
        padding: 40px 30px;
    }
    
    .stats-box {
        padding: 40px 30px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-box {
        padding: 2rem;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.fw-bold {
    font-weight: 700;
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.my-5 { margin-top: 3rem; margin-bottom: 3rem; }

.h-100 { height: 100%; }
.w-100 { width: 100%; }

.rounded { border-radius: 0.5rem; }

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

/* ==================== HOMEPAGE CONTENT SECTIONS ==================== */
.homepage-content-section {
    padding: 1rem 0;
    margin: 0;
    background: transparent;
}

.homepage-content-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: none;;
}

.homepage-content-section .content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.homepage-content-section .content-body h1,
.homepage-content-section .content-body h2,
.homepage-content-section .content-body h3,
.homepage-content-section .content-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.homepage-content-section .content-body p {
    margin-bottom: 1.5rem;
}

.homepage-content-section .content-body ul,
.homepage-content-section .content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.homepage-content-section .content-body li {
    margin-bottom: 0.5rem;
}

.homepage-content-section .content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.homepage-content-section .content-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.homepage-content-section .content-body a {
    color: var(--accent-color);
    text-decoration: underline;
}

.homepage-content-section .content-body a:hover {
    color: var(--primary-color);
}

.homepage-content-section .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .homepage-content-section {
        padding: 2rem 0;
    }
    
    .homepage-content-section h2 {
        font-size: 1.75rem;
    }
    
    .homepage-content-section .content-body {
        font-size: 1rem;
    }
}

/* ==================== MARQUEE BANNER ==================== */
.marquee-banner {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.50rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: marquee 8s linear infinite;
    white-space: nowrap;
    will-change: transform;
    animation-play-state: running;
}

/* Animasyon duraklamasın */
.marquee-banner:hover .marquee-content {
    animation-play-state: running;
}

.marquee-content span {
    padding: 0 15px;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-8.333%); }
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: var(--slider-height, 600px);
    min-height: var(--slider-height, 600px);
    max-height: var(--slider-height, 600px);
    overflow: hidden;
    background: #f8f9fa;
}

.slider-container {
    position: relative;
    width: 100%;
    height: var(--slider-height, 600px);
    min-height: var(--slider-height, 600px);
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--slider-height, 600px);
    min-height: var(--slider-height, 600px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.slide-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    z-index: 2 !important;
}

/* Hide inactive slide content completely */
.slide-item:not(.active) .slide-content {
    display: none;
}

/* Ensure active slide content is visible */
.slide-item.active .slide-content {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--slider-height, 100%);
    min-height: var(--slider-height, 100%);
    overflow: hidden;
    z-index: 1; /* Below content */
}

.slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: var(--slider-height, 100%) !important;
    min-height: var(--slider-height, 100%) !important;
    object-fit: var(--slider-object-fit, cover) !important;
    object-position: center !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;
}

/* Inactive slides should be completely hidden */
.slide-item:not(.active) .slide-image,
.slide-item:not(.active) .slide-image img {
    opacity: 0 !important;
    visibility: hidden !important;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    z-index: 5;
    pointer-events: none;
    padding: 0 8%;
}

.slide-content .container {
    max-width: 800px;
    width: 100%;
    text-align: left;
    padding: 0;
}

.slide-content * {
    pointer-events: auto; /* Re-enable clicks on content itself */
}

.slide-pretitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--slider-pretitle-color, #ffffff);
   
}

.slide-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--slider-title-color, #ffffff);
    line-height: 55x;
   
}

.slide-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--slider-subtitle-color, #ffffff);
    line-height: 35px;
  
}

/* Slide Buttons */
.slide-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slide-btn-primary {
    background: var(--slider-btn1-color, #667eea);
    color: #ffffff;
    border-color: var(--slider-btn1-color, #667eea);
}

.slide-btn-primary:hover {
    background: transparent;
    color: var(--slider-btn1-color, #667eea);
    border-color: var(--slider-btn1-color, #667eea);
}

.slide-btn-secondary {
    background: transparent;
    color: var(--slider-btn2-color, #ffffff);
    border-color: var(--slider-btn2-color, #ffffff);
}

.slide-btn-secondary:hover {
    background: var(--slider-btn2-color, #ffffff);
    color: #333;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: #333;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.slider-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #000;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* ==================== VIDEO HERO ==================== */
.video-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s;
    pointer-events: none;
}

.video-item.active {
    opacity: 1;
    pointer-events: auto;
}

.video-iframe,
.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== SPLIT HERO ==================== */
.split-hero {
    width: 100%;
    /* Otomatik yükseklik - içeriğe göre ayarlanır */
}

.split-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* Otomatik yükseklik - içeriğe göre ayarlanır */
}

.split-hero.layout-left .split-hero-content {
    grid-template-columns: 1fr 1fr;
}

.split-hero.layout-left .split-hero-image {
    order: 1;
}

.split-hero.layout-left .split-hero-text {
    order: 2;
}

.split-hero.layout-right .split-hero-content {
    grid-template-columns: 1fr 1fr;
}

.split-hero.layout-right .split-hero-text {
    order: 1;
}

.split-hero.layout-right .split-hero-image {
    order: 2;
}

.split-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 0.5rem;
    gap: 0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.split-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    color: #1f1f1f;
}

.split-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    max-width: 600px;
}

.split-hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

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

.split-hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.split-hero-buttons .btn-primary {
    background: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.split-hero-buttons .btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
 
}

.split-hero-buttons .btn-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.split-hero-buttons .btn-outline:hover {
    background: #000;
    color: white !important;
    transform: translateY(-2px);

}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    /* Remove top margin on mobile for full-height slider */
    .container-fluid[style*="margin-top"] {
        margin-top: 0 !important;
    }
    
    /* Mobil slider - otomatik yükseklik */
    .hero-slider,
    .video-hero {
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        border-radius: var(--slider-border-radius, 0) !important;
        overflow: hidden !important;
    }
    
    /* Aktif olmayan slaytları gizle */
    .hero-slider .slide-item:not(.active) {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        opacity: 0 !important;
    }
    
    /* Aktif slayt görünür */
    .hero-slider .slide-item.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .hero-slider .slide-item,
    .hero-slider .slide-image {
        width: 100% !important;
        height: auto !important;
        top: unset !important;
        left: unset !important;
        position: relative !important;
    }
    
    .hero-slider .slide-image img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 150px !important;
        max-height: 60vh !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        aspect-ratio: 16/9;
    }
    
    /* Mobilde metin içeriğini gizle - "Slide 1" gibi metinler çıkmasın */
    .hero-slider .slide-content {
        display: none !important;
    }
    
    .slide-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .slide-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slider-nav {
        width: 44px;
        height: 44px;
        /* Touch-friendly size (min 44x44px per Apple HIG) */
        background: rgba(255,255,255,0.95) !important;
    }
    
    .slider-nav svg {
        width: 22px;
        height: 22px;
        stroke-width: 2.5;
    }
    
    .slider-prev {
        left: 0.5rem;
    }
    
    .slider-next {
        right: 0.5rem;
    }
    
    .slider-dots {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        /* Larger touch targets on mobile */
        padding: 4px;
    }
    
    .split-hero {
        min-height: auto !important;
    }
    
    .split-hero-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        min-height: auto !important;
    }
    
    .split-hero.layout-left .split-hero-image,
    .split-hero.layout-right .split-hero-image {
        order: 1;
        /* Otomatik yükseklik - resmin oranına göre */
        min-height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .split-hero.layout-left .split-hero-image img,
    .split-hero.layout-right .split-hero-image img {
        width: auto !important;
        max-width: 100%;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .split-hero.layout-left .split-hero-text,
    .split-hero.layout-right .split-hero-text {
        order: 2;
        padding: 2rem 1.5rem !important;
    }
    
    .split-hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .split-hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .split-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .split-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .marquee-content span {
        font-size: 0.875rem;
        padding: 0 1.5rem;
    }
}

/* Extra small devices (phones in portrait, less than 576px) */
@media (max-width: 576px) {
    /* Slider container */
    .hero-slider-container {
        overflow: hidden !important;
    }
    
    .hero-slider,
    .video-hero {
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Slide item - sadece aktif görünür */
    .hero-slider .slide-item {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
    }
    
    .hero-slider .slide-item:not(.active) {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        opacity: 0 !important;
    }
    
    .hero-slider .slide-item.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Görsel tam genişlik */
    .hero-slider .slide-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
    }
    
    .hero-slider .slide-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobilde metin içeriğini gizle */
    .hero-slider .slide-content {
        display: none !important;
    }
    
    .slide-title {
        font-size: 1.5rem !important;
        padding: 0 1rem;
    }
    
    .slide-subtitle {
        font-size: 0.9rem !important;
        padding: 0 1rem;
    }
}

/* Hero Margin */
.hero-margin {
    margin-bottom: 30px;
}

/* Image Object Fit - Orantılı görüntü */
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Tam göster, kesme */
    object-position: center;
}

.split-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Split hero da tam göster */
    object-position: center;
}

/* Container adjustments */
.hero-slider .container-fluid,
.video-hero .container-fluid,
.split-hero .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.hero-slider .container,
.video-hero .container,
.split-hero .container {
    max-width: 1340px;
    margin: 0 auto;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 4rem 0;
}

/* Contained stats - background only on container */
.stats-contained .container {

    margin: 0 auto;
    padding: 4rem 2rem;
    border-radius: 16px;
}

/* Full width stats - background on whole section */
.stats-full .container-fluid {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem 3rem;
}

.stat-item {
    text-align: center;
    padding: 0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.stat-icon-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2.5rem 2rem;
    }
    
    .stat-item {
        padding: 0;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
        letter-spacing: 1px;
    }
}

/* ============================================
   HERO + STATS COMBO LAYOUT (Stacked Vertically)
   ============================================ */
.hero-stats-combo {
    display: flex;
    flex-direction: column;
}

/* Hero Container Types - Bootstrap container/container-fluid sınıfları kullanılır */

.hero-stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f0ff80;
    overflow: hidden;
    min-height: 500px;
    /* margin ve border-radius inline style ile uygulanır */
}

/* Hero Margin - Applied via inline style */

.hero-stats-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.hero-stats-content {
    max-width: 500px;
}

.hero-stats-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1f1f1f;
}

.hero-stats-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #333;
}

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

.hero-stats-buttons .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-stats-buttons .btn-dark {
    background: #1f1f1f;
    color: white;
    border: 2px solid #1f1f1f;
}

.hero-stats-buttons .btn-dark:hover {
    background: #000;
    border-color: #000;
}

.hero-stats-buttons .btn-outline-dark {
    background: transparent;
    color: #1f1f1f;
    border: 2px solid #1f1f1f;
}

.hero-stats-buttons .btn-outline-dark:hover {
    background: #1f1f1f;
    color: white;
}

.hero-stats-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.hero-stats-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Container Types - Bootstrap container/container-fluid sınıfları kullanılır */

.stats-side {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #1f1f1f;
    color: white;
    gap: 4rem;
    /* margin ve border-radius inline style ile uygulanır */
}

/* Container mode - ortalanmış, padding ve border-radius var */
.stats-side.container {
    padding: 3rem 4rem;
}

/* Container-fluid mode - kenardan kenara, içerik için padding */
.stats-side.container-fluid {
    padding: 3rem 0;
}

.stats-side.container-fluid .stats-side-grid {
    padding: 0 4rem;
}

.stats-side.container-fluid .stats-side-text {
    padding-right: 4rem;
}

.stats-side-grid {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex: 1;
}

.stat-side-item {
    display: flex;
    align-items: flex-start;
}

.stat-side-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.stat-side-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.stat-side-icon i {
    display: block;
}

.stat-side-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.5;
}

.stat-side-details {
    flex: 1;
}

.stat-side-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-side-number::after {
    content: '+';
    font-size: 1.5rem;
    opacity: 0.7;
}

.stat-side-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: capitalize;
}

.stats-side-text {
    max-width: 400px;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-side-text p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stats-side-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.stats-side-link:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-side {
        padding: 2.5rem 3rem;
        gap: 3rem;
    }
    
    .stats-side-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-stats-container {
        grid-template-columns: 1fr;
    }
    
    .hero-stats-image {
        min-height: 400px;
    }
    
    .stats-side {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .stats-side-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stats-side-text {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 2rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-stats-title {
        font-size: 2rem;
    }
    
    .hero-stats-left {
        padding: 3rem 2rem;
    }
    
    .stat-side-number {
        font-size: 2rem;
    }
    
    .stats-side-grid {
        gap: 1.5rem;
    }
}

/* ==================== LANGUAGE SWITCHER ==================== */
#langDropdown {
    min-width: 70px;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

#langDropdown:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.5rem;
    min-width: 180px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateX(5px);
}

.dropdown-item.active {
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
}

.flag-icon {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    #langDropdown {
        margin-top: 1rem;
        width: 100%;
    }
    
    .dropdown-menu {
        width: 100%;
    }
}

/* ==================== MEGA MENU ==================== */
.navbar {
    position: relative;
}

.mega-menu-item {
    position: static !important;
}

.mega-menu {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(-25px) !important;
    width: 1140px !important;
    max-width: calc(100vw - 30px);
    padding: 0px;
    padding-top: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e9ecef;
    background: white;
    z-index: 1000;
    display: none;
    overflow: visible;
    margin-top: 0px;
    top: 100%;
}

.mega-menu-wrapper {
    display: grid;
    grid-template-columns: 1fr 250px;
    min-height: auto;
    padding: 30px;
}

.mega-menu-categories {
    padding: 25px;
    padding-top: 10px;
    background: white;
}

.mega-menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 1.35rem);
    max-width: calc(33.333% - 1.35rem);
}

.mega-menu-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    padding: 0;
    color: #212529;
    border-bottom: none;
}

.mega-menu-title a {
    color: #212529;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
    font-weight: 700;
}

.mega-menu-title a:hover {
    color: var(--primary-color);
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    line-height: 1.6;
}

.mega-menu-list li {
    margin: 0;
    flex: 0 0 auto;
}

.mega-menu-list li:not(:last-child)::after {
    content: ",";
    color: #6c757d;
    margin-right: 0.35rem;
}

.mega-menu-list a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    display: inline;
    padding: 0;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.mega-menu-list a::before {
    display: none;
}

.mega-menu-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.mega-menu-show-all a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    background: transparent !important;
    padding: 0.25rem 0.5rem !important;
}

.mega-menu-show-all a:hover {
    background: rgba(var(--primary-color-rgb), 0.1) !important;
}

/* Banner */
.mega-menu-banner {
    background: linear-gradient(135deg, #f8b739 0%, #f39c12 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    width: 345px;
}

.mega-menu-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mega-menu-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.mega-menu-banner-content {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    text-align: center;
}

.mega-menu-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.mega-menu-banner-overlay {
    position: relative;
    z-index: 3;
    color: white;
}

.mega-menu-banner-overlay h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mega-menu-banner-overlay p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.4;
}

.mega-menu-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: white;
    color: #f39c12;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mega-menu-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
    color: #f39c12;
}

.mega-menu-item:hover .mega-menu {
    display: block !important;
    animation: megaMenuFadeIn 0.25s ease-out;
}

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

.mega-menu {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mega-menu:hover {
    display: block !important;
}

/* Responsive */
@media (min-width: 1400px) {
    .mega-menu {
        width: 1380px !important;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr 360px;
    }
    
    .mega-menu-column {
        flex: 0 0 calc(25% - 1.5rem);
        max-width: calc(25% - 1.5rem);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .mega-menu {
        width: 1140px !important;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr 320px;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .mega-menu {
        width: 960px !important;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr 280px;
    }
    
    .mega-menu-categories {
        padding: 1.75rem 1.5rem;
    }
    
    .mega-menu-column {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
    
    .mega-menu-banner-overlay h3 {
        font-size: 1.5rem;
    }
    
    .mega-menu-banner-overlay p {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .mega-menu {
        width: 720px !important;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr;
    }
    
    .mega-menu-categories {
        padding: 2rem 1.5rem;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-menu-banner {
        display: none;
    }
}

@media (max-width: 767px) {
    .mega-menu {
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none;
        border-radius: 0;
        max-width: 100% !important;
        margin-top: 0;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 0;
    }
    
    .mega-menu-categories {
        padding: 1.5rem 1rem;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mega-menu-title {
        font-size: 0.95rem;
        padding: 0;
        margin-bottom: 0.5rem;
    }
    
    .mega-menu-list {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.4rem 0.75rem;
    }
    
    .mega-menu-list a {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .mega-menu-banner {
        display: none;
    }
}


/* ==================== HEADER LAYOUTS ==================== */

/* E-commerce Menu Bar (Default Layout) */
.ecommerce-menu-bar {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.ecommerce-menu-bar .navbar-nav {
    gap: 0;
}

.ecommerce-menu-bar .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #333 !important;
    padding: 8px 20px !important;
    border-radius: 0;
    transition: all 0.2s;
}

.ecommerce-menu-bar .nav-link:hover {
    background: rgba(0,0,0,0.05);
    color: #000 !important;
}

/* Centered Layout */
.navbar-centered {
    position: relative;
}

.navbar-centered .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.navbar-centered .header-icons-right {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
}

.navbar-centered .navbar-nav {
    gap: 0;
}

.navbar-centered .navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 4px !important;
}

/* Full-width Layout */
.navbar-fullwidth {
    padding: 12px 0 !important;
}

.navbar-fullwidth .navbar-brand {
    flex-shrink: 0;
}

.navbar-fullwidth .navbar-nav {
    gap: 4px;
}

.navbar-fullwidth .nav-link {
    font-size: 15px;
    padding: 8px 16px !important;
}

/* Responsive */
@media (max-width: 991px) {
    .ecommerce-menu-bar {
        display: none !important;
    }
    
    .navbar-centered .header-icons-right {
        position: static;
        transform: none;
        margin-top: 16px;
        justify-content: center;
    }
    
    .navbar-fullwidth .container-fluid {
        flex-wrap: wrap;
    }
}

/* ==================== ACCORDION / FAQ SECTION ==================== */
.accordion-section,
.faq-section {
    padding: 60px 20px;
    background: #fff;
}

/* Accordion içeriğini ortala ve genişliğini sınırla */
.accordion-section > .accordion,
.faq-section > .accordion,
.accordion-section > h2 + .accordion,
.faq-section > h2 + .accordion {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-section .accordion-title,
.accordion-section > h2,
.faq-section h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color, #1e293b);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: #f8fafc;
    border: none;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    background: #f1f5f9;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color, #1e293b);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: transparent;
}

.accordion-question {
    flex: 1;
    padding-right: 16px;
    font-weight: 600;
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #64748b;
}

.accordion-icon svg {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-color, #667eea);
}

.accordion-content {
    display: none;
    padding: 0 24px 20px 24px;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-answer {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .accordion-section,
    .faq-section {
        padding: 40px 15px;
    }
    
    .accordion-section .accordion-title,
    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .accordion-header {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .accordion-answer {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }
}
