/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Limnio Brand Colors - Lemon Theme */
    --primary-color: #eab308;      /* Limon sarısı - ana marka rengi */
    --primary-dark: #ca8a04;       /* Koyu sarı - hover states */
    --primary-light: #fde047;      /* Açık sarı - highlights */
    --secondary-color: #22c55e;    /* Limon yaprağı yeşili */
    --accent-color: #f97316;       /* Turuncu - call-to-action */
    --tertiary-color: #06b6d4;     /* Cyan - teknoloji vurgusu */
    
    /* Text Colors */
    --text-primary: #1f2937;       /* Ana metin */
    --text-secondary: #4b5563;     /* İkincil metin */
    --text-light: #6b7280;         /* Açık metin */
    --text-muted: #9ca3af;         /* Soluk metin */
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fffbeb;       /* Açık sarı arka plan */
    --bg-tertiary: #fef3c7;        /* Sarı ton arka plan */
    --bg-dark: #0f172a;            /* Dark mode ana */
    --bg-dark-secondary: #1e293b;  /* Dark mode ikincil */
    
    /* Border & Shadows */
    --border-color: #e5e7eb;
    --border-accent: #fbbf24;       /* Sarı border */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-brand: 0 10px 25px -5px rgb(234 179 8 / 0.3);
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #16a34a);
    --gradient-warm: linear-gradient(135deg, #fbbf24, #f59e0b, #f97316);
    --gradient-cool: linear-gradient(135deg, #06b6d4, #0891b2);
    --gradient-brand: linear-gradient(135deg, #fde047, #eab308, #ca8a04);
    
    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 32px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Typography Scale */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    
    /* Spacing Scale */
    --space-1: 0.25rem;     /* 4px */
    --space-2: 0.5rem;      /* 8px */
    --space-3: 0.75rem;     /* 12px */
    --space-4: 1rem;        /* 16px */
    --space-5: 1.25rem;     /* 20px */
    --space-6: 1.5rem;      /* 24px */
    --space-8: 2rem;        /* 32px */
    --space-10: 2.5rem;     /* 40px */
    --space-12: 3rem;       /* 48px */
    --space-16: 4rem;       /* 64px */
    --space-20: 5rem;       /* 80px */
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --bg-primary: var(--bg-dark);
    --bg-secondary: var(--bg-dark-secondary);
    --bg-tertiary: #334155;
    --border-color: #374151;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(234, 179, 8, 0.1);
}

.nav-link.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translateY(-50%);
}

/* Enhanced navbar styling */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

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

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--border-radius);
    background: rgba(234, 179, 8, 0.05);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(234, 179, 8, 0.1);
    transform: scale(1.05);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active {
    background: rgba(234, 179, 8, 0.15);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: var(--primary-color);
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-left: 1rem;
}

/* Desktop nav controls positioning */
@media (min-width: 769px) {
    .nav-controls {
        position: static !important;
        margin: 0 0 0 1rem !important;
        order: initial !important;
        width: auto !important;
        padding: 0 !important;
        border: none !important;
    }
}

/* Tablet/Medium screen adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        margin-left: 1rem;
        gap: 1.5rem;
    }
    
    .nav-controls {
        margin-left: 0.8rem !important;
    }
    
    .nav-container {
        padding: 0 20px;
    }
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: rgba(234, 179, 8, 0.2);
    transform: scale(1.05);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(251, 191, 36, 0.1);
    color: var(--primary-light);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(251, 191, 36, 0.2);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    justify-content: center;
}

.lang-btn:hover {
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.6);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

.lang-btn i {
    font-size: 0.9rem;
}

.lang-btn span {
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eab308 0%, #f97316 50%, #22c55e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.hero-logo i {
    font-size: 5rem;
    color: #FFD700;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    animation: slideInUp 1s ease-out;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    animation: slideInUp 1s ease-out 0.2s both;
    font-weight: 400;
}

/* Modern ve Temiz Hero Button */
.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%) !important;
    color: white !important;
    padding: 16px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.3px !important;
    box-shadow: 
        0 4px 20px rgba(59, 130, 246, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
    animation: slideInUp 1s ease-out 0.4s both;
    border: none !important;
    outline: none !important;
    text-shadow: none !important;
    position: relative !important;
    cursor: pointer !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

.hero-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 
        0 6px 20px rgba(59, 130, 246, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%) !important;
    outline: none !important;
}

.hero-btn:active {
    transform: translateY(0px) !important;
    transition: all 0.1s ease !important;
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

.hero-btn:focus {
    outline: none !important;
    box-shadow: 
        0 4px 20px rgba(59, 130, 246, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

/* Pseudo-elementler kaldırıldı - sadece basit hover efekti */

.hero-btn i {
    font-size: 1.2rem !important;
    transition: none !important;
}

.hero-btn span {
    transition: none !important;
}

/* Button element için de aynı stiller */
button.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%) !important;
    color: white !important;
    padding: 16px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.3px !important;
    box-shadow: 
        0 4px 20px rgba(59, 130, 246, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
    animation: slideInUp 1s ease-out 0.4s both;
    border: none !important;
    outline: none !important;
    text-shadow: none !important;
    position: relative !important;
    cursor: pointer !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: auto !important;
    height: auto !important;
}

button.hero-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 
        0 6px 20px rgba(59, 130, 246, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%) !important;
    outline: none !important;
}

button.hero-btn:active {
    transform: translateY(0px) !important;
    transition: all 0.1s ease !important;
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

/* Child element active states kaldırıldı - artık gereksiz */

button.hero-btn:focus {
    outline: none !important;
    box-shadow: 
        0 4px 20px rgba(59, 130, 246, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: 1s; }
.shape-3 { width: 60px; height: 60px; top: 80%; left: 20%; animation-delay: 2s; }
.shape-4 { width: 100px; height: 100px; top: 30%; right: 30%; animation-delay: 3s; }
.shape-5 { width: 40px; height: 40px; top: 50%; left: 50%; animation-delay: 4s; }
.shape-6 { width: 160px; height: 160px; top: 10%; right: 10%; animation-delay: 5s; }

/* Sections */
.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.2s forwards;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 2rem;
    min-height: 220px;
    height: auto;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-brand);
}

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

.project-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.project-icon i {
    font-size: 2rem;
    color: white;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    height: 100%;
    min-height: 160px;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin-bottom: 0;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    margin-bottom: 0.5rem;
}

.project-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    min-height: 160px;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.project-btn:hover {
    transform: scale(1.05);
}

.project-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    margin-top: auto;
}

.project-btn-secondary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.project-btn-secondary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: scale(1.05);
}

.project-card.coming-soon {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: var(--text-secondary);
}

.project-card.coming-soon .project-icon {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-hero {
    margin-bottom: 4rem;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-avatar {
    text-align: center;
}

.avatar-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    position: relative;
}

.profile-photo {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.profile-photo i {
    font-size: 4rem;
    color: white;
}

.avatar-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.about-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.mission-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

.details-dropdown {
    margin-top: 2rem;
}

.details-toggle {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.details-toggle:hover {
    transform: scale(1.05);
}

.details-toggle.active i:last-child {
    transform: rotate(180deg);
}

.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 1rem;
}

.details-content.active {
    max-height: 5000px;
}

.details-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.details-section h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.detail-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-item p {
    color: var(--text-secondary);
}

.expertise-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.expertise-detail-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.expertise-detail-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.expertise-detail-icon i {
    font-size: 1.2rem;
    color: white;
}

.expertise-detail-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.expertise-detail-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tech-tags-small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.tech-tag-small {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.about-hero {
    margin-bottom: 4rem;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-avatar {
    text-align: center;
}

.avatar-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    position: relative;
}

.profile-photo {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.profile-photo i {
    font-size: 4rem;
    color: white;
}

.avatar-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.about-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.mission-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

.details-dropdown {
    margin-top: 2rem;
}

.details-toggle {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.details-toggle:hover {
    transform: scale(1.05);
}

.details-toggle.active i:last-child {
    transform: rotate(180deg);
}

.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 1rem;
}

.details-content.active {
    max-height: 5000px;
}

.details-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.details-section h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.detail-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-item p {
    color: var(--text-secondary);
}

.expertise-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.expertise-detail-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.expertise-detail-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.expertise-detail-icon i {
    font-size: 1.2rem;
    color: white;
}

.expertise-detail-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.expertise-detail-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tech-tags-small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.tech-tag-small {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Connect Section */
.connect-section {
    margin-top: 4rem;
    text-align: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.connect-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    color: white;
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-btn.github {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.social-btn.email {
    background: linear-gradient(135deg, #ea4335, #d33b2c);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Technologies Section */
.technologies {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.tech-categories {
    margin-top: 4rem;
}

.tech-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.15);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon i {
    font-size: 1.3rem;
    color: white;
}

.tech-name {
    flex: 1;
}

.tech-name h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.reliability-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.reliability-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1s ease;
}

.reliability-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tech-details {
    display: none;
}

.tech-card:hover .tech-details {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tech-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.tech-details p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tech-details ul {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.tech-details li {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.tech-summary {
    margin-top: 4rem;
    text-align: center;
}

.tech-summary h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

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

.criteria-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.criteria-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.criteria-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.criteria-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.criteria-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.contact-method:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.contact-method i {
    color: var(--primary-color);
}

.contact-form-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-form-btn:hover {
    transform: scale(1.05);
}

.contact-cta {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    color: white;
    text-align: center;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.cta-feature i {
    color: var(--accent-color);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

/* KVKK Modal Higher Priority */
#kvkkModal {
    z-index: 2100;
}

#kvkkModal .modal-container {
    z-index: 2101;
}

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

.modal-container {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.8);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section Enhancements */
.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: slideInUp 0.8s ease-out 1s both;
}

.hero-subtitle {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2.5rem !important;
    animation: slideInUp 0.8s ease-out 0.7s both !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero-btn {
    padding: 16px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
    transition: all 0.3s ease !important;
    background: var(--gradient-primary) !important;
    color: white !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999 !important;
    position: relative !important;
    outline: none !important;
    font-family: inherit !important;
}

button.hero-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border: 0 !important;
    outline: 0 !important;
}

.hero-btn:active {
    transform: translateY(-1px) !important;
    transition: transform 0.1s ease !important;
}

.hero-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6) !important;
    color: white !important;
}

.hero-logo {
    animation: float 3s ease-in-out infinite !important;
    margin-bottom: 2rem !important;
}

.hero-logo i {
    font-size: 5rem !important;
    color: #FFD700 !important;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.hero-title {
    color: white !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-content {
    padding: 2rem;
}

/* Form Styles */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: var(--bg-secondary);
    color: var(--text-light);
    cursor: not-allowed;
}

.kvkk-consent {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.consent-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.consent-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.consent-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.consent-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn-prev,
.btn-next,
.submit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.btn-prev {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-prev:hover {
    background: var(--border-color);
}

.btn-next,
.submit-btn {
    background: var(--gradient-primary);
    color: white;
}

.btn-next:hover,
.submit-btn:hover {
    transform: scale(1.05);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* KVKK Modal */
.kvkk-modal {
    max-width: 900px;
}

.kvkk-content {
    max-height: 60vh;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.kvkk-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.kvkk-section:last-child {
    border-bottom: none;
}

.kvkk-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kvkk-list {
    margin-left: 1rem;
}

.kvkk-list li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.kvkk-important {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.important-box i {
    color: #ef4444;
    font-size: 1.2rem;
    margin-top: 2px;
}

.important-box h5 {
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.important-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.kvkk-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-accept,
.btn-decline {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-accept {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.btn-decline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn-accept:hover,
.btn-decline:hover {
    transform: scale(1.05);
}

/* Connect Section */
.connect-section {
    margin-top: 4rem;
    text-align: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.connect-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    color: white;
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-btn.github {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.social-btn.email {
    background: linear-gradient(135deg, #ea4335, #d33b2c);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF9800 100%);
    color: #1a1a1a;
    padding: 70px 0 40px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-column {
    min-height: 180px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

.footer-links a {
    color: rgba(26, 26, 26, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    line-height: 1.6;
    letter-spacing: 0.2px;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-links a:hover {
    color: #FF6F00;
    font-weight: 500;
    padding-left: 8px;
    transform: translateX(4px);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a i {
    font-size: 1rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo i {
    font-size: 1.8rem;
    color: #FF6F00;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.footer-logo small {
    font-size: 0.8rem;
    color: rgba(26, 26, 26, 0.7);
    margin-left: 8px;
}

.footer-certificates {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.certificate-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 26, 26, 0.1);
    border: 1px solid rgba(26, 26, 26, 0.2);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.certificate-badge i {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 10px 0;
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.75);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1px;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-legal a {
    color: #FF6F00;
    text-decoration: none;
    font-weight: 500;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* Legal Modal Styles */
.legal-modal .modal-container {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
    margin: 5vh auto;
}

.legal-modal .modal-content {
    max-height: 70vh;
    overflow-y: auto;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

/* Mobile Legal Modal Optimizations */
@media (max-width: 768px) {
    .legal-modal .modal-container {
        max-width: 95vw;
        max-height: 95vh;
        margin: 2.5vh auto;
        width: 95%;
        position: relative;
    }
    
    .legal-modal .modal-content {
        max-height: 75vh;
        padding: 1.5rem;
        font-size: 0.9rem;
    }
    
    .legal-modal .modal-header {
        padding: 1.5rem 1.5rem 1rem;
        position: sticky;
        top: 0;
        background: inherit;
        z-index: 10;
    }
    
    .legal-modal .modal-close {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .legal-section h4 {
        font-size: 1.1rem;
        margin: 1.5rem 0 1rem;
    }
    
    .legal-section p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .legal-section ul,
    .legal-section ol {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }
    
    .legal-section li {
        margin: 0.5rem 0;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .legal-modal .modal-container {
        max-width: 100vw;
        max-height: 100vh;
        margin: 0;
        width: 100%;
        border-radius: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .legal-modal .modal-content {
        max-height: calc(100vh - 80px);
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .legal-modal .modal-header {
        padding: 1rem;
    }
    
    .legal-modal .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .legal-section h4 {
        font-size: 1rem;
        margin: 1.2rem 0 0.8rem;
    }
}

.legal-modal h4 {
    color: var(--primary-color);
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.legal-modal p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.legal-modal ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-modal li {
    margin: 8px 0;
    color: var(--text-secondary);
}

.legal-modal .legal-section {
    margin: 25px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Dark mode for footer */
[data-theme="dark"] .footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
}

[data-theme="dark"] .footer::before {
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

[data-theme="dark"] .footer-title {
    color: #ffffff;
    font-weight: 600;
}

[data-theme="dark"] .footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-color);
    font-weight: 500;
}

[data-theme="dark"] .footer-copyright p {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

[data-theme="dark"] .footer-logo i {
    color: var(--primary-color);
}

[data-theme="dark"] .footer-logo span {
    color: #ffffff;
}

[data-theme="dark"] .footer-logo small {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .certificate-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .legal-modal .legal-section {
    background: var(--bg-dark);
    border-left-color: var(--primary-color);
}

[data-theme="dark"] .legal-modal p {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-modal li {
    color: var(--text-secondary);
}

/* Dark Mode Mobile Legal Modal */
@media (max-width: 768px) {
    [data-theme="dark"] .legal-modal .modal-container {
        background: var(--bg-dark);
        border: 1px solid rgba(234, 179, 8, 0.2);
    }
    
    [data-theme="dark"] .legal-modal .modal-header {
        background: var(--bg-dark);
        border-bottom: 1px solid rgba(234, 179, 8, 0.2);
    }
    
    [data-theme="dark"] .legal-modal .modal-close {
        background: rgba(234, 179, 8, 0.1);
        color: var(--primary-color);
        border: 1px solid rgba(234, 179, 8, 0.3);
        border-radius: 50%;
    }
    
    [data-theme="dark"] .legal-modal .modal-close:hover,
    [data-theme="dark"] .legal-modal .modal-close:active {
        background: rgba(234, 179, 8, 0.2);
        color: #fff;
    }
}

@media (max-width: 480px) {
    [data-theme="dark"] .legal-modal .modal-container {
        background: var(--bg-dark);
        color: var(--text-primary);
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
        margin-top: 50px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        margin-bottom: 35px;
    }
    
    .footer-column {
        min-height: auto;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 18px;
        text-align: left;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 12px 8px;
        display: block;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: 6px;
        transition: all 0.3s ease;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .footer-links a:hover,
    .footer-links a:active {
        background: rgba(234, 179, 8, 0.1);
        padding-left: 16px;
        transform: translateX(6px);
        color: var(--primary-color);
    }
    
    /* Touch feedback for mobile */
    .footer-links a:active {
        transform: scale(0.98) translateX(6px);
        background: rgba(234, 179, 8, 0.2);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 25px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-logo span {
        font-size: 1.4rem;
    }
    
    .footer-certificates {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .certificate-badge {
        font-size: 0.75rem;
        padding: 8px 12px;
        border-radius: 16px;
    }
    
    .footer-copyright {
        margin-top: 20px;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin: 8px 0;
    }
    
    .legal-modal .modal-container {
        max-width: 95vw;
        margin: 10px;
    }
    
    /* Social links specific mobile styling */
    .social-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .social-links a {
        justify-content: flex-start;
        padding: 10px 0;
    }
    
    /* Dark Mode Mobile Footer Optimizations */
    [data-theme="dark"] .footer {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }
    
    [data-theme="dark"] .footer::before {
        background: linear-gradient(45deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0.05) 100%);
    }
    
    [data-theme="dark"] .footer-title {
        color: #f8fafc;
    }
    
    [data-theme="dark"] .footer-links a {
        color: rgba(248, 250, 252, 0.8);
    }
    
    [data-theme="dark"] .footer-links a:hover {
        color: var(--primary-color);
    }
    
    [data-theme="dark"] .footer-logo span {
        color: #f8fafc;
    }
    
    [data-theme="dark"] .footer-logo small {
        color: rgba(248, 250, 252, 0.6);
    }
    
    [data-theme="dark"] .footer-copyright p {
        color: rgba(248, 250, 252, 0.7);
    }
    
    [data-theme="dark"] .certificate-badge {
        background: rgba(234, 179, 8, 0.15);
        border: 1px solid rgba(234, 179, 8, 0.3);
        color: #f8fafc;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 25px;
    }
    
    .footer-column {
        text-align: center;
        padding: 0 15px;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 10px 0;
        margin: 0 auto;
        max-width: 200px;
        text-align: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
        transform: translateX(0);
        color: #FF6F00;
        font-weight: 500;
    }
    
    .footer-bottom-content {
        gap: 20px;
        padding-top: 20px;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-logo i {
        font-size: 2rem;
    }
    
    .footer-logo span {
        font-size: 1.3rem;
    }
    
    .footer-logo small {
        margin-left: 0;
        text-align: center;
        font-size: 0.75rem;
    }
    
    .footer-certificates {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .certificate-badge {
        font-size: 0.7rem;
        padding: 6px 10px;
        border-radius: 14px;
        flex: 0 0 auto;
    }
    
    .footer-copyright {
        margin-top: 15px;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin: 6px 0;
        padding: 0 10px;
    }
    
    /* Social links ultra mobile */
    .social-links a {
        padding: 12px 0;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .social-links a i {
        margin-right: 8px;
    }
    
    /* Dark Mode 480px Footer */
    [data-theme="dark"] .footer-title::after {
        background: var(--primary-color);
    }
    
    [data-theme="dark"] .footer-links a:hover,
    [data-theme="dark"] .footer-links a:active {
        color: var(--primary-color);
        background: rgba(234, 179, 8, 0.1);
    }
    
    [data-theme="dark"] .footer-links a:active {
        background: rgba(234, 179, 8, 0.2);
        transform: scale(0.98);
    }
}

@media (max-width: 360px) {
    .footer {
        padding: 35px 0 15px;
        margin-top: 35px;
    }
    
    .footer-grid {
        gap: 25px;
        margin-bottom: 20px;
    }
    
    .footer-column {
        padding: 0 10px;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 8px 0;
    }
    
    .footer-logo span {
        font-size: 1.2rem;
    }
    
    .footer-logo small {
        font-size: 0.7rem;
    }
    
    .footer-certificates {
        max-width: 280px;
        gap: 6px;
    }
    
    .certificate-badge {
        font-size: 0.65rem;
        padding: 5px 8px;
        border-radius: 12px;
    }
    
    .footer-copyright p {
        font-size: 0.75rem;
        padding: 0 5px;
    }
    
    .social-links a {
        font-size: 0.85rem;
        padding: 10px 0;
    }
    
    /* Dark Mode 360px Footer */
    [data-theme="dark"] .footer {
        background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    max-width: 400px;
    transform: translateX(100%);
    transition: var(--transition);
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.notification-success .notification-content {
    border-left-color: #22c55e;
}

.notification-info .notification-content {
    border-left-color: #3b82f6;
}

.notification-content button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

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

@keyframes spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 12px 35px rgba(234, 179, 8, 0.5),
            0 0 60px rgba(234, 179, 8, 0.3),
            0 0 120px rgba(234, 179, 8, 0.1),
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(234, 179, 8, 0.7),
            0 0 80px rgba(234, 179, 8, 0.5),
            0 0 160px rgba(234, 179, 8, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(234, 179, 8, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        align-items: stretch;
        margin-left: 0;
    }
    
    /* Ensure nav links come first */
    .nav-menu .nav-link {
        order: 1;
    }
    
    /* Dark mode mobile nav */
    [data-theme="dark"] .nav-menu {
        background: rgba(15, 23, 42, 0.98);
        border-top: 1px solid rgba(234, 179, 8, 0.2);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }
    
    [data-theme="dark"] .language-switcher {
        border-top: 1px solid rgba(234, 179, 8, 0.2);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Nav controls - UPDATED FOR IMPROVED VISIBILITY */
    .nav-menu .nav-controls {
        display: flex !important;
        position: static !important;
        margin: 0 !important;
        order: 9 !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 1.5rem !important;
        padding: 1.2rem 1rem 0.8rem 1rem !important;
        border-top: 2px solid rgba(234, 179, 8, 0.4) !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1.2rem !important;
        background: rgba(234, 179, 8, 0.05) !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(234, 179, 8, 0.1) !important;
        min-height: 70px !important;
        max-height: 80px !important;
    }

    /* Theme toggle mobile - LARGER AND MORE VISIBLE */
    .nav-menu .theme-toggle {
        position: static !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 1.3rem !important;
        display: flex !important;
        background: rgba(234, 179, 8, 0.2) !important;
        border: 2px solid rgba(234, 179, 8, 0.4) !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(234, 179, 8, 0.15) !important;
        transition: all 0.3s ease !important;
    }

    /* Language switcher mobile - IMPROVED VISIBILITY */
    .nav-menu .language-switcher {
        display: flex !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        justify-content: center !important;
        padding-top: 0 !important;
        border-top: none !important;
        order: initial !important;
        gap: 0.6rem !important;
        height: 48px !important;
        align-items: center !important;
    }

    /* Language buttons mobile - LARGER AND MORE PROMINENT */
    .nav-menu .lang-btn {
        width: 60px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0.7rem 0.8rem !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border: 2px solid rgba(234, 179, 8, 0.5) !important;
        border-radius: 12px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        box-shadow: 0 3px 8px rgba(234, 179, 8, 0.1) !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .nav-menu .lang-btn:hover {
        background: rgba(234, 179, 8, 0.1) !important;
        border-color: rgba(234, 179, 8, 0.7) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 12px rgba(234, 179, 8, 0.2) !important;
    }

    .nav-menu .lang-btn.active {
        background: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        color: white !important;
        box-shadow: 0 6px 16px rgba(234, 179, 8, 0.4) !important;
        transform: scale(1.02) !important;
    }

    /* Loading spinner adjustments for mobile */
    .nav-link.loading::after {
        right: -15px;
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }

    /* Enhanced mobile nav links */
    .nav-link {
        padding: 1rem 0;
        margin: 0.5rem 0;
        border-radius: var(--border-radius);
        text-align: center;
        font-size: 1.1rem;
        background: rgba(234, 179, 8, 0.05);
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(234, 179, 8, 0.1);
        transform: translateY(-2px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .project-card {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1.5rem;
        min-height: auto;
        text-align: center;
    }

    .project-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
        align-self: center;
        justify-self: center;
    }

    .project-icon i {
        font-size: 1.5rem;
    }

    .project-content {
        min-height: auto;
        text-align: center;
    }

    .project-title {
        font-size: 1.4rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .project-action {
        align-items: center;
        justify-content: center;
        min-height: auto;
    }

    .project-buttons {
        align-items: center;
        margin-top: 0;
    }

    .project-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tech-cards {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .expertise-detail-grid {
        grid-template-columns: 1fr;
    }

    .step-nav {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .modal-container {
        width: 95%;
    }

    .modal-header,
    .modal-content {
        padding: 1.5rem;
    }

    .hero-logo i {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .project-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .project-icon {
        width: 50px;
        height: 50px;
    }

    .project-icon i {
        font-size: 1.25rem;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .project-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .tech-card {
        padding: 1.5rem;
    }

    /* Ultra-small screens navbar adjustments */
    .nav-menu {
        padding: 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 0;
        margin: 0.3rem 0;
    }

    .nav-link.loading::after {
        right: -12px;
        width: 8px;
        height: 8px;
        border-width: 1px;
    }

    .hamburger {
        padding: 8px;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
        margin: 2.5px 0;
    }
}

/* Print Styles */
/* Timeline Styles */
.journey-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.journey-detail-timeline {
    position: relative;
}

.journey-detail-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-detail-year {
    width: 80px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.timeline-detail-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-detail-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-detail-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Stats Styles */
.stats-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-detail-card {
    text-align: center;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stat-detail-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-detail-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Values Styles */
.values-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-detail-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.value-detail-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.value-detail-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.value-detail-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Philosophy Points */
.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.philosophy-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.philosophy-point i {
    color: var(--primary-color);
    margin-top: 2px;
    font-size: 0.9rem;
}

.philosophy-point span {
    color: var(--text-secondary);
    flex: 1;
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .journey-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-detail-year {
        width: 60px;
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .values-detail-grid {
        grid-template-columns: 1fr;
    }

    .stats-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media print {
    .navbar,
    .hamburger,
    .modal-overlay,
    .floating-shapes,
    .hero-btn,
    .project-btn,
    .contact-form-btn,
    .social-buttons,
    .details-toggle {
        display: none !important;
    }

    body {
        color: black !important;
        background: white !important;
    }

    .hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .section-title,
    .hero-title {
        color: black !important;
    }

    .project-card,
    .tech-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Profile Photo Enhancement */
.profile-photo {
    overflow: hidden !important;
    position: relative !important;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-photo .profile-fallback {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🍋 Enhanced Animations for Limnio Brand */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered animation delays */
.project-card:nth-child(1) { transition-delay: 0ms; }
.project-card:nth-child(2) { transition-delay: 100ms; }
.project-card:nth-child(3) { transition-delay: 200ms; }

.tech-card:nth-child(odd) { transition-delay: 0ms; }
.tech-card:nth-child(even) { transition-delay: 150ms; }

/* Improved hover effects with Limnio brand colors */
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-brand);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.15);
}

/* Performance optimizations */
.project-card,
.tech-card,
.criteria-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Brand color updates */
.status-dot {
    background: var(--secondary-color);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

/* Dark mode improvements */
[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--primary-color);
    background: rgba(234, 179, 8, 0.1);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

[data-theme="dark"] .project-card,
[data-theme="dark"] .tech-card {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: var(--text-primary);
}

[data-theme="dark"] .project-title {
    color: var(--text-primary);
}

[data-theme="dark"] .project-description {
    color: var(--text-secondary);
}

[data-theme="dark"] .tech-name h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .tech-details h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .tech-details p,
[data-theme="dark"] .tech-details li {
    color: var(--text-secondary);
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .about-intro h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .intro-text,
[data-theme="dark"] .mission-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .details-section h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .detail-item h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .detail-item p {
    color: var(--text-secondary);
}

[data-theme="dark"] .criteria-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .criteria-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-info h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-info p {
    color: var(--text-secondary);
}

[data-theme="dark"] .project-card:hover,
[data-theme="dark"] .tech-card:hover {
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.2);
}

/* Dark mode modal and form improvements */
[data-theme="dark"] .modal-container {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .modal-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-dark);
    border-color: rgba(234, 179, 8, 0.3);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

[data-theme="dark"] .consent-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .modal-close {
    color: var(--text-light);
}

[data-theme="dark"] .modal-close:hover {
    color: var(--text-primary);
}

/* Dark mode button improvements */
[data-theme="dark"] .project-btn-secondary {
    background: linear-gradient(135deg, #065f46, #047857);
    color: #ffffff;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

[data-theme="dark"] .project-btn-secondary:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

/* Dark mode social buttons */
[data-theme="dark"] .social-btn {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.3);
}

/* Dark mode footer */
[data-theme="dark"] .footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .footer-content p {
    color: var(--text-secondary);
}

/* Dark mode criteria cards - Teknoloji Seçim Kriterlerim */
[data-theme="dark"] .criteria-card {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .criteria-card i {
    color: var(--primary-color);
}

[data-theme="dark"] .criteria-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .criteria-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .criteria-card:hover {
    background: var(--bg-dark-secondary);
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.2);
}

/* Dark mode notifications - Bildirimler */
[data-theme="dark"] .notification {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--text-primary);
}

[data-theme="dark"] .notification-content {
    color: var(--text-primary);
}

[data-theme="dark"] .notification-success .notification-content {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid var(--secondary-color);
}

[data-theme="dark"] .notification-info .notification-content {
    background: rgba(234, 179, 8, 0.1);
    border-left: 4px solid var(--primary-color);
}

[data-theme="dark"] .notification-content button {
    color: var(--text-light);
    background: transparent;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

[data-theme="dark"] .notification-content button:hover {
    color: var(--text-primary);
    background: rgba(234, 179, 8, 0.1);
}

/* Dark mode tech summary */
[data-theme="dark"] .tech-summary h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .category-title {
    color: var(--text-primary);
}

/* Dark mode contact CTA */
[data-theme="dark"] .cta-content h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .cta-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .cta-feature {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-method {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .contact-method:hover {
    border-color: rgba(234, 179, 8, 0.4);
    background: var(--bg-dark-secondary);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.2);
}

/* Dark mode hero subtitle */
[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary);
}

/* Dark mode reliability text */
[data-theme="dark"] .reliability-text {
    color: var(--text-secondary);
}

/* Dark mode - Daha fazla bilgi alanı düzeltmeleri */
[data-theme="dark"] .details-toggle {
    color: var(--text-primary);
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .details-toggle:hover {
    background: var(--bg-dark-secondary);
    border-color: rgba(234, 179, 8, 0.4);
    color: var(--text-primary);
}

[data-theme="dark"] .details-content {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .expertise-detail-card {
    background: var(--bg-dark);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .expertise-detail-card h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .expertise-detail-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .tech-tag-small {
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Dark mode journey/timeline details */
[data-theme="dark"] .timeline-detail-year {
    background: var(--primary-color);
    color: var(--bg-dark);
}

[data-theme="dark"] .timeline-detail-content h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .timeline-detail-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .stat-detail-card {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .stat-detail-number {
    color: var(--primary-color);
}

[data-theme="dark"] .stat-detail-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .value-detail-item {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .value-detail-item h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .value-detail-item p {
    color: var(--text-secondary);
}

[data-theme="dark"] .value-detail-icon {
    color: var(--primary-color);
}

[data-theme="dark"] .philosophy-point {
    background: rgba(234, 179, 8, 0.05);
    border: 1px solid rgba(234, 179, 8, 0.1);
}

[data-theme="dark"] .philosophy-point i {
    color: var(--primary-color);
}

[data-theme="dark"] .philosophy-point span {
    color: var(--text-secondary);
}

/* Dark mode - Hakkımda bölümündeki eksik stilleri */
[data-theme="dark"] .subsection-title {
    color: var(--text-primary);
}

[data-theme="dark"] .connect-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .cta-content h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .cta-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .cta-feature {
    color: var(--text-secondary);
}

[data-theme="dark"] .cta-feature i {
    color: var(--primary-color);
}

/* Dark mode - Journey timeline genel düzeltmeleri */
[data-theme="dark"] .journey-detail-timeline::before {
    background: rgba(234, 179, 8, 0.3);
}

[data-theme="dark"] .timeline-detail-item::before {
    background: var(--primary-color);
    border: 3px solid var(--bg-dark);
}

/* Dark mode - Additional text improvements */
[data-theme="dark"] .detail-grid p,
[data-theme="dark"] .detail-grid li {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-step h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .important-box h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .important-box p {
    color: var(--text-secondary);
}

/* Dark mode - Güçlü kontrast için spesifik düzeltmeler */
[data-theme="dark"] .details-content p,
[data-theme="dark"] .details-content span,
[data-theme="dark"] .details-content li {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .details-content h5,
[data-theme="dark"] .details-content h4,
[data-theme="dark"] .details-content h3 {
    color: var(--text-primary) !important;
}

/* Timeline content güçlendirme */
[data-theme="dark"] .timeline-detail-content {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(234, 179, 8, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

[data-theme="dark"] .timeline-detail-content h5 {
    color: #ffffff !important;
    font-weight: 600;
}

[data-theme="dark"] .timeline-detail-content p {
    color: #cbd5e1 !important;
    line-height: 1.6;
}

/* Expertise cards güçlendirme */
[data-theme="dark"] .expertise-detail-card h5 {
    color: #ffffff !important;
    font-weight: 600;
}

[data-theme="dark"] .expertise-detail-card p {
    color: #cbd5e1 !important;
    line-height: 1.5;
}

/* Stats cards güçlendirme */
[data-theme="dark"] .stat-detail-number {
    color: var(--primary-color) !important;
    font-weight: 800;
}

[data-theme="dark"] .stat-detail-label {
    color: #ffffff !important;
    font-weight: 500;
}

/* Value detail items güçlendirme */
[data-theme="dark"] .value-detail-item h5 {
    color: #ffffff !important;
    font-weight: 600;
}

[data-theme="dark"] .value-detail-item p {
    color: #cbd5e1 !important;
    line-height: 1.5;
}

/* Philosophy points güçlendirme */
[data-theme="dark"] .philosophy-point span {
    color: #cbd5e1 !important;
    font-weight: 400;
    line-height: 1.6;
}

/* Detail grid items genel güçlendirme */
[data-theme="dark"] .detail-item h5 {
    color: #ffffff !important;
    font-weight: 600;
}

[data-theme="dark"] .detail-item p,
[data-theme="dark"] .detail-item li {
    color: #cbd5e1 !important;
    line-height: 1.5;
}

/* Dark mode hero button */
[data-theme="dark"] .hero-btn {
    background: linear-gradient(135deg, #eab308 0%, #f97316 50%, #22c55e 100%);
    box-shadow: 
        0 8px 25px rgba(234, 179, 8, 0.5),
        0 0 50px rgba(234, 179, 8, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .hero-btn:hover {
    background: linear-gradient(135deg, #22c55e 0%, #eab308 50%, #f97316 100%);
    box-shadow: 
        0 15px 40px rgba(234, 179, 8, 0.8),
        0 0 80px rgba(234, 179, 8, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.02);
}

/* ULTRA GÜÇLÜ DARK MODE MEİTN GÖRÜNÜRLÜKLERİ - DAHA FAZLA BİLGİ KISMI */
/* Tüm başlıklar için */
[data-theme="dark"] .details-content h4,
[data-theme="dark"] .details-content h5,
[data-theme="dark"] .details-section h4,
[data-theme="dark"] .detail-item h5,
[data-theme="dark"] .expertise-detail-card h5,
[data-theme="dark"] .timeline-detail-content h5,
[data-theme="dark"] .value-detail-item h5 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Tüm paragraf ve span elementleri için */
[data-theme="dark"] .details-content p,
[data-theme="dark"] .details-content span,
[data-theme="dark"] .details-content li,
[data-theme="dark"] .detail-item p,
[data-theme="dark"] .expertise-detail-card p,
[data-theme="dark"] .timeline-detail-content p,
[data-theme="dark"] .value-detail-item p,
[data-theme="dark"] .philosophy-point span,
[data-theme="dark"] .stat-detail-label {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.6 !important;
}

/* Özel sayı elementleri için */
[data-theme="dark"] .stat-detail-number {
    color: #eab308 !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(234, 179, 8, 0.4) !important;
}

/* Felsefe noktaları için ekstra güçlü stil */
[data-theme="dark"] .philosophy-points .philosophy-point {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(234, 179, 8, 0.3) !important;
    padding: 1rem !important;
    border-radius: var(--border-radius) !important;
    margin-bottom: 0.75rem !important;
}

[data-theme="dark"] .philosophy-point i {
    color: #22c55e !important;
    font-weight: 600 !important;
}

/* Temel bilgiler grid'i için özel stillemez */
[data-theme="dark"] .detail-grid .detail-item {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(234, 179, 8, 0.2) !important;
    padding: 1.25rem !important;
    border-radius: var(--border-radius) !important;
}

/* Uzmanlık kartları için güçlendirme */
[data-theme="dark"] .expertise-detail-card {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(234, 179, 8, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Değer kartları için güçlendirme */
[data-theme="dark"] .value-detail-item {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(234, 179, 8, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Timeline contentu için güçlendirme */
[data-theme="dark"] .timeline-detail-content {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 2px solid rgba(234, 179, 8, 0.3) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

/* Stats kartları için güçlendirme */
[data-theme="dark"] .stat-detail-card {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 2px solid rgba(234, 179, 8, 0.4) !important;
    box-shadow: 0 6px 16px rgba(234, 179, 8, 0.2) !important;
}

/* Genel detay section styling */
[data-theme="dark"] .details-section {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(234, 179, 8, 0.2) !important;
    border-radius: var(--border-radius) !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Tech tag'lar için de güçlendirme */
[data-theme="dark"] .tech-tag-small {
    background: rgba(234, 179, 8, 0.2) !important;
    color: #eab308 !important;
    border: 1px solid rgba(234, 179, 8, 0.4) !important;
    font-weight: 600 !important;
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(15, 23, 42, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transition: all 0.3s ease;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #eab308 0%, #f97316 50%, #22c55e 100%);
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
}

[data-theme="dark"] .scroll-progress {
    background: rgba(234, 179, 8, 0.1);
}

/* LOADING SCREEN */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-size: 4rem;
    color: #eab308;
    margin-bottom: 2rem;
    animation: loadingPulse 2s ease-in-out infinite;
}

.loading-text {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: 0.2em;
}

.loading-letter {
    display: inline-block;
    animation: loadingBounce 1.4s ease-in-out infinite;
}

.loading-letter:nth-child(1) { animation-delay: 0.1s; }
.loading-letter:nth-child(2) { animation-delay: 0.2s; }
.loading-letter:nth-child(3) { animation-delay: 0.3s; }
.loading-letter:nth-child(4) { animation-delay: 0.4s; }
.loading-letter:nth-child(5) { animation-delay: 0.5s; }
.loading-letter:nth-child(6) { animation-delay: 0.6s; }

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #eab308 0%, #f97316 50%, #22c55e 100%);
    width: 0%;
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out;
}

.loading-copyright {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: center;
    animation: fadeInUp 2s ease-out 1s both;
}

/* CUSTOM CURSOR */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transition: all 0.3s ease;
}

.cursor {
    width: 10px;
    height: 10px;
    background: #eab308;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(234, 179, 8, 0.5);
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: #22c55e;
}

.cursor-follower.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: rgba(34, 197, 94, 0.8);
}

/* SMOOTH SCROLL ANIMATIONS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-left.animate-in {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(50px);
}

.animate-on-scroll.slide-right.animate-in {
    transform: translateX(0);
}

.animate-on-scroll.scale-up {
    transform: scale(0.8);
}

.animate-on-scroll.scale-up.animate-in {
    transform: scale(1);
}

/* Loading Animations */
@keyframes loadingPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 40px rgba(234, 179, 8, 0.8));
    }
}

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

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Enhanced mobile touch targets and UX */
@media (max-width: 768px) {
    /* Bigger touch targets for mobile */
    .theme-toggle {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .lang-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hamburger {
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Mobile-friendly buttons */
    .project-btn,
    .project-btn-secondary {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .social-btn {
        min-height: 48px;
        padding: 12px 16px;
    }
    
    /* ULTRA FORCE Mobile nav controls - MAXIMUM PRIORITY */
    }

/* SEPARATE MOBILE MEDIA QUERY FOR NAV CONTROLS - HIGHEST SPECIFICITY */
@media (max-width: 768px) {
    
    /* Force nav-menu to show all children */
    .nav-menu,
    .nav-menu.active {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Force all nav-menu children to be visible */
    .nav-menu > *,
    .nav-menu.active > * {
        display: block !important;
    }
    
    /* Special override for nav-controls */
    .nav-menu > .nav-controls,
    .nav-menu.active > .nav-controls {
        display: flex !important;
    }
    
    /* Ultra-specific nav-controls targeting */
    .navbar .nav-container .nav-menu .nav-controls,
    .nav-menu > .nav-controls {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        width: 100% !important;
        margin: 1.5rem 0 0 0 !important;
        padding: 1.5rem 0 0 0 !important;
        border-top: 1px solid rgba(234, 179, 8, 0.2) !important;
        order: 999 !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        background: transparent !important;
        pointer-events: auto !important;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
        min-height: 60px !important;
    }
    
    /* Ultra-specific theme toggle targeting */
    .navbar .nav-container .nav-menu .nav-controls .theme-toggle,
    .nav-menu > .nav-controls > .theme-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
        position: static !important;
        flex-shrink: 0 !important;
        background: rgba(234, 179, 8, 0.1) !important;
        border-radius: 8px !important;
        color: var(--primary-color) !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    /* Ultra-specific language switcher targeting */
    .navbar .nav-container .nav-menu .nav-controls .language-switcher,
    .nav-menu > .nav-controls > .language-switcher {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        gap: 0.5rem !important;
        flex-shrink: 0 !important;
        pointer-events: auto !important;
    }
    
    /* Ultra-specific language button targeting */
    .navbar .nav-container .nav-menu .nav-controls .language-switcher .lang-btn,
    .nav-menu > .nav-controls > .language-switcher > .lang-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 44px !important;
        min-width: 60px !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: 2px solid rgba(234, 179, 8, 0.3) !important;
        border-radius: 8px !important;
        color: var(--text-primary) !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    /* Ensure language buttons are visible */
    .nav-menu .lang-btn {
        min-height: 44px !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Better mobile scrolling */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Dark mode mobile optimizations */
    [data-theme="dark"] .nav-menu .theme-toggle {
        background: rgba(234, 179, 8, 0.15) !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
        display: flex !important;
    }
    
    [data-theme="dark"] .nav-menu .nav-controls {
        border-top: 1px solid rgba(234, 179, 8, 0.2) !important;
    }
    
    [data-theme="dark"] .nav-menu .language-switcher {
        display: flex !important;
    }
    
    [data-theme="dark"] .theme-toggle:active {
        background: rgba(234, 179, 8, 0.25);
        transform: scale(0.95);
    }
    
    /* Touch feedback */
    .project-card:active,
    .tech-card:active {
        transform: scale(0.98);
    }
    
    [data-theme="dark"] .project-card:active,
    [data-theme="dark"] .tech-card:active {
        transform: scale(0.98);
        border-color: rgba(234, 179, 8, 0.6);
    }
}

/* Ultra-small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
    
    .nav-controls {
        gap: 0.5rem;
    }
    
    .lang-btn {
        min-width: 50px;
        padding: 0.6rem 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* SECURITY MODAL STYLES */
button.security-btn,
.project-buttons .security-btn,
.project-action .security-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 1.2rem !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-decoration: none !important;
    margin-top: 0.75rem !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

button.security-btn:hover,
.project-buttons .security-btn:hover,
.project-action .security-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4) !important;
}

button.security-btn::before,
.project-buttons .security-btn::before,
.project-action .security-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

button.security-btn:hover::before,
.project-buttons .security-btn:hover::before,
.project-action .security-btn:hover::before {
    left: 100%;
}

button.security-btn i,
.project-buttons .security-btn i,
.project-action .security-btn i {
    font-size: 1rem !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important;
}

button.security-btn:active,
.project-buttons .security-btn:active,
.project-action .security-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3) !important;
}

.security-modal .modal-container {
    max-width: 700px;
    width: 90vw;
}

.security-info {
    padding: 0;
}

.security-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.security-header h4 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.security-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.platform, .status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.platform {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-url a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.project-url a:hover {
    text-decoration: underline;
}

.security-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.security-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.security-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.security-content {
    flex: 1;
}

.security-content h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.security-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.security-status {
    flex-shrink: 0;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-güvenilir, .status-trusted {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-korumalı, .status-protected {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-gizli, .status-private {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-şifrelenmiş, .status-encrypted {
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-şeffaf, .status-transparent {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.status-güvenli, .status-secure {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-yerel, .status-local {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-offline {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.status-temiz, .status-clean {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-kontrollü, .status-controlled {
    background: rgba(251, 113, 133, 0.1);
    color: #fb7185;
    border: 1px solid rgba(251, 113, 133, 0.3);
}

/* Dark theme support */
[data-theme="dark"] button.security-btn,
[data-theme="dark"] .project-buttons .security-btn,
[data-theme="dark"] .project-action .security-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4) !important;
}

[data-theme="dark"] button.security-btn:hover,
[data-theme="dark"] .project-buttons .security-btn:hover,
[data-theme="dark"] .project-action .security-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5) !important;
}

[data-theme="dark"] .security-header {
    border-bottom-color: rgba(165, 180, 252, 0.2);
}

[data-theme="dark"] .security-header h4 {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .security-content h5 {
    color: var(--dark-text-primary);
}

[data-theme="dark"] .security-content p {
    color: var(--dark-text-secondary);
}

[data-theme="dark"] .project-url {
    color: var(--dark-text-secondary);
}

[data-theme="dark"] .security-item {
    background: rgba(165, 180, 252, 0.1);
    border-color: rgba(165, 180, 252, 0.2);
}

[data-theme="dark"] .security-item:hover {
    border-color: rgba(165, 180, 252, 0.3);
    box-shadow: 0 4px 12px rgba(165, 180, 252, 0.2);
}

/* Dark theme mobil güvenlik modal optimizasyonları */
@media (max-width: 768px) {
    [data-theme="dark"] .security-modal .modal-container {
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(165, 180, 252, 0.2);
    }
    
    [data-theme="dark"] .security-header {
        border-bottom-color: rgba(165, 180, 252, 0.2);
    }
    
    [data-theme="dark"] .security-item {
        background: rgba(165, 180, 252, 0.05);
        border-color: rgba(165, 180, 252, 0.15);
    }
    
    [data-theme="dark"] .platform {
        background: rgba(99, 102, 241, 0.15);
        color: #a5b4fc;
        border-color: rgba(99, 102, 241, 0.3);
    }
    
    [data-theme="dark"] .status-active {
        background: rgba(34, 197, 94, 0.15);
        color: #4ade80;
        border-color: rgba(34, 197, 94, 0.3);
    }
}

@media (max-width: 480px) {
    [data-theme="dark"] .security-modal .modal-container {
        background: rgba(15, 23, 42, 0.99);
        border: 1px solid rgba(165, 180, 252, 0.25);
    }
}

/* Modal kapatma butonu mobil optimizasyonu */
@media (max-width: 768px) {
    .modal-close {
        width: 44px;
        height: 44px;
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.2rem;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .modal-close:hover {
        background: rgba(0, 0, 0, 0.2);
        transform: scale(1.1);
    }
    
    [data-theme="dark"] .modal-close {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    [data-theme="dark"] .modal-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 480px) {
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .security-modal .modal-header {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .security-info {
        padding: 0 1rem 1rem 1rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .security-modal .modal-container {
        width: 95vw;
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 16px;
    }
    
    .security-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        text-align: center;
    }
    
    .security-header h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .security-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        text-align: center;
    }
    
    .platform, .status {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        border-radius: 25px;
        min-width: 120px;
        justify-content: center;
    }
    
    .project-url {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        font-size: 0.85rem;
    }
    
    .project-url a {
        word-break: break-all;
        text-align: center;
    }
    
    .security-items {
        gap: 1.25rem;
    }
    
    .security-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .security-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
        font-size: 1.4rem;
        border-radius: 16px;
    }
    
    .security-content h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .security-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .security-status {
        margin-top: 0.5rem;
    }
    
    .status-badge {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        border-radius: 20px;
        justify-content: center;
        min-width: 100px;
    }
    
    .project-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    button.security-btn,
    .project-buttons .security-btn,
    .project-action .security-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        border-radius: 12px !important;
    }
}

/* NUCLEAR OPTION - FORCE SECURITY BUTTON STYLES */
html body button[class~="security-btn"],
html body .project-card button[class~="security-btn"],
html body .project-buttons button[class~="security-btn"],
html body div button[class~="security-btn"] {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 1.2rem !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-decoration: none !important;
    margin-top: 0.75rem !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3) !important;
}

html body button[class~="security-btn"]:hover,
html body .project-card button[class~="security-btn"]:hover,
html body .project-buttons button[class~="security-btn"]:hover,
html body div button[class~="security-btn"]:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
}

html body button[class~="security-btn"] i,
html body .project-card button[class~="security-btn"] i,
html body .project-buttons button[class~="security-btn"] i,
html body div button[class~="security-btn"] i {
    color: white !important;
    font-size: 1rem !important;
}

/* Güvenlik modalları için küçük ekran optimizasyonu */
@media (max-width: 480px) {
    .security-modal .modal-container {
        width: 98vw;
        margin: 0.5rem;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .security-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .security-header h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .security-item {
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 12px;
    }
    
    .security-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 12px;
    }
    
    .security-content h5 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .security-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 250px;
    }
    
    .status-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        min-width: 80px;
    }
    
    .platform, .status {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        min-width: 100px;
    }
    
    .project-url {
        font-size: 0.8rem;
    }
}

/* Kapsamlı mobil responsive optimizasyonları */
@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 5rem 0 3rem;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .hero-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .projects {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .project-card {
        padding: 1rem;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .project-icon {
        width: 45px;
        height: 45px;
    }
    
    .project-icon i {
        font-size: 1.1rem;
    }
    
    .project-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .tech-tag {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .project-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .project-buttons {
        gap: 0.5rem;
    }
}

/* Mobil landscape modunda özel ayarlar */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 90vh;
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .hero-logo {
        margin-bottom: 1rem;
    }
    
    .hero-logo i {
        font-size: 3rem;
    }
}

/* Touch-friendly button sizes */
@media (max-width: 768px) {
    button, .project-btn, .social-btn, .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    .tech-tag {
        min-height: 24px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Özel proje kartı düzenlemesi mobil için */
    .project-card {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
    
    .project-content {
        order: 2;
    }
    
    .project-action {
        order: 3;
        margin-top: 0 !important;
    }
    
    .project-icon {
        order: 1;
        justify-self: center !important;
        margin: 0 auto 1rem auto !important;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: var(--z-modal);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cookie-btn-manage {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-btn-manage:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: #f3f4f6;
    color: var(--text-primary);
    border: 2px solid transparent;
}

.cookie-btn-reject:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Cookie Settings Modal */
.cookie-settings-modal .modal-container {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 16px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-category-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-category-header i {
    color: var(--primary-color);
}

.cookie-category p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
}

.cookie-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: relative;
    display: block;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-label:hover {
    background: #bbb;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .toggle-label {
    background: var(--primary-color);
}

.cookie-toggle input:checked + .toggle-label:hover {
    background: var(--primary-dark);
}

.cookie-toggle input:checked + .toggle-label .toggle-slider {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .toggle-label {
    background: var(--primary-color);
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-toggle input:disabled + .toggle-label:hover {
    background: var(--primary-color);
}

.cookie-settings-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-settings-btn.cookie-btn-reject {
    background: #f3f4f6;
    color: var(--text-primary);
}

.cookie-settings-btn.cookie-btn-reject:hover {
    background: #ef4444;
    color: white;
}

.cookie-settings-btn.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-settings-btn.cookie-btn-accept:hover {
    background: var(--primary-dark);
}

/* Dark Mode for Cookie Components */
[data-theme="dark"] .cookie-banner {
    background: rgba(15, 23, 42, 0.98);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .cookie-text p {
    color: var(--text-secondary);
}

[data-theme="dark"] .cookie-btn-manage {
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .cookie-btn-manage:hover {
    background: var(--primary-light);
    color: var(--bg-dark);
}

[data-theme="dark"] .cookie-btn-reject {
    background: var(--bg-dark-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .cookie-category {
    background: var(--bg-dark-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .cookie-category-header h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .cookie-category p {
    color: var(--text-secondary);
}

[data-theme="dark"] .toggle-label {
    background: #4b5563;
}

[data-theme="dark"] .toggle-label:hover {
    background: #374151;
}

[data-theme="dark"] .cookie-settings-btn.cookie-btn-reject {
    background: var(--bg-dark-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .cookie-settings-btn.cookie-btn-reject:hover {
    background: #ef4444;
    color: white;
}

/* Mobile Responsive for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-text {
        min-width: unset;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .cookie-btn {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 120px;
        justify-content: center;
    }
    
    .cookie-settings-modal .modal-container {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .cookie-category {
        padding: 16px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-settings-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-category-header h4 {
        font-size: 14px;
    }
    
    .cookie-category p {
        font-size: 13px;
    }
}

/* Certificates Section */
.certificates {
    padding: 100px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 25%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.certificates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.certificates-hero {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.cert-hero-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
    position: relative;
}

.cert-hero-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.cert-hero-icon i {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.cert-summary {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.cert-summary-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cert-count {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.cert-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 5px;
}

.certificates-categories {
    margin-top: 60px;
}

.cert-category {
    margin-bottom: 80px;
}

.cert-category-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.cert-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 2px solid var(--primary-color);
}

.cert-category-badge i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.cert-category-badge span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.cert-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.cert-category-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate-card.simple {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.certificate-card.simple:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.certificate-card.simple .cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #f59e0b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.certificate-card.simple .cert-icon i {
    font-size: 1.5rem;
    color: white;
}

.certificate-card.simple .cert-content {
    flex: 1;
}

.certificate-card.simple .cert-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.certificate-card.simple .cert-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.certificate-card.simple .cert-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.certificate-card.simple .cert-date,
.certificate-card.simple .cert-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

.certificate-card.simple .cert-date {
    color: var(--text-light);
}

.certificate-card.simple .cert-status {
    color: #22c55e;
    font-weight: 500;
}

.certificate-card.simple .cert-action {
    flex-shrink: 0;
}

.certificate-card.simple .cert-btn {
    background: linear-gradient(135deg, var(--primary-color), #f59e0b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.certificate-card.simple .cert-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.certificate-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

/* Modern Certificate Card Elements */
.certificate-card.modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cert-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), #f59e0b);
    position: relative;
}

.cert-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.cert-badge {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cert-badge i {
    font-size: 1.5rem;
    color: white;
}

.cert-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.cert-body {
    padding: 24px;
    flex: 1;
}

.cert-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cert-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cert-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cert-tag {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cert-footer {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.cert-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.cert-date i {
    color: var(--primary-color);
}

.cert-view-btn {
    background: linear-gradient(135deg, var(--primary-color), #f59e0b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-view-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon i {
    font-size: 1.5rem;
    color: white;
}

.cert-content {
    flex: 1;
}

.cert-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.cert-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cert-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cert-date,
.cert-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.cert-status.certified {
    color: var(--secondary-color);
    font-weight: 500;
}

.cert-actions {
    flex-shrink: 0;
}

.cert-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cert-btn:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cert-btn i {
    font-size: 0.9rem;
}

/* Certificate Stats */
.certificate-stats {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Certificate Notice Styles */
.certificate-notice {
    margin-top: 30px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.certificate-notice.minimal .notice-content {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.certificate-notice.minimal .notice-content::before {
    display: none;
}

.certificate-notice.minimal p {
    margin: 0;
    color: #2E7D32;
    font-size: 0.9rem;
    line-height: 1.5;
}

.certificate-notice.minimal i {
    color: #4CAF50;
    margin-right: 0.5rem;
}

.certificate-notice.minimal strong {
    color: #1B5E20;
}

/* Certificate Modal Styles */
.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-modal.active {
    display: flex;
}

.certificate-modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    width: 95vw;
    height: 90vh;
    max-width: 1200px;
    max-height: 800px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.certificate-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.certificate-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.certificate-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.certificate-frame-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.certificate-iframe {
    width: 100%;
    flex: 1;
    border: none;
    border-radius: var(--border-radius);
    min-height: 500px;
}

.certificate-watermark {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1000;
}

.watermark-text {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fbbf24;
}

.watermark-subtext {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Dark Mode for Certificates */
[data-theme="dark"] .certificates {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

[data-theme="dark"] .certificate-card {
    background: var(--bg-dark-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .cert-category-title {
    color: var(--text-primary);
}

[data-theme="dark"] .cert-category-desc {
    color: var(--text-secondary);
}

[data-theme="dark"] .cert-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .cert-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .certificate-stats {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--border-color);
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .certificate-modal-content {
    background: var(--bg-dark-secondary);
}

[data-theme="dark"] .certificate-modal-close {
    color: var(--text-secondary);
}

[data-theme="dark"] .certificate-modal-close:hover {
    background: var(--bg-dark);
    color: var(--text-primary);
}

[data-theme="dark"] .certificate-notice.minimal .notice-content {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

[data-theme="dark"] .certificate-notice.minimal p {
    color: #81C784;
}

[data-theme="dark"] .certificate-notice.minimal i {
    color: #66BB6A;
}

[data-theme="dark"] .certificate-notice.minimal strong {
    color: #A5D6A7;
}

/* Additional dark mode improvements for certificates */
[data-theme="dark"] .cert-category-badge {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
}

[data-theme="dark"] .cert-category-badge span {
    color: #FFF8E1;
}

[data-theme="dark"] .cert-summary-item .cert-count {
    color: var(--primary-color);
}

[data-theme="dark"] .cert-summary-item .cert-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .cert-date i,
[data-theme="dark"] .cert-status i {
    color: #FFC107;
}

[data-theme="dark"] .cert-btn {
    background: linear-gradient(135deg, var(--primary-color), #FF9800);
    color: #1a1a1a;
}

[data-theme="dark"] .cert-btn:hover {
    background: linear-gradient(135deg, #FFF59D, var(--primary-color));
    color: #000;
}

[data-theme="dark"] .stat-number {
    color: var(--primary-color);
}

/* Mobile Responsive for Certificates */
@media (max-width: 768px) {
    .certificates {
        padding: 60px 0;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificate-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .cert-content {
        order: 2;
    }
    
    .cert-actions {
        order: 3;
    }
    
    .cert-details {
        justify-content: center;
    }
    
    .cert-category-header {
        margin-bottom: 30px;
    }
    
    .cert-category-title {
        font-size: 1.5rem;
    }
    
    .cert-category-icon {
        width: 60px;
        height: 60px;
    }
    
    .cert-category-icon i {
        font-size: 1.5rem;
    }
    
    .certificate-stats {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .certificate-modal-content {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        margin: 0;
        border-radius: 0;
        padding: 15px;
    }
    
    .certificate-iframe {
        min-height: 400px;
    }
    
    /* Mobile: Update button text */
    .certificate-card.simple .cert-btn::after {
        content: " (Yeni Sekme)";
        font-size: 0.8em;
        opacity: 0.8;
    }
    
    /* Mobile responsive for certificate notice */
    .certificate-notice {
        margin-top: 30px;
    }
    
    .notice-content {
        padding: 25px 20px;
        border-radius: 15px;
        text-align: center;
    }
    
    .notice-icon {
        margin: 0 auto 20px;
        width: 60px;
        height: 60px;
    }
    
    .notice-text h4 {
        font-size: 1.2rem;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .notice-items {
        gap: 15px;
    }
    
    .notice-item {
        flex-direction: column;
        text-align: center;
        padding: 18px 15px;
        gap: 12px;
    }
    
    .notice-item-icon {
        margin: 0 auto;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .notice-item-content p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .certificate-watermark {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .watermark-text {
        font-size: 0.85rem;
    }
    
    .watermark-subtext {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .certificate-card {
        padding: 15px;
    }
    
    .cert-content h4 {
        font-size: 1.1rem;
    }
    
    .cert-content p {
        font-size: 0.85rem;
    }
    
    .cert-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .cert-icon {
        width: 50px;
        height: 50px;
    }
    
    .cert-icon i {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .certificate-iframe {
        height: 50vh;
    }
}

/* MOBILE NAV CONTROLS - IMPROVED VISIBILITY */
@media (max-width: 768px) {
    /* Navigation controls container - more prominent */
    .nav-menu.active .nav-controls,
    .nav-menu .nav-controls,
    [class*="nav-controls"],
    *[class*="nav-controls"],
    .nav-controls,
    div.nav-controls {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 1.5rem !important;
        padding: 1.2rem 1rem 0.8rem 1rem !important;
        border-top: 2px solid rgba(234, 179, 8, 0.4) !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.2rem !important;
        order: 999 !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        background: rgba(234, 179, 8, 0.05) !important;
        min-height: 70px !important;
        max-height: 80px !important;
        height: auto !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(234, 179, 8, 0.1) !important;
        /* Force for Chrome and Safari */
        -webkit-box-flex: 1 !important;
        -webkit-flex: 1 !important;
        -ms-flex: 1 !important;
        flex: 1 !important;
        /* Additional Chrome-specific fixes */
        transform: translateZ(0) !important;
        will-change: transform !important;
    }
    
    /* Theme toggle - larger and more visible */
    .nav-menu.active .theme-toggle,
    .nav-menu .nav-controls .theme-toggle,
    [class*="theme-toggle"],
    *[class*="theme-toggle"],
    .theme-toggle,
    button.theme-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        background: rgba(234, 179, 8, 0.2) !important;
        border: 2px solid rgba(234, 179, 8, 0.4) !important;
        border-radius: 12px !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: auto !important;
        color: var(--primary-color) !important;
        cursor: pointer !important;
        font-size: 1.3rem !important;
        padding: 0 !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 12px rgba(234, 179, 8, 0.15) !important;
        /* Chrome-specific rendering fixes */
        -webkit-appearance: none !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        /* Force hardware acceleration */
        will-change: background-color, transform !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }
    
    /* Theme toggle hover effect */
    .nav-menu.active .theme-toggle:hover,
    .nav-menu .nav-controls .theme-toggle:hover,
    .theme-toggle:hover {
        background: rgba(234, 179, 8, 0.3) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 6px 16px rgba(234, 179, 8, 0.2) !important;
    }
    
    /* Language switcher container */
    .nav-menu.active .language-switcher,
    .nav-menu .nav-controls .language-switcher,
    [class*="language-switcher"],
    *[class*="language-switcher"],
    .language-switcher,
    div.language-switcher {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        gap: 0.6rem !important;
        pointer-events: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        align-items: center !important;
        height: 48px !important;
        max-height: 48px !important;
        /* Chrome rendering fixes */
        transform: translateZ(0) !important;
        will-change: transform !important;
        overflow: visible !important;
    }
    
    /* Language buttons - larger and more prominent */
    .nav-menu.active .lang-btn,
    .nav-menu .nav-controls .lang-btn,
    [class*="lang-btn"],
    *[class*="lang-btn"],
    .lang-btn,
    button.lang-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        min-width: 60px !important;
        max-width: 65px !important;
        width: 60px !important;
        padding: 0.7rem 0.8rem !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border: 2px solid rgba(234, 179, 8, 0.5) !important;
        border-radius: 12px !important;
        color: var(--text-primary) !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 3px 8px rgba(234, 179, 8, 0.1) !important;
        /* Chrome-specific fixes */
        -webkit-appearance: none !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        will-change: background-color, border-color !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Language button hover effect */
    .nav-menu.active .lang-btn:hover,
    .nav-menu .nav-controls .lang-btn:hover,
    .lang-btn:hover {
        background: rgba(234, 179, 8, 0.1) !important;
        border-color: rgba(234, 179, 8, 0.7) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 12px rgba(234, 179, 8, 0.2) !important;
    }
    
    /* Active language button */
    .nav-menu.active .lang-btn.active,
    .nav-menu .nav-controls .lang-btn.active,
    .lang-btn.active {
        background: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        color: white !important;
        box-shadow: 0 6px 16px rgba(234, 179, 8, 0.4) !important;
        transform: scale(1.02) !important;
    }
    
    /* Dark mode overrides */
    [data-theme="dark"] [class*="nav-controls"],
    [data-theme="dark"] .nav-controls {
        background: rgba(0, 0, 0, 0.1) !important;
        border-top: 2px solid rgba(234, 179, 8, 0.4) !important;
    }
    
    [data-theme="dark"] [class*="theme-toggle"],
    [data-theme="dark"] .theme-toggle {
        background: rgba(234, 179, 8, 0.15) !important;
        border-color: rgba(234, 179, 8, 0.4) !important;
        color: var(--primary-color) !important;
    }
    
    [data-theme="dark"] [class*="theme-toggle"]:hover,
    [data-theme="dark"] .theme-toggle:hover {
        background: rgba(234, 179, 8, 0.25) !important;
    }
    
    [data-theme="dark"] [class*="lang-btn"],
    [data-theme="dark"] .lang-btn {
        background: rgba(0, 0, 0, 0.3) !important;
        color: rgba(248, 250, 252, 0.9) !important;
        border-color: rgba(234, 179, 8, 0.4) !important;
    }
    
    [data-theme="dark"] [class*="lang-btn"]:hover,
    [data-theme="dark"] .lang-btn:hover {
        background: rgba(234, 179, 8, 0.1) !important;
        border-color: rgba(234, 179, 8, 0.6) !important;
    }
    
    [data-theme="dark"] [class*="lang-btn"].active,
    [data-theme="dark"] .lang-btn.active {
        background: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }
} 

/* ULTIMATE MOBILE NAV CONTROLS FIX - HIGHEST PRIORITY OVERRIDE */
@media (max-width: 768px) {
    /* Compact nav controls for better space usage */
    html body .navbar .nav-container .nav-menu.active .nav-controls,
    html body .nav-menu.active .nav-controls,
    html body .nav-menu .nav-controls {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1rem 0 0.5rem 0 !important;
        padding: 0.8rem !important;
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05)) !important;
        border: 2px solid rgba(234, 179, 8, 0.4) !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 16px rgba(234, 179, 8, 0.15) !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.8rem !important;
        order: 999 !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        flex-direction: row !important;
        min-height: 50px !important;
        transform: none !important;
        transition: all 0.3s ease !important;
    }

    /* Compact theme toggle */
    html body .navbar .nav-container .nav-menu.active .nav-controls .theme-toggle,
    html body .nav-menu.active .theme-toggle,
    html body .nav-menu .theme-toggle {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1)) !important;
        border: 1.5px solid rgba(234, 179, 8, 0.5) !important;
        border-radius: 8px !important;
        color: #d97706 !important;
        cursor: pointer !important;
        position: static !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2) !important;
        transition: all 0.3s ease !important;
        transform: none !important;
    }

    /* Theme toggle hover */
    html body .navbar .nav-container .nav-menu.active .nav-controls .theme-toggle:hover,
    html body .nav-menu.active .theme-toggle:hover,
    html body .nav-menu .theme-toggle:hover {
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.4), rgba(234, 179, 8, 0.3)) !important;
        border-color: rgba(234, 179, 8, 0.9) !important;
        transform: scale(1.05) translateY(-2px) !important;
        box-shadow: 0 10px 30px rgba(234, 179, 8, 0.4) !important;
    }

    /* Compact language switcher */
    html body .navbar .nav-container .nav-menu.active .nav-controls .language-switcher,
    html body .nav-menu.active .language-switcher,
    html body .nav-menu .language-switcher {
        display: flex !important;
        gap: 0.5rem !important;
        align-items: center !important;
        justify-content: center !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 36px !important;
        border: none !important;
        order: initial !important;
    }

    /* Compact language buttons */
    html body .navbar .nav-container .nav-menu.active .nav-controls .language-switcher .lang-btn,
    html body .nav-menu.active .lang-btn,
    html body .nav-menu .lang-btn {
        display: flex !important;
        width: 42px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0.4rem !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)) !important;
        border: 1.5px solid rgba(234, 179, 8, 0.5) !important;
        border-radius: 8px !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #d97706 !important;
        cursor: pointer !important;
        position: static !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: row !important;
        gap: 0.2rem !important;
        box-shadow: 0 2px 8px rgba(234, 179, 8, 0.15) !important;
        transition: all 0.3s ease !important;
        transform: none !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
    }

    /* Language button hover */
    html body .navbar .nav-container .nav-menu.active .nav-controls .language-switcher .lang-btn:hover,
    html body .nav-menu.active .lang-btn:hover,
    html body .nav-menu .lang-btn:hover {
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1)) !important;
        border-color: rgba(234, 179, 8, 0.8) !important;
        transform: scale(1.05) translateY(-3px) !important;
        box-shadow: 0 10px 30px rgba(234, 179, 8, 0.3) !important;
        color: #b45309 !important;
    }

    /* Active language button */
    html body .navbar .nav-container .nav-menu.active .nav-controls .language-switcher .lang-btn.active,
    html body .nav-menu.active .lang-btn.active,
    html body .nav-menu .lang-btn.active {
        background: linear-gradient(135deg, #eab308, #d97706) !important;
        border-color: #b45309 !important;
        color: white !important;
        transform: scale(1.02) !important;
        box-shadow: 0 8px 25px rgba(234, 179, 8, 0.5) !important;
    }

    /* Dark theme overrides */
    [data-theme="dark"] html body .nav-menu.active .nav-controls,
    [data-theme="dark"] html body .nav-menu .nav-controls {
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(234, 179, 8, 0.15)) !important;
        border-color: rgba(234, 179, 8, 0.7) !important;
    }

    [data-theme="dark"] html body .nav-menu.active .theme-toggle,
    [data-theme="dark"] html body .nav-menu .theme-toggle {
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.2)) !important;
        border-color: rgba(251, 191, 36, 0.7) !important;
        color: #fbbf24 !important;
    }

    [data-theme="dark"] html body .nav-menu.active .lang-btn,
    [data-theme="dark"] html body .nav-menu .lang-btn {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85)) !important;
        border-color: rgba(234, 179, 8, 0.6) !important;
        color: #fbbf24 !important;
    }

    [data-theme="dark"] html body .nav-menu.active .lang-btn:hover,
    [data-theme="dark"] html body .nav-menu .lang-btn:hover {
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(234, 179, 8, 0.15)) !important;
        color: #fbbf24 !important;
    }

    [data-theme="dark"] html body .nav-menu.active .lang-btn.active,
    [data-theme="dark"] html body .nav-menu .lang-btn.active {
        background: linear-gradient(135deg, #fbbf24, #eab308) !important;
        color: #0f172a !important;
    }
}

/* Additional mobile-specific fixes */
@media (max-width: 480px) {
    html body .nav-menu.active .nav-controls,
    html body .nav-menu .nav-controls {
        margin: 1.5rem 0 0.5rem 0 !important;
        padding: 1.2rem !important;
        gap: 1.2rem !important;
        min-height: 70px !important;
    }

    html body .nav-menu.active .theme-toggle,
    html body .nav-menu .theme-toggle {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.3rem !important;
    }

    html body .nav-menu.active .lang-btn,
    html body .nav-menu .lang-btn {
        width: 65px !important;
        height: 52px !important;
        font-size: 0.9rem !important;
    }
}

/* Ensure hamburger menu is always visible and functional */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        z-index: 1001 !important;
        position: relative !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        border-top: 1px solid rgba(234, 179, 8, 0.2) !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 1000 !important;
        display: flex !important;
        align-items: stretch !important;
        margin-left: 0 !important;
    }
    
    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
            [data-theme="dark"] .nav-menu {
        background: rgba(15, 23, 42, 0.98) !important;
        border-top: 1px solid rgba(234, 179, 8, 0.2) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    }
}

/* SCROLLABLE NAVBAR FOR LONG NAVIGATION LISTS */
@media (max-width: 768px) {
    .nav-menu {
        max-height: calc(100vh - 60px) !important; /* Account for navbar height */
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
        scrollbar-width: thin !important; /* Firefox */
        scrollbar-color: rgba(234, 179, 8, 0.3) transparent !important; /* Firefox */
    }
    
    /* Custom scrollbar for webkit browsers */
    .nav-menu::-webkit-scrollbar {
        width: 4px !important;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: rgba(234, 179, 8, 0.1) !important;
        border-radius: 2px !important;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(234, 179, 8, 0.3) !important;
        border-radius: 2px !important;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(234, 179, 8, 0.5) !important;
    }
    
    /* Dark theme scrollbar */
    [data-theme="dark"] .nav-menu::-webkit-scrollbar-track {
        background: rgba(234, 179, 8, 0.15) !important;
    }
    
    [data-theme="dark"] .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(234, 179, 8, 0.4) !important;
    }
    
    [data-theme="dark"] .nav-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(234, 179, 8, 0.6) !important;
    }
}

/* COMPACT NAVIGATION ITEMS FOR BETTER SCROLLING */
@media (max-width: 768px) {
    .nav-link {
        padding: 0.6rem 0 !important; /* Reduced padding for more items */
        margin: 0.3rem 0 !important; /* Smaller margin */
        font-size: 1rem !important; /* Smaller font */
        min-height: auto !important;
    }
}

@media (max-width: 480px) {
    .nav-link {
        padding: 0.5rem 0 !important;
        margin: 0.2rem 0 !important;
        font-size: 0.9rem !important;
    }
}

/* BALANCED MOBILE NAVBAR - VISIBLE BUT COMPACT */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 0 !important; /* Increased padding for better visibility */
        min-height: auto !important;
        border-bottom-width: 1px !important; /* Standard border */
    }
    
    .nav-container {
        padding: 0 16px !important; /* Better side padding */
        min-height: 54px !important; /* Increased height for better touch targets */
        align-items: center !important;
    }
    
    .nav-logo {
        font-size: 1.4rem !important; /* Larger logo text for brand visibility */
        gap: 6px !important; /* Better spacing */
        font-weight: 700 !important; /* Bold for brand recognition */
    }
    
    .nav-logo i {
        font-size: 1.6rem !important; /* Larger icon for brand recognition */
    }
    
    .hamburger {
        padding: 6px !important; /* Better padding for touch */
        width: 38px !important; /* Larger hamburger for easier tapping */
        height: 38px !important;
        border-radius: 6px !important; /* Rounded corners */
    }
    
    .hamburger span {
        width: 22px !important; /* Longer lines for visibility */
        height: 2px !important; /* Standard thickness */
        margin: 2px 0 !important; /* Better spacing */
    }
}

/* COMPACT BUT USABLE FOR SMALL SCREENS */
@media (max-width: 480px) {
    .navbar {
        padding: 6px 0 !important; /* Reasonable padding */
        border-bottom-width: 1px !important;
    }
    
    .nav-container {
        padding: 0 12px !important; /* Better side padding */
        min-height: 48px !important; /* Usable height */
    }
    
    .nav-logo {
        font-size: 1.25rem !important; /* Readable logo text */
        gap: 5px !important; /* Adequate gap */
        font-weight: 700 !important; /* Bold for visibility */
    }
    
    .nav-logo i {
        font-size: 1.4rem !important; /* Visible icon */
    }
    
    .hamburger {
        width: 34px !important; /* Touch-friendly hamburger */
        height: 34px !important;
        padding: 5px !important; /* Better padding */
        border-radius: 5px !important;
    }
    
    .hamburger span {
        width: 20px !important; /* Visible lines */
        height: 2px !important; /* Standard thickness */
        margin: 2px 0 !important; /* Better spacing */
    }
}

/* OPTIMIZED CONTENT SPACING FOR BALANCED NAVBAR */
@media (max-width: 768px) {
    body {
        padding-top: 0 !important;
    }
    
    .hero {
        margin-top: 70px !important; /* Adjusted for larger navbar */
        padding-top: 1rem !important; /* Extra content padding */
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 60px !important; /* Adjusted for readable navbar */
        padding-top: 0.8rem !important;
    }
}

/* ADDITIONAL OPTIMIZATIONS FOR MOBILE CONTENT */
@media (max-width: 768px) {
    /* Make all sections start at proper distance from navbar */
    section {
        scroll-margin-top: 70px !important; /* Account for balanced navbar */
    }
}

@media (max-width: 480px) {
    section {
        scroll-margin-top: 60px !important; /* Account for readable navbar */
    }
    
    /* Slightly reduce section padding to maximize content */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}