/* assets/css/styles.css */
:root {
    /* Sydnar Tech Corporate Colors */
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(59, 130, 246, 0.3);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    
    --glass-blur: blur(16px);
    
    --font-main: 'Inter', sans-serif;
}

/* ========== Şaheser Light Mode ========== */
[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border-light: #e2e8f0;
    --border-hover: rgba(59, 130, 246, 0.25);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --glass-blur: blur(12px);
}

/* Light: Glow iptal, zarif gölge */
[data-theme="light"] .orb-1,
[data-theme="light"] .orb-2,
[data-theme="light"] .orb-3 { display: none !important; }
[data-theme="light"] .backdrop-blur-overlay { background: rgba(248,250,252,0.6); }
[data-theme="light"] .navbar.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
[data-theme="light"] .service-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .table-card,
[data-theme="light"] .glass-panel,
[data-theme="light"] .cta-box { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: #e2e8f0; }
[data-theme="light"] .service-card:hover,
[data-theme="light"] .stat-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.08); transform: translateY(-5px); }
[data-theme="light"] .service-card::before { background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, transparent 100%); }
[data-theme="light"] .footer { background: #ffffff; border-top: 1px solid #e2e8f0; }
[data-theme="light"] .footer-logo,
[data-theme="light"] .footer-links h4,
[data-theme="light"] .footer-contact h4 { color: #0f172a; }
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 { color: #0f172a; }
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .btn-outline { background: rgba(0,0,0,0.02); border-color: #e2e8f0; }
[data-theme="light"] .btn-outline:hover { background: rgba(0,0,0,0.05); border-color: #cbd5e1; }
[data-theme="light"] .nav-link { color: #334155; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: var(--accent-blue); }
[data-theme="light"] .hamburger span.bar { background: #0f172a; }
[data-theme="light"] .nav-logo img { filter: none; }
[data-theme="light"] .hero-scroll a { color: #64748b; border-color: #cbd5e1; }
[data-theme="light"] .lang-dropdown-btn { background: rgba(0,0,0,0.03) !important; border-color: #e2e8f0 !important; color: #0f172a !important; }
[data-theme="light"] .lang-dropdown-menu { background: #ffffff !important; border-color: #e2e8f0 !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; }
[data-theme="light"] #themeToggle { color: #f59e0b; }
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select { background: #f8fafc !important; border-color: #e2e8f0 !important; color: #0f172a !important; }
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder { color: #94a3b8 !important; }


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar for Modern Aesthetics */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 10px;
    transition: 0.3s;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Hide TinyMCE Notifications - Professional Polish */
.tox-notifications-container, .tox-statusbar__branding { 
    display: none !important; 
}

/* Neon Buttons and Polish */
.neon-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(139, 92, 246, 0.4) !important;
    filter: brightness(1.1);
}
.neon-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}
.neon-btn-primary:hover::after {
    opacity: 1;
    transform: translate(10%, 10%);
}

.neon-btn-outline:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255,255,255,0.1) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    color: #fff;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem; /* Reduced font size */
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent wrap */
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--text-main);
}
.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 10001;
    padding: 5px;
}
.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    transform-origin: center;
}
/* Hamburger X animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Antigravity Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-canvas-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    transform: translate(-50%, -50%); /* Centered transform origin handled via JS mostly */
    will-change: transform;
}

.orb-1 {
    width: 45vw; height: 45vw;
    background: var(--accent-blue);
    top: 20%; left: 0%;
}
.orb-2 {
    width: 35vw; height: 35vw;
    background: var(--accent-purple);
    top: 60%; right: 0%;
}
.orb-3 {
    width: 40vw; height: 40vw;
    background: linear-gradient(var(--accent-blue), var(--accent-purple));
    bottom: -15%; left: 30%;
}

.backdrop-blur-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(100px); /* Deep blur */
    -webkit-backdrop-filter: blur(100px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    font-weight: 400;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    cursor: pointer;
    text-decoration: none;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Generic Sections */
section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.75rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.01), transparent);
}

.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-list {
    list-style: none;
    margin-top: 2.5rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.why-list strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.25rem;
}

.why-list i {
    color: var(--accent-blue);
    font-size: 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 4rem;
    border-radius: 24px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.glass-icon {
    font-size: 4rem;
    color: var(--accent-purple);
    margin-bottom: 2rem;
}

.glass-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.glass-panel p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tech-stack-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-stack-mini span {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Contact CTA */
.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.contact-form select {
    appearance: none;
    color: var(--text-muted);
}
.contact-form select option {
    background: var(--bg-dark);
    color: #fff;
}

/* Footer Section */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 2rem;
    background: rgba(5,5,5,0.8);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    padding-right: 2rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; height: 45px;
    background: var(--bg-card);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

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

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

.footer-links a, .footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--accent-blue);
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-blue);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }

/* ==========================================================
   RESPONSIVE DESIGN — KAPSAMLI MOBİL RESTORASYONU
   ========================================================== */

/* 0. Yatay Kayma (Horizontal Scroll) Global İptali */
body, html { 
    overflow-x: hidden !important; 
    max-width: 100% !important; 
    width: 100% !important; 
}

/* 0b. Tablo Taşmaları (Global Tablo Koruması) */
.table-responsive, .admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ========== 1024px — TABLET ========== */
@media (max-width: 1024px) {
    .why-us-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    section {
        padding: 80px 0;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    }
    /* Dashboard chart grid responsive override */
    .grid-cards[style*="2fr 1fr"],
    .grid-cards[style*="2fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ========== 768px — MOBİL ========== */
@media (max-width: 768px) {
    /* Grid & Flex Stacking */
    .services-grid, 
    .portfolio-grid, 
    .why-us-wrapper, 
    .input-group,
    .grid-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .service-card, 
    .portfolio-card, 
    .stat-card, 
    .table-card, 
    .feature-box, 
    .pricing-card {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    /* Tipografi Optimizasyonu */
    h1 { font-size: 2rem !important; line-height: 1.3 !important; }
    h2 { font-size: 1.6rem !important; }
    h3 { font-size: 1.25rem !important; }
    
    .section-header { margin-bottom: 2.5rem; }
    .section-title { font-size: clamp(1.75rem, 5vw, 2.5rem) !important; }
    
    section { padding: 60px 0 !important; }
    
    .hero { 
        padding-top: 6rem !important; 
        padding-bottom: 3rem !important; 
        padding-left: 1rem !important; 
        padding-right: 1rem !important;
        min-height: auto !important;
    }
    
    .cta-box { 
        padding: 2.5rem 1.25rem !important; 
        border-radius: 20px !important;
    }
    .cta-title { font-size: 1.75rem !important; }
    
    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
    }
    .hero-actions .btn {
        width: 100% !important;
    }

    /* Hero orbs — Hide on mobile for perf */
    .orb { display: none !important; }

    /* ===== NAVBAR / HAMBURGER MENÜ ===== */
    .hamburger { display: flex !important; cursor: pointer; }

    .nav-menu {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 9999 !important;
        padding: 1rem 0 1.5rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 15px 40px rgba(0,0,0,0.6);
        max-height: 85vh;
        overflow-y: auto;
    }
    .nav-menu.show {
        display: flex !important;
    }

    [data-theme="light"] .nav-menu {
        background: rgba(255,255,255,0.98) !important;
        border-color: #e2e8f0 !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    }

    .nav-menu li {
        width: 100%;
        display: block !important;
    }
    .nav-menu li a,
    .nav-menu .nav-link {
        display: flex !important;
        padding: 1rem 2rem !important;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        white-space: normal !important;
    }
    [data-theme="light"] .nav-menu li a,
    [data-theme="light"] .nav-menu .nav-link {
        border-bottom-color: #f1f5f9;
    }
    .nav-menu a::after { display: none !important; }

    /* Mobil menü içindeki butonlar */
    .nav-menu .btn {
        margin: 0.5rem 1.5rem !important;
        padding: 0.85rem 1.5rem !important;
        border-radius: 12px !important;
        justify-content: center !important;
        width: calc(100% - 3rem) !important;
    }

    /* User dropdown mobil */
    .user-dropdown {
        width: 100% !important;
        padding: 0 1.5rem !important;
    }
    .user-dropdown-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .user-dropdown-menu {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
    }

    /* Navbar sağ taraf — mobilde gizlenecek veya menüye taşınacak elementler */
    .nav-right-mobile-hide {
        display: none !important;
    }

    /* Mobil menüdeki dil-tema-cta sarmalayıcı */
    .mobile-nav-extras {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.06);
        margin-top: 0.5rem;
    }
    [data-theme="light"] .mobile-nav-extras {
        border-top-color: #e2e8f0;
    }

    .nav-cta-mobile {
        display: flex !important;
        width: calc(100% - 3rem) !important;
        margin: 0.5rem 1.5rem !important;
        justify-content: center !important;
    }

    /* Footer desc padding fix */
    .footer-desc { padding-right: 0; }

    /* Glass Panel mobile */
    .glass-panel { padding: 2.5rem 1.5rem; }

    /* Support / Contact form grid mobile */
    .support-form-grid,
    [style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Projects grid single column */
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Services grid single column */
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========== 480px — KÜÇÜK TELEFON ========== */
@media (max-width: 480px) {
    .container { width: 94%; }
    h1 { font-size: 1.65rem !important; }
    h2 { font-size: 1.4rem !important; }
    
    .hero-badge { font-size: 0.75rem; padding: 0.5rem 1rem; letter-spacing: 1px; }
    .hero-subtitle { font-size: 0.9rem !important; }
    .hero-content { gap: 1.25rem; }
    
    .btn { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
    
    .service-card { padding: 2rem 1.5rem; }
    .cta-box { padding: 2rem 1rem !important; }
    .cta-title { font-size: 1.5rem !important; }
    .cta-desc { font-size: 1rem; }
    
    .footer { padding: 3rem 0 1.5rem; }
    .footer-grid { gap: 1.5rem !important; }
    
    .social-link { width: 40px; height: 40px; }

    .testimonial-slide { width: 280px !important; padding: 1.25rem !important; }

    .filter-controls { gap: 0.5rem; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.82rem; }
}

/* Custom Mac-style Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
:root[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f8fafc;
}
:root[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}
:root[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Glassmorphism Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
    animation: pulse-preloader 1.5s infinite ease-in-out alternate;
}

@keyframes pulse-preloader {
    form { transform: scale(1); opacity: 0.7; }
    to { transform: scale(1.15); opacity: 1; }
}

/* ========== Light Mode: Mutlak Metin Rengi Baskısı ========== */
[data-theme="light"],
[data-theme="light"] body,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] a,
[data-theme="light"] li,
[data-theme="light"] td,
[data-theme="light"] th,
[data-theme="light"] label,
[data-theme="light"] .faq-question {
    color: #0f172a !important;
}

[data-theme="light"] .text-muted,
[data-theme="light"] .faq-answer,
[data-theme="light"] .subtitle {
    color: #475569 !important;
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
}

/* Sydnar Turnstile UI Revision */
.sydnar-turnstile-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05); /* Soft Blue Shadow */
    transition: all 0.3s ease-in-out;
}

.sydnar-turnstile-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.4); /* Neon Indigo Glow */
    box-shadow: 0 4px 25px rgba(99, 102, 241, 0.15);
}

/* ==========================================================
   EXTRACTED INLINE STYLES (from index.php)
   ========================================================== */
.portfolio-section {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.03), transparent 60%);
}

.filter-controls {
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
    margin-bottom: 4rem; 
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255,255,255,0.05); 
    color: var(--text-muted); 
    border: 1px solid var(--border-light); 
    padding: 0.6rem 1.5rem; 
    border-radius: 999px; 
    cursor: pointer; 
    font-weight: 500; 
    font-family: inherit; 
    transition: 0.3s;
}

.filter-btn.active {
    background: var(--gradient-primary); 
    color: #fff; 
    border: none; 
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.projects-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-card); 
    border: 1px solid var(--border-light); 
    border-radius: 20px; 
    overflow: hidden; 
    backdrop-filter: blur(20px); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; 
    transform-origin: center; 
    cursor: pointer;
}

.project-img-wrapper {
    position: relative; 
    overflow: hidden; 
    padding-top: 60%;
}

.project-img {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to top, rgba(5,5,5,0.9), transparent); 
    opacity: 0; 
    transition: opacity 0.4s ease; 
    display: flex; 
    align-items: flex-end; 
    padding: 2rem;
}

.project-overlay-btn {
    padding: 0.5rem 1.2rem; 
    font-size: 0.9rem;
}

.project-info {
    padding: 2rem;
}

.project-category {
    display: inline-block; 
    padding: 0.3rem 1rem; 
    border-radius: 999px; 
    font-size: 0.8rem; 
    font-weight: 600; 
    margin-bottom: 1rem; 
    background: rgba(139, 92, 246, 0.15); 
    color: #c4b5fd; 
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.project-title {
    font-size: 1.4rem; 
    font-weight: 700; 
    color: #fff; 
    margin-bottom: 0.5rem;
}

.testimonials-section {
    padding: 6rem 0; 
    position: relative;
}

.testimonials-marquee-wrapper {
    position: relative; 
    width: 100%; 
    border-radius: 20px; 
    padding: 1.5rem 0; 
    overflow: hidden; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-rating {
    color: #fbbf24; 
    font-size: 0.85rem; 
    letter-spacing: 2px;
}

.testimonial-quote-icon {
    font-size: 1.5rem; 
    color: rgba(255,255,255,0.05);
}

.testimonial-comment-text {
    color: #94a3b8; 
    font-size: 0.95rem; 
    line-height: 1.65; 
    margin-bottom: 2rem; 
    font-style: italic;
}

.client-info-wrapper {
    display: flex; 
    align-items: center; 
    gap: 14px; 
    border-top: 1px solid rgba(255,255,255,0.06); 
    padding-top: 1.25rem;
}

.client-avatar-circle {
    width: 46px; 
    height: 46px; 
    border-radius: 50%; 
    background: linear-gradient(135deg, #3b82f6, #8b5cf6); 
    border: 2px solid rgba(255,255,255,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #fff; 
    flex-shrink: 0;
}

.client-name {
    color: #f8fafc; 
    font-size: 1rem; 
    font-weight: 600; 
    margin-bottom: 0.15rem; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    overflow: hidden;
}

.client-company {
    color: #3b82f6; 
    font-size: 0.8rem; 
    font-weight: 500; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    overflow: hidden; 
    display: block;
}
