/* ==========================================================================
   DESIGN SYSTEM - PREMIUM DARK THEME
   Renk Paleti:
   - Ana Arka Plan: #161E4F (Derin İndigo Mavi)
   - Kontrast Arka Plan: #010206 (Uzay Siyahı / Koyu Kontrast)
   - Ana Vurgu Rengi: #00A7E7 (Temiz Camgöbeği / Canlı Mavi)
   - Metinler: #FFFFFF (Temiz Beyaz)
   ========================================================================== */

:root {
    /* Renk Tanımlamaları */
    --bg-main: #161E4F;
    --bg-contrast: #010206;
    --accent: #00A7E7;
    --accent-hover: #008cc2;
    --accent-glow: rgba(0, 167, 231, 0.25);
    --text-white: #FFFFFF;
    --text-muted: #8E9BAE;
    
    /* Panel ve Sınır Renkleri */
    --card-bg-darker: #010206;
    --card-bg-lighter: #1d2866;
    --border-light: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(0, 167, 231, 0.2);
    --border-focus: #00A7E7;

    /* Tipografi */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Geçişler ve Gölgeler */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 4px 20px rgba(0, 167, 231, 0.15);
}

/* 1. SIFIRLAMA (RESET) VE GENEL AYARLAR */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

ul {
    list-style: none;
}

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

/* 2. DÜZEN VE IZGARA (GRID) YAPILARI */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.section-padding {
    padding: 8rem 0;
}

/* 3. TİPOGRAFİ VE BAŞLIKLAR */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
}

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

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 15%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. BUTONLAR VE ETKİLEŞİM ELEMENTLERİ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 167, 231, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: rgba(0, 167, 231, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    display: width;
    width: 100%;
}

/* 5. ÜST BİLGİ (HEADER) & NAVİGASYON */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-contrast);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    padding-left: 4%;
    padding-right: 7%;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-area img {
    height: 60px;
    width: auto;
    display: block;
}

.agency-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.ornek-resim {
    max-height: auto;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--text-white);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.nav-cta {
    background-color: var(--accent);
    color: var(--text-white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--accent-hover);
}

.nav-cta::after {
    display: none;
}

/* Mobil Menü Butonu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobil Menü Açılır Alanı */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-contrast);
    border-left: 1px solid var(--border-light);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 8rem 2rem 2rem;
    gap: 1.75rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mobile-nav-link:hover {
    color: var(--text-white);
    padding-left: 10px;
}

.mobile-cta {
    background-color: var(--accent);
    color: var(--text-white);
    text-align: center;
    padding: 0.8rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: 600;
}

/* 6. ANA SAYFA / HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
    padding-top: 7rem;
    padding-bottom: 5rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 167, 231, 0.1);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0, 167, 231, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-card-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 540px;
}

.tech-card {
    background-color: var(--bg-contrast);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.tech-card.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.tech-card .card-icon {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.tech-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tech-card .card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 7. STRATEJİ & ANALİZ (VERI LABORATUVARI) */
.strategy-section {
    background-color: var(--bg-contrast);
}

.strategy-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.check-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 900;
}

.strategy-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.stat-box {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
}

/* 8. KREATİF & TASARIM STÜDYOSU */
.creative-section {
    background-color: var(--bg-main);
}

.portfolio-item {
    background-color: var(--bg-contrast);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.portfolio-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.portfolio-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-img-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img-placeholder {
    filter: brightness(1.1);
}

.portfolio-item:hover .portfolio-img-placeholder img {
    transform: scale(1.03);
}

.portfolio-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

/* 9. YAZILIM & TEKNOLOJİ GELİŞTİRME */
.software-section {
    background-color: var(--bg-contrast);
}

.code-visual-panel {
    background-color: #02040d;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.panel-header {
    background-color: #0a0e1a;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.panel-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.panel-header .dot:nth-child(1) { background-color: #ff5f56; }
.panel-header .dot:nth-child(2) { background-color: #ffbd2e; }
.panel-header .dot:nth-child(3) { background-color: #27c93f; }

.panel-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: auto;
    font-family: monospace;
}

.code-block {
    padding: 1.5rem;
    font-size: 0.9rem;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.5;
}

/* C# Code Colorizer */
.code-block .keyword { color: #569cd6; }
.code-block .class-name { color: #4ec9b0; }
.code-block .interface-name { color: #b5cea8; }
.code-block .method-name { color: #dcdcaa; }
.code-block .comment { color: #6a9955; }
.code-block .string { color: #ce9178; }

.software-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.software-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

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

.tech-tag {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 500;
}

/* 10. DİJİTAL PAZARLAMA & BÜYÜME (GROWTH) */
.growth-section {
    background-color: var(--bg-main);
}

.dashboard-preview {
    background-color: var(--bg-contrast);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
}

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

.dashboard-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.pulse-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pulse-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.db-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: 6px;
    transition: var(--transition);
}

.db-card:hover {
    border-color: var(--border-accent);
}

.db-card h5 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.db-val {
    font-size: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.text-green { color: #10B981; }
.text-blue { color: var(--accent); }

.db-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 11. İLETİŞİM & TALEP YÖNETİMİ */
.contact-section {
    background-color: var(--bg-contrast);
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.detail-item .icon {
    font-size: 1.4rem;
}

.contact-form-container {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
}

/* Form Tasarımı */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

input, select, textarea {
    background-color: var(--bg-contrast);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 0.85rem 1.2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}

select option:checked {
    background-color: var(--accent) !important;
    color: var(--text-white) !important;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(0, 167, 231, 0.15);
}

textarea {
    resize: vertical;
}

/* Hata ve Başarı Durumları */
.field-error {
    color: #EF4444;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: none;
}

.form-alert {
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: none;
}

.success-alert {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.error-alert {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* 12. ALT BİLGİ (FOOTER) */
.main-footer {
    background-color: var(--bg-contrast);
    border-top: 1px solid var(--border-light);
    padding: 4rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.footer-meta {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-meta p {
    margin-bottom: 0.25rem;
}

/* 13. MOBİL RESPONSIVE TASARIM ARAYÜZLERİ */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 1200px) {
    .main-nav {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .header-container {
        padding-left: 2%;
        padding-right: 3%;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        display: none; /* Masaüstü menüyü gizle */
    }
    
    .menu-toggle {
        display: flex; /* Hamburger menüyü göster */
    }
    
    .header-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-section {
        padding-top: 8.5rem;
        padding-bottom: 4rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-meta {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-section {
        padding-top: 8.5rem;
        padding-bottom: 4rem;
    }
}

/* ==========================================================================
   KREATİF PORTFOLYO LIGHTBOX MODAL CSS STİLLERİ
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 2, 6, 0.96);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    display: block;
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-caption {
    text-align: center;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5rem;
    letter-spacing: -0.01em;
}
