/* Enhanced Responsive Design with Complete Coverage */

/* Ultra Large Screens (2K/4K) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    /* Logo text gizle (sadece icon kalsın) */
    .logo span {
        display: none;
    }
    
    /* Nav links visible and inline */
    .nav-links {
        display: flex !important;
        position: relative !important;
        flex-direction: row !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        top: auto !important;
    }
    
    /* Hamburger hidden on desktop */
    .mobile-menu-btn {
        display: none !important;
    }
    
    .header-container {
        padding: 1.5rem 2rem;
    }
    
    .nav-links {
        gap: 3rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) and (max-width: 1919px) {
    .container {
        max-width: 1320px;
    }
    
    /* Logo text gizle (sadece icon kalsın) */
    .logo span {
        display: none;
    }
    
    /* Nav links visible and inline */
    .nav-links {
        display: flex !important;
        position: relative !important;
        flex-direction: row !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        top: auto !important;
    }
    
    /* Hamburger hidden on desktop */
    .mobile-menu-btn {
        display: none !important;
    }
    
    .header-container {
        padding: 1.25rem 1.5rem;
    }
    
    .nav-links {
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.05rem;
        padding: 0.9rem 1.3rem;
    }
    
    .logo {
        font-size: 1.75rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
    }
    
    .video-item {
        flex: 0 0 350px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
}

/* Large Desktop Screens */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
        padding: 0 1rem;
    }
    
    /* Logo text gizle (sadece icon kalsın) */
    .logo span {
        display: none;
    }
    
    /* Nav links visible and inline */
    .nav-links {
        display: flex !important;
        position: relative !important;
        flex-direction: row !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        top: auto !important;
    }
    
    /* Hamburger hidden on desktop */
    .mobile-menu-btn {
        display: none !important;
    }
    
    .header-container {
        padding: 1rem 1.25rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    /* Founders Responsive */
    .founders-grid {
        grid-template-columns: 1fr 1.4fr 1fr;
        gap: 1.5rem;
    }
    
    .founder-card.main-card {
        transform: scale(1.05);
    }
    
    .founder-avatar.main-avatar {
        width: 140px;
        height: 140px;
    }
    
    .theme-toggle {
        width: 38px;
        height: 38px;
        margin-right: 1rem;
    }
    
    .language-selector {
        padding: 0.45rem 1rem;
        font-size: 0.95rem;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
    
    .video-scroll-btn {
        width: 48px;
        height: 48px;
    }
}

/* Medium Large Screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 1rem;
    }
    
    /* Logo text gizle (sadece icon kalsın) */
    .logo span {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-right: 0.75rem;
    }
    
    .language-selector {
        padding: 0.4rem 0.9rem;
        font-size: 0.9rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-col:last-child {
        grid-column: 1 / -1;
        margin-top: 1.5rem;
    }
    
    .video-scroll-btn {
        width: 45px;
        height: 45px;
    }
}

/* Medium Screens */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .header {
        padding: 0.7rem 0;
    }
    
    .header-container {
        padding: 0.7rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo-img {
        height: 34px;
    }
    
    .theme-toggle {
        width: 34px;
        height: 34px;
        margin-right: 0.7rem;
    }
    
    .language-selector {
        padding: 0.35rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .video-scroll-btn {
        width: 42px;
        height: 42px;
    }
    
    /* Product cards responsive */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    /* News section responsive */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card {
        max-width: 100%;
    }
}

/* Small Medium Screens */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .header-container {
        padding: 0.8rem;
    }
    
    .logo {
        font-size: 1.25rem !important;
        color: #007cba !important;
        font-weight: 600;
    }
    
    .logo-img {
        height: 30px;
        margin-right: 0.4rem;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-right: 0.6rem;
    }
    
    .language-selector {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
    
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
    top: calc(var(--header-height) + 6px);
        left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
        display: block;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Grid adjustments */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Medium Large Screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-right: 0.5rem;
    }
    
    .language-selector {
        padding: 0.35rem 0.7rem;
        font-size: 0.85rem;
        margin: 1rem auto;
        text-align: center;
        justify-self: center;
    }
    
    .language-dropdown {
        min-width: 180px;
        position: relative;
        z-index: 1000;
    }
    
    .language-dropdown .dropdown-content {
        position: relative;
        display: block;
        position: static;
        box-shadow: none;
        background: transparent;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        margin-top: 0.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-col:last-child {
        grid-column: 1 / -1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .video-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .video-controls {
        display: none; /* Hide scroll buttons on medium screens */
    }
}

/* ========================================= */
/* UNIVERSAL SMART NAVBAR - Auto Collapse */
/* Dil ve Tema her zaman görünür */
/* Nav linkler hamburger menüde */
/* ========================================= */

/* Desktop: Full navbar visible (> 1350px) */
@media (min-width: 1351px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-height: none !important;
        overflow: visible !important;
        gap: 1.5rem;
    }
    
    .nav-links li {
        opacity: 1 !important;
        transform: none !important;
        border: none !important;
        width: auto !important;
    }
    
    .nav-link {
        display: inline-flex !important;
        width: auto !important;
        text-align: center !important;
    }
    
    .desktop-lang-selector {
        display: flex !important;
    }
    
    .mobile-lang-item {
        display: none !important;
    }
}

/* Step 1: Slight compression (1201px - 1350px) */
@media (max-width: 1350px) and (min-width: 1201px) {
    .nav-links {
        gap: 1.5rem !important;
    }
    
    .nav-link {
        font-size: 0.9rem !important;
    }
}

/* Step 2: More compression (1101px - 1200px) */
@media (max-width: 1200px) and (min-width: 1101px) {
    .nav-links {
        gap: 1.2rem !important;
    }
    
    .nav-link {
        font-size: 0.85rem !important;
    }
}

/* Step 3: Maximum compression before hamburger (1025px - 1100px) */
@media (max-width: 1100px) and (min-width: 1025px) {
    .nav-links {
        gap: 0.8rem !important;
    }
    
    .nav-link {
        font-size: 0.8rem !important;
    }
}

/* UNIVERSAL HAMBURGER MODE: (< 1200px) */
/* Dil ve Tema dışarıda, Nav linkler hamburger'da */
@media (max-width: 1199px) {
    /* Header items yan yana mobilde */
    .header-right {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .primary-nav {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    /* Always show theme & language (outside) */
    .theme-toggle,
    .desktop-lang-selector {
        display: flex !important;
        z-index: 1002;
    }
    
    /* Hide nav links by default */
    .nav-links {
        display: none !important;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    /* When menu is open */
    .nav-links.active {
        display: flex !important;
    }
    
    /* Show hamburger button */
    .mobile-menu-btn {
        display: flex !important;
        z-index: 1002;
    }
    
    /* Mobile lang selector hidden */
    .mobile-lang-selector {
        display: none !important;
    }
    
    /* Nav items full width in mobile */
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem !important;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        justify-items: center;
        text-align: center;
    }

    .hero-text {
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-video {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    /* Responsive Founders - Mobile Stack */
    .founders-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .founder-card.main-card {
        order: -1;
        transform: scale(1) !important;
    }
    
    .founder-card.secondary-card {
        transform: scale(1) !important;
        opacity: 1;
    }
    
    .founder-avatar.main-avatar {
        width: 130px;
        height: 130px;
    }
    
    .founder-name.main-name {
        font-size: 1.8rem;
    }
}

/* Tablet Screens */
@media (max-width: 768px) {
    .container {
        max-width: 576px;
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 1rem;
    }
    
    /* Mobile Logo Fix - Responsive Scaling */
    .logo {
        font-size: 1rem !important;
        color: #007cba !important;
        font-weight: 600;
        display: flex;
        align-items: center;
        white-space: nowrap;
        max-width: 60vw; /* Logo ekran genişliğinin %60'ını geçmesin */
    }
    
    .logo-img {
        height: 32px !important; /* Biraz büyüt ama kontrollü */
        width: auto;
        margin-right: 0.4rem;
        flex-shrink: 0; /* Logo küçülmesin */
    }
    
    .logo-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Mobile Navigation - Vertical Layout (Aşağıya Doğru) */
    .nav-links {
        position: fixed !important;
    top: calc(var(--header-height) + 6px) !important;
        left: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: var(--bg-primary) !important;
        flex-direction: column !important; /* Dikey sıralama */
        align-items: stretch !important; /* Tam genişlik */
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 0 !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.3) !important;
        transform: translateX(100%) !important; /* Başlangıçta sağda gizli */
        opacity: 0 !important;
        visibility: hidden !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.35s ease,
                    visibility 0.35s ease !important;
        z-index: 999 !important;
        border-top: 1px solid var(--border-color) !important;
        pointer-events: none !important; /* Kapalıyken tıklanamaz */
        
        /* Smooth scrolling inside menu */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
    }
    
    /* Custom scrollbar for mobile menu */
    .nav-links::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-links::-webkit-scrollbar-track {
        background: var(--bg-secondary);
    }
    
    .nav-links::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }
    
    .nav-links::-webkit-scrollbar-thumb:hover {
        background: var(--primary-hover);
    }
    
    /* Nav links dikey sıralama */
    .nav-links li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    /* Staggered animation when menu opens */
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(8) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(9) { transition-delay: 0.45s; }
    .nav-links.active li:nth-child(10) { transition-delay: 0.5s; }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    /* Nav items responsive wrapping */
    .header-right {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap; /* Sarmalama */
    }
    
    /* Language selector - Always visible outside hamburger */
    .desktop-lang-selector {
        display: flex !important;
        padding: 0.4rem 0.7rem !important;
        font-size: 0.85rem !important;
        min-width: auto;
    }
    
    /* Hide mobile language item everywhere (using desktop selector) */
    .mobile-lang-item {
        display: none !important;
    }
    
    /* Theme toggle - Always visible outside hamburger */
    .theme-toggle {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        margin-right: 0.5rem !important;
    }
    
    /* Health theme mobile nav */
    [data-theme="health"] .nav-links {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }
    
    /* Tech theme mobile nav */
    [data-theme="tech"] .nav-links {
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid #333333;
    }
    
    .nav-links.active {
        transform: translateX(0) !important; /* Ekrana kaydır */
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important; /* Açıkken tıklanabilir */
        display: flex !important; /* Açıkken göster */
    }
    
    /* Desktop'ta navbar'ı göster ve kilidi aç */
    @media (min-width: 1025px) {
        .nav-links {
            position: static !important;
            transform: none !important;
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: auto !important;
            display: flex !important;
            flex-direction: row !important;
            padding: 0.35rem 0.5rem !important;
            max-height: none !important;
            overflow: visible !important;
        }
        
        /* Desktop nav links horizontal */
        .nav-links li {
            width: auto !important;
            border: none !important;
            margin: 0 !important;
        }
        
        /* Desktop nav link styling */
        .nav-link {
            display: inline-flex !important;
            width: auto !important;
            padding: 0.65rem 1.1rem !important;
            text-align: center !important;
        }
        
        /* Desktop theme & lang selectors */
        .nav-links .theme-toggle,
        .nav-links .language-selector {
            width: auto !important;
            height: auto !important;
            padding: 0.5rem !important;
        }
        
        .nav-links .theme-toggle::after {
            display: none !important;
        }
    }
    
    /* Nav link styling - Mobile hamburger menu (< 1025px) */
    .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        text-align: left !important;
        color: var(--text-primary) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        border-left: 3px solid transparent !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--bg-secondary) !important;
        border-left-color: var(--primary-color) !important;
        padding-left: 2rem !important;
    }
    
    .nav-link.active {
        font-weight: 600 !important;
        color: var(--primary-color) !important;
    }
    
    /* Mobile nav items - Alt alta sıralı (ONLY nav links) */
    .nav-links .nav-item,
    .nav-links .nav-item-dropdown {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Mobile language item HIDDEN (using desktop selector instead) */
    .nav-links .mobile-lang-item {
        display: none !important;
    }
    
    .nav-links .theme-toggle::after {
        content: attr(title);
        font-size: 1rem;
        font-weight: 500;
    }
    
    /* NOTE: Language selector and theme toggle are now ALWAYS outside hamburger menu */
    /* They remain in .header-right at all screen sizes */
    /* NO mobile-specific styling needed for nav-links .language-selector */
    
    /* Hamburger Menu Button - 3 Dots Style */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        flex-shrink: 0;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .mobile-menu-btn span::before,
    .mobile-menu-btn span::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn span::before {
        top: -7px;
    }
    
    .mobile-menu-btn span::after {
        bottom: -7px;
    }
    
    /* Hamburger X animation when active */
    .mobile-menu-btn.active span {
        background: transparent;
    }
    
    .mobile-menu-btn.active span::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .mobile-menu-btn.active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    .mobile-lang-selector {
        display: block;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .mobile-lang-title {
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }
    
    .mobile-lang-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .mobile-lang-option {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
        text-decoration: none;
        color: var(--text-primary);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        transition: var(--transition);
    }
    
    .mobile-lang-option:hover,
    .mobile-lang-option.active {
        background: var(--bg-secondary);
        color: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    /* Health theme mobile lang options */
    [data-theme="health"] .mobile-lang-option:hover,
    [data-theme="health"] .mobile-lang-option.active {
        background: #f0fdf4;
        color: #059669;
        border-color: #059669;
    }
    
    /* Tech theme mobile lang options */
    [data-theme="tech"] .mobile-lang-option:hover,
    [data-theme="tech"] .mobile-lang-option.active {
        background: #1a1a1a;
        color: #ffffff;
        border-color: #666666;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections Mobile */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* VitaxTV Mobile */
    .featured-video .video-thumbnail {
        height: 250px;
    }
    
    .featured-video .video-info {
        padding: 1.5rem;
    }
    
    .featured-video .video-title {
        font-size: 1.25rem;
    }
    
    .featured-video .video-description {
        font-size: 0.95rem;
    }
    
    .featured-video .play-overlay {
        width: 70px;
        height: 70px;
    }
    
    .featured-video .play-overlay i {
        font-size: 1.75rem;
    }
    
    .video-stats {
        gap: 1.5rem;
    }
    
    .video-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    /* News Slider Mobile */
    .news-card {
        flex: 0 0 300px;
    }
    
    .news-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .news-modal-header {
        height: 200px;
    }
    
    .news-modal-body {
        padding: 1.5rem;
    }
    
    .news-modal-title {
        font-size: 1.5rem;
    }
    
    /* Contact Form Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        order: 2;
    }
    
    .contact-info {
        order: 1;
        gap: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-control {
        padding: 1rem;
        font-size: 1rem;
    }
    
    textarea.form-control {
        min-height: 150px;
    }
    
    /* Footer Mobile - Improved Layout */
    .footer {
        padding: 2.5rem 1rem 1.5rem;
        overflow-x: hidden; /* Yatay taşma engelle */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .footer-col {
        text-align: center;
        padding: 1rem 0.5rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-col-company {
        max-width: none;
        padding: 0 1rem;
    }
    
    /* Company Logo in Footer - Responsive */
    .footer-col-company .logo-img,
    .footer-col-company img {
        height: 50px !important;
        width: auto !important;
        max-width: 80%;
        margin: 0 auto 1rem;
        display: block;
    }
    
    .footer-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .footer-stats .stat-item {
        flex: 0 1 calc(50% - 1rem); /* 2 sütun */
        min-width: 120px;
        max-width: 150px;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }
    
    .footer-col p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-col ul li {
        margin-bottom: 0.75rem;
    }
    
    .footer-col ul li a {
        color: #cccccc;
        text-decoration: none;
        transition: var(--transition);
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        word-wrap: break-word;
    }
    
    .footer-col ul li a:hover {
        color: var(--primary-color);
        transform: translateX(3px);
    }
    
    /* Footer Contact Mobile - Enhanced */
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .footer-contact-item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 0.75rem;
        gap: 1rem;
    }
    
    .footer-contact-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .footer-contact-text {
        flex: 1;
        min-width: 0; /* Text truncation için */
    }
    
    .footer-contact-text h5 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
        opacity: 0.8;
    }
    
    .footer-contact-text p,
    .footer-contact-text a {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Social Links Mobile */
    .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
        padding: 0;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        transform: translateY(-3px);
        background: var(--primary-color);
    }
    
    /* Footer Bottom - Fixed Layout */
    .footer-bottom {
        text-align: center;
        padding: 1.5rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 2rem;
        position: relative;
        z-index: 10;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-bottom p {
        font-size: 0.9rem;
        margin: 0;
        font-weight: 500;
        color: #ffffff;
    }    .theme-toggle {
        width: 30px;
        height: 30px;
    }
}

/* Small Mobile Screens */
@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2.25rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .feature-card,
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    /* Contact Small Mobile */
    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0 -0.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.25rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .form-control {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    /* VitaxTV Small Mobile */
    .featured-video .video-thumbnail {
        height: 200px;
    }
    
    .featured-video .video-info {
        padding: 1rem;
    }
    
    .featured-video .video-title {
        font-size: 1.1rem;
    }
    
    .featured-video .video-description {
        font-size: 0.9rem;
    }
    
    .featured-video .play-overlay {
        width: 60px;
        height: 60px;
    }
    
    .featured-video .play-overlay i {
        font-size: 1.5rem;
    }
    
    .video-stats {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .news-card {
        flex: 0 0 260px;
    }
    
    .mobile-lang-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-control {
        padding: 0.875rem;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
        margin-right: 0.5rem;
    }
}

/* Extra Small Screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-right: 0.5rem;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
    
    .header-container {
        padding: 0.75rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    /* Contact Extra Small */
    .contact-form {
        padding: 1.25rem 0.75rem;
        margin: 0;
        border-radius: 8px;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-details p {
        font-size: 0.875rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .featured-video .video-thumbnail {
        height: 180px;
    }
    
    .featured-video .video-info {
        padding: 0.75rem;
    }
    
    .featured-video .video-title {
        font-size: 1rem;
    }
    
    .featured-video .video-description {
        font-size: 0.85rem;
    }
    
    .featured-video .play-overlay {
        width: 50px;
        height: 50px;
    }
    
    .featured-video .play-overlay i {
        font-size: 1.25rem;
    }
    
    .news-card {
        flex: 0 0 240px;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .nav-links {
        top: 60px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Dark Theme Responsive Adjustments */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background: var(--bg-primary);
        border-top-color: var(--border-color);
    }
    
    [data-theme="dark"] .mobile-lang-option {
        border-color: var(--border-color);
        color: var(--text-primary);
    }
    
    [data-theme="dark"] .mobile-lang-option:hover,
    [data-theme="dark"] .mobile-lang-option.active {
        background: var(--bg-secondary);
        color: var(--primary-color);
        border-color: var(--primary-color);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .feature-card,
    .service-card,
    .founder-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .news-card {
        flex: 0 0 280px;
    }
    
    .mobile-lang-grid {
        grid-template-columns: 1fr;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        align-self: center;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .scroll-top-btn,
    .floating-icons,
    .mobile-menu-btn,
    .language-selector,
    .news-scroll-hint {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: none;
    }
    
    .section {
        padding: 2rem 0 !important;
        page-break-inside: avoid;
    }
    
    .hero {
        padding: 2rem 0 !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-icons,
    .spinner,
    .btn::before {
        display: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --bg-primary: #111827;
        --bg-secondary: #1f2937;
        --border-color: #374151;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    }
    
    .header {
        background: rgba(17, 24, 39, 0.95);
        border-bottom-color: var(--border-color);
    }
    
    .header.scrolled {
        background: rgba(17, 24, 39, 0.98);
    }
    
    .logo {
        color: var(--primary-light);
    }
    
    .nav-link {
        color: var(--text-primary);
    }
    
    .language-selector {
        background: var(--bg-secondary);
        border-color: var(--border-color);
        color: var(--text-primary);
    }
    
    .language-dropdown {
        background: var(--bg-primary);
        border-color: var(--border-color);
    }
    
    .lang-option {
        color: var(--text-primary);
        border-color: var(--border-color);
    }
    
    .feature-card,
    .service-card,
    .founder-card,
    .contact-form {
        background: var(--bg-secondary);
        border-color: var(--border-color);
    }
    
    .form-control {
        background: var(--bg-primary);
        border-color: var(--border-color);
        color: var(--text-primary);
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
    }
    
    .news-card {
        background: var(--bg-secondary);
    }
    
    .news-category {
        background: var(--bg-primary);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link::after {
        display: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .founder-card:hover,
    .news-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .scroll-top-btn:hover {
        transform: none;
    }
    
    .play-button:hover {
        transform: none;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .service-card,
    .founder-card {
        padding: 1rem;
    }
    
    .news-card {
        flex: 0 0 260px;
    }
}

/* Mobile and Very Small Screens (Below 576px) */
@media (max-width: 575px) {
    /* General Container Adjustments */
    .container {
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
    }
    
    body {
        font-size: 14px !important;
        line-height: 1.4 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* Header Mobile Optimizations */
    header {
        padding: 8px 10px !important;
        min-height: 60px !important;
        position: relative !important;
    }
    
    header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    /* Logo Mobile Size */
    .logo img {
        max-height: 35px !important;
        width: auto !important;
    }
    
    /* Navigation Mobile Hamburger */
    .nav-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        flex-direction: column !important;
        padding: 10px !important;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu a {
        display: block !important;
        padding: 12px 15px !important;
        border-bottom: 1px solid #eee !important;
        text-decoration: none !important;
        color: #333 !important;
        font-size: 14px !important;
    }
    
    .nav-menu a:last-child {
        border-bottom: none !important;
    }
    
    /* Mobile Hamburger Button */
    .mobile-menu-toggle {
        display: block !important;
        background: none !important;
        border: none !important;
        font-size: 24px !important;
        cursor: pointer !important;
        padding: 5px !important;
        line-height: 1 !important;
    }
    
    /* Language Selector Mobile */
    .language-selector {
        position: relative !important;
        margin: 5px 0 !important;
    }
    
    .language-selector select {
        padding: 8px 30px 8px 12px !important;
        font-size: 12px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        background: white !important;
        min-width: 100px !important;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 30px 15px !important;
        text-align: center !important;
        min-height: auto !important;
        background-attachment: scroll !important;
    }
    
    .hero h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .hero p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
    
    .hero .cta-button {
        padding: 12px 25px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
        display: inline-block !important;
        margin: 10px 5px !important;
        min-width: 120px !important;
        text-align: center !important;
    }
    
    /* Features Section Mobile */
    .features {
        padding: 30px 15px !important;
    }
    
    .features h2 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .features-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .feature-item {
        padding: 20px 15px !important;
        text-align: center !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        background: white !important;
    }
    
    .feature-item h3 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .feature-item p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    
    /* Vitax Band Section Mobile */
    .vitax-section {
        padding: 30px 15px !important;
    }
    
    .vitax-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
    }
    
    .vitax-info {
        order: 2 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .vitax-info h2 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .vitax-info p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    
    .vitax-image {
        order: 1 !important;
        width: 100% !important;
        max-width: 250px !important;
    }
    
    .vitax-image img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }
    
    /* Watch Icon for VitaxBand Mobile */
    .vitax-band-button {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .vitax-band-button::before {
        content: "⌚" !important;
        font-size: 16px !important;
        margin-right: 5px !important;
    }
    
    /* News Section Mobile */
    .news {
        padding: 30px 15px !important;
    }
    
    .news h2 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .news-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .news-item {
        padding: 15px !important;
        border: 1px solid #eee !important;
        border-radius: 6px !important;
        background: white !important;
    }
    
    .news-item h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .news-item p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    
    .news-item .date {
        font-size: 11px !important;
        color: #666 !important;
    }
    
    /* Contact Section Mobile */
    .contact {
        padding: 30px 15px !important;
    }
    
    .contact h2 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .contact-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        font-size: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form textarea {
        min-height: 100px !important;
        resize: vertical !important;
    }
    
    .contact-form button {
        padding: 12px !important;
        font-size: 14px !important;
        border: none !important;
        border-radius: 4px !important;
        background: #007cba !important;
        color: white !important;
        cursor: pointer !important;
    }
    
    /* Footer Mobile */
    footer {
        padding: 20px 15px !important;
        text-align: center !important;
    }
    
    footer .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }
    
    footer p {
        font-size: 12px !important;
        margin: 0 !important;
    }
    
    /* Modal Mobile Optimization */
    .modal {
        padding: 10px !important;
    }
    
    .modal-content {
        width: 95% !important;
        max-width: none !important;
        margin: 20px auto !important;
        padding: 20px 15px !important;
        border-radius: 8px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    .modal-header h2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .modal-body {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    .close {
        top: 10px !important;
        right: 15px !important;
        font-size: 24px !important;
        padding: 5px !important;
    }
    
    /* Admin Panel Mobile */
    #visitors-list {
        padding: 10px !important;
        margin: 10px 0 !important;
    }
    
    #visitors-list .stat-card {
        margin-bottom: 15px !important;
        padding: 15px 10px !important;
    }
    
    #visitors-list .stats-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    #visitors-list button {
        padding: 8px 12px !important;
        font-size: 12px !important;
        margin: 2px !important;
    }
    
    /* Table Mobile Responsiveness */
    table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
    }
    
    th, td {
        padding: 8px 4px !important;
        font-size: 11px !important;
    }
    
    /* Utility Classes for Mobile */
    .mobile-only {
        display: block !important;
    }
    
    .mobile-hidden {
        display: none !important;
    }
    
    .text-mobile-center {
        text-align: center !important;
    }
    
    .flex-mobile-column {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Animation Adjustments for Mobile */
    @keyframes pulse {
        0% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(0.95); }
        100% { opacity: 1; transform: scale(1); }
    }
    
    /* Touch Optimizations */
    button, .cta-button, .news-item, .feature-item {
        min-height: 44px !important;
        touch-action: manipulation !important;
    }
    
    /* Prevent horizontal scroll on mobile */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    img, video {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ========================================= */
/* EXTRA SMALL DEVICES (< 480px) */
/* ========================================= */
@media (max-width: 480px) {
    /* Ultra Small Screen Logo */
    .logo {
        font-size: 0.9rem !important;
        max-width: 50vw !important;
    }
    
    .logo-img {
        height: 28px !important;
        margin-right: 0.3rem !important;
    }
    
    /* Navbar ultra compact */
    .header-container {
        padding: 0.75rem 0.5rem !important;
    }
    
    .desktop-lang-selector,
    .language-selector {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.75rem !important;
        min-width: 60px !important;
    }
    
    .theme-toggle {
        width: 32px !important;
        height: 32px !important;
        margin-right: 0.3rem !important;
    }
    
    .mobile-menu-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    .mobile-menu-btn span {
        width: 20px !important;
    }
    
    .mobile-menu-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    /* Footer Ultra Small */
    .footer {
        padding: 2rem 0.75rem 1rem !important;
    }
    
    .footer-col {
        padding: 0.75rem 0.25rem !important;
    }
    
    .footer-col-company .logo-img,
    .footer-col-company img {
        height: 40px !important;
        max-width: 90% !important;
    }
    
    .footer-stats .stat-item {
        flex: 0 1 100%; /* Tek sütun */
        max-width: 200px;
    }
    
    .footer-contact-item {
        max-width: 100%;
        padding: 0.5rem;
    }
    
    .footer-contact-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
    }
    
    .social-links a {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .footer-bottom {
        padding: 1rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
    
    .footer-bottom p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
}

/* ========================================= */
/* LANDSCAPE MOBILE (Height < 500px) */
/* ========================================= */
@media (max-height: 500px) and (orientation: landscape) {
    .logo-img {
        height: 30px !important;
    }
    
    .header-container {
        padding: 0.5rem 1rem !important;
    }
    
    .nav-links {
        top: 60px;
        max-height: calc(100vh - 60px);
        padding: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

/* ========================================= */
/* NAVBAR OVERFLOW FIX - All Sizes */
/* ========================================= */
@media (max-width: 1024px) {
    /* Prevent navbar items from overlapping logo */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow: visible;
    }
    
    .header-left {
        flex: 0 0 auto;
        max-width: 60%;
        min-width: 0;
    }
    
    .header-right {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow: visible;
    }
    
    /* Three-dot menu when space is tight */
    @supports (display: flex) {
        .nav-links:not(.active) {
            display: none;
        }
    }
}

/* ========================================= */
/* MOBILE MENU OVERLAY (Backdrop) */
/* ========================================= */
@media (max-width: 1024px) {
    /* Dark overlay behind mobile menu */
    body.menu-open::before {
        content: '';
        position: fixed;
    top: calc(var(--header-height) + 6px);
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    body.menu-open::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* ========================================= */
/* FOOTER LOGO SPECIFIC FIX */
/* ========================================= */
.footer-col-company .logo,
.footer-col-company .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-col-company .logo-img {
    max-width: 180px !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .footer-col-company .logo-img {
        max-width: 150px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .footer-col-company .logo-img {
        max-width: 120px !important;
        height: auto !important;
    }
}

@media (max-width: 1024px) {
    .primary-nav {
        width: 100%;
        justify-content: flex-end;
    }

    .nav-links {
        padding: 1.25rem 1.5rem !important;
        gap: 0 !important;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(15, 118, 110, 0.18) !important;
    }

    [data-theme="tech"] .nav-links {
        background: rgba(8, 8, 8, 0.96) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-links li {
        border: none !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .nav-link {
        margin: 0.35rem 0.25rem !important;
        padding: 1rem 1.25rem !important;
        border-radius: var(--border-radius-lg) !important;
        border: 1px solid transparent !important;
        border-left: none !important;
        text-align: left !important;
    }

    .nav-link:hover,
    .nav-link:focus-visible,
    .nav-link.active {
        background: rgba(59, 130, 246, 0.12) !important;
        border-color: rgba(59, 130, 246, 0.28) !important;
        color: var(--primary-color) !important;
        padding-left: 1.25rem !important;
    }

    [data-theme="health"] .nav-link:hover,
    [data-theme="health"] .nav-link:focus-visible,
    [data-theme="health"] .nav-link.active {
        background: rgba(5, 150, 105, 0.14) !important;
        border-color: rgba(5, 150, 105, 0.32) !important;
        color: #047857 !important;
    }

    [data-theme="tech"] .nav-link:hover,
    [data-theme="tech"] .nav-link:focus-visible,
    [data-theme="tech"] .nav-link.active {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.24) !important;
        color: #ffffff !important;
    }

    .nav-link.nav-link-cta {
        margin-top: 1.25rem !important;
        text-align: center !important;
        box-shadow: 0 20px 46px -18px rgba(37, 99, 235, 0.45) !important;
        color: #ffffff !important;
        border-color: transparent !important;
    }

    .nav-link.nav-link-cta:hover,
    .nav-link.nav-link-cta:focus-visible,
    .nav-link.nav-link-cta.active {
        color: #ffffff !important;
        border-color: transparent !important;
    }

    .mobile-lang-selector {
        margin: 1.75rem 0 0;
        padding-top: 1.5rem;
    }

    .mobile-lang-grid {
        gap: 0.75rem;
    }
}

.menu-backdrop.active {
    z-index: 998;
}

@media (max-width: 640px) {
    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero {
        padding: 90px 0 56px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .features-grid,
    .services-grid,
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .service-card,
    .founder-card {
        padding: 2rem 1.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-text,
    .contact-info {
        text-align: left;
    }

    .contact-item {
        gap: 0.75rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .single-video-container,
    .hero-video {
        max-width: 100%;
    }

    .featured-video .video-thumbnail {
        height: 260px;
    }

    .news-slider {
        gap: 1.25rem;
        padding: 0.5rem 0.25rem;
    }

    .news-card {
        flex: 0 0 min(85vw, 320px);
    }

    .news-scroll-hint {
        font-size: 0.85rem;
    }

    .contact-content {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 48px 0;
    }

    .feature-card,
    .service-card,
    .founder-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-form {
        padding: 1.75rem 1.25rem;
    }

    .featured-video .video-thumbnail {
        height: 220px;
    }

    .news-card {
        flex: 0 0 90vw;
    }
}