:root {
    /* Koyu Tema (Canlı & Modern Tech) */
    --bg-base: #07090e;
    --bg-surface: rgba(18, 22, 34, 0.75);
    --bg-elevated: rgba(26, 33, 50, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-faint: #64748b;
    --brand-primary: #3b82f6;
    --brand-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glow: rgba(59, 130, 246, 0.2);
    --font-stack: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --radius: 14px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    /* Açık Tema (Temiz & Işıltılı) */
    --bg-base: #f1f5f9;
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-elevated: rgba(241, 245, 249, 0.9);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(37, 99, 235, 0.4);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-faint: #94a3b8;
    --brand-primary: #2563eb;
    --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --glow: rgba(37, 99, 235, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
}

/* Canlı, Derinlikli Arka Plan Deseni ve Işık Halesi */
body {
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 15% 70%, rgba(14, 165, 233, 0.1) 0%, transparent 45%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    background-attachment: fixed;
}

/* Arapça (RTL) Desteği */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

.shell {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* Header & Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

.brand-dot {
    color: var(--brand-primary);
    font-size: 0.9rem;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); filter: drop-shadow(0 0 8px #3b82f6); }
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
    border-radius: 2px;
}

/* Dil ve Tema Seçici (Modern Pill Kontrolleri) */
.tool-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-icon-prefix {
    position: absolute;
    left: 12px;
    pointer-events: none;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
}

.lang-icon-suffix {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 32px 8px 34px;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.lang-select option {
    background: #0f141e;
    color: #f8fafc;
    padding: 10px;
}

[data-theme="light"] .lang-select option {
    background: #ffffff;
    color: #0f172a;
}

.mobile-lang-box {
    display: none;
}

/* Modern Tema Değiştirme Butonu */
.theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.theme-btn:hover {
    border-color: var(--brand-primary);
    transform: rotate(20deg) scale(1.08);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.theme-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
}

.mobile-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    position: absolute;
    left: 5px;
    transition: var(--transition);
}
.mobile-btn span:first-child { top: 11px; }
.mobile-btn span:last-child { bottom: 11px; }
.mobile-btn.active span:first-child { transform: rotate(45deg); top: 15px; }
.mobile-btn.active span:last-child { transform: rotate(-45deg); bottom: 15px; }

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px -2px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 var(--glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Rozet */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

/* Ana Sayfa & Hero */
.main-content {
    flex: 1;
    padding: 80px 0 110px;
}

.hero-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 90px;
    padding: 0 15px;
}

.hero-box h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-box h1 {
    background: linear-gradient(180deg, #0f172a 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-box p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

/* Bölüm Başlığı */
.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

/* Hizmet Kartları Grid (Glassmorphism & Canlılık) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

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

/* Kart İkon Kutusu */
.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
    color: #60a5fa;
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

/* Projeler Sayfası - Çoklu Medya Galerisi */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: start;
    box-shadow: var(--card-shadow);
}

/* Medya Vitrini (Resim & Video & Thumbnails) */
.project-media-showcase {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.main-media-viewer {
    width: 100%;
    max-width: 100%;
    height: 250px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Çirkin siyahlığı yok eden ambiyans arka planı */
.media-backdrop {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.4) brightness(0.5);
    opacity: 0.85;
    transform: scale(1.15);
    z-index: 1;
    transition: var(--transition);
}

.media-foreground {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 6px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

/* Büyüteç Rozeti (Zoom Badge) */
.main-media-viewer {
    cursor: pointer;
}

.zoom-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    opacity: 0.85;
    transition: var(--transition);
    pointer-events: none;
}

.main-media-viewer:hover .zoom-badge {
    opacity: 1;
    transform: scale(1.05);
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* Küçük Resimler Navigasyon Kapsülü & Ok Butonları */
.thumbnails-nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.thumb-nav-btn {
    width: 32px;
    height: 58px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: var(--transition);
    z-index: 2;
}

.thumb-nav-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    transform: scale(1.05);
}

/* Küçük Resimler (Thumbnails) */
.media-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
}

.media-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    width: 58px;
    height: 58px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    background: var(--bg-elevated);
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--brand-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================================== */
/* TAM EKRAN LIGHTBOX MODAL */
/* ======================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: zoomInLight 0.25s ease;
}

@keyframes zoomInLight {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-counter {
    margin-top: 14px;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 14px;
    border-radius: 999px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 100001;
}

.lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.1);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 100001;
}

.lightbox-arrow:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .lightbox-arrow.prev { left: 10px; }
    .lightbox-arrow.next { right: 10px; }
    .lightbox-close { top: 16px; right: 16px; }
}

.thumb-video-icon {
    font-size: 1.2rem;
}

.project-details h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.project-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Zip İndirmeleri Grubu */
.zip-downloads-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--border-color);
}

.zip-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-zip {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-zip:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-store {
    background: var(--play-btn-bg);
    border: 1px solid var(--play-btn-border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-store:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Hakkımızda Sayfası */
.about-sections {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.about-card h2 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    color: var(--text-main);
}

.about-card p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* İletişim Sayfası */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 36px;
}

.contact-info-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 36px;
    height: fit-content;
    box-shadow: var(--card-shadow);
}

.contact-info-panel h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Sosyal Medya Kartı & İkonları */
.social-links-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    margin-top: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.social-links-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: var(--transition);
}

.social-btn.threads svg {
    fill: none;
    stroke: currentColor;
}

.social-btn:hover {
    transform: translateY(-3px);
    border-color: var(--brand-primary);
    box-shadow: 0 8px 20px -5px rgba(59, 130, 246, 0.3);
}

/* Özel Marka Renkleri (Hover) */
.social-btn.instagram:hover {
    border-color: #e1306c;
    color: #e1306c;
    box-shadow: 0 8px 20px -5px rgba(225, 48, 108, 0.3);
}

.social-btn.x-twitter:hover {
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 8px 20px -5px rgba(255, 255, 255, 0.2);
}

.social-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
    box-shadow: 0 8px 20px -5px rgba(24, 119, 242, 0.3);
}

.social-btn.linkedin:hover {
    border-color: #0a66c2;
    color: #0a66c2;
    box-shadow: 0 8px 20px -5px rgba(10, 102, 194, 0.3);
}

.social-btn.threads:hover {
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 8px 20px -5px rgba(255, 255, 255, 0.25);
}

.social-btn.tiktok:hover {
    border-color: #ff0050;
    color: #ff0050;
    box-shadow: 0 8px 20px -5px rgba(255, 0, 80, 0.3);
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.contact-form-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: var(--card-shadow);
}

.contact-form-panel h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand-primary);
}

.form-alert {
    margin-top: 18px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.form-alert.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    color: #10b981;
}

.form-alert.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 28px 0;
    margin-top: auto;
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--brand-primary);
}

/* ======================================================== */
/* ULTRA MODERN MOBİL UYUMLULUK (Sıfır Taşma, Kusursuz UI) */
/* ======================================================== */

/* Yatay taşmayı kesin olarak engelle */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

@media (max-width: 768px) {
    /* Header & Nav */
    .site-header {
        height: 64px;
    }

    .nav-shell {
        height: 64px;
        padding: 0 16px;
    }

    .brand span {
        font-size: 1.05rem;
    }

    .brand img {
        width: 30px !important;
        height: 30px !important;
    }

    .tool-cluster {
        gap: 10px;
    }

    /* Mobilde üst barda dil kutusunu gizle; açılır menüye taşı */
    .tool-cluster .lang-wrapper {
        display: none !important;
    }

    .theme-btn {
        width: 38px;
        height: 38px;
    }

    .theme-btn svg {
        width: 18px;
        height: 18px;
    }

    .mobile-btn {
        display: block;
        width: 38px;
        height: 38px;
        padding: 6px;
    }

    /* Mobil Açılır Drawer Menü (Tam Ekran Buzlu Cam) */
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 64px);
        background: rgba(7, 9, 14, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 32px 20px;
        gap: 16px;
        z-index: 9999;
        overflow-y: auto;
    }

    [data-theme="light"] .nav-links {
        background: rgba(248, 250, 252, 0.96);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.15rem;
        font-weight: 700;
        padding: 14px 18px;
        border-radius: 12px;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        text-align: center;
        color: var(--text-main);
        transition: var(--transition);
    }

    /* Menü içindeki mobil dil seçici */
    .mobile-lang-box {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
        padding-top: 18px;
        border-top: 1px dashed var(--border-color);
    }

    .mobile-lang-box label {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text-muted);
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .mobile-lang-select {
        width: 100%;
        padding: 14px;
        background: var(--bg-elevated);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        color: var(--text-main);
        font-family: inherit;
        font-size: 1rem;
        font-weight: 600;
        outline: none;
        text-align: center;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--bg-elevated);
        border-color: var(--brand-primary);
        color: var(--brand-primary);
    }

    .nav-links a.active::after {
        display: none;
    }

    /* Hero & İçerik Düzeni */
    .main-content {
        padding: 40px 0 70px;
    }

    .hero-box {
        margin: 0 auto 50px;
        padding: 0 4px;
    }

    .hero-box h1 {
        font-size: 2.15rem;
        line-height: 1.22;
        margin-bottom: 16px;
        word-break: normal;
    }

    .hero-box p {
        font-size: 1.02rem;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        justify-content: center;
    }

    /* Kartlar & Projeler (Mobil Optimize) */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        padding: 24px 18px;
    }

    .projects-list {
        gap: 28px;
    }

    .project-card {
        grid-template-columns: 1fr;
        padding: 16px 14px;
        gap: 18px;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        overflow: hidden; /* Dışa taşmayı kesin olarak engelle */
    }

    .project-media-showcase {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .main-media-viewer {
        width: 100%;
        max-width: 100%;
        height: 340px;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
    }

    .media-backdrop {
        position: absolute;
        inset: -10px;
        width: calc(100% + 20px);
        height: calc(100% + 20px);
        background-size: cover;
        background-position: center;
        filter: blur(24px) brightness(0.45);
        transform: scale(1.1);
        z-index: 1;
    }

    .media-foreground {
        position: relative;
        z-index: 2;
        width: auto;
        height: auto;
        max-width: 95%;
        max-height: 94%;
        object-fit: contain;
        display: block;
        margin: auto;
        padding: 0;
    }

    .thumbnails-nav-wrapper {
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
        gap: 4px;
        overflow: hidden;
    }

    .thumb-nav-btn {
        width: 28px;
        height: 48px;
        font-size: 0.85rem;
    }

    .thumb-item {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }

    .project-details {
        width: 100%;
        padding: 0 2px;
        word-break: break-word;
    }

    .project-details h2 {
        font-size: 1.35rem;
        margin-top: 8px;
        margin-bottom: 10px;
    }

    .project-details p {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .project-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-store, .btn-zip {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.95rem;
    }

    /* Hakkımızda & İletişim */
    .about-card {
        padding: 26px 18px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 26px 18px;
    }

    .footer-shell {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
}

@media (max-width: 380px) {
    .brand span {
        font-size: 0.92rem;
    }
    .lang-wrapper {
        max-width: 60px;
    }
    .lang-select {
        padding: 5px 16px 5px 8px;
        font-size: 0.74rem;
        max-width: 60px;
    }
    .hero-box h1 {
        font-size: 1.85rem;
    }
}
