:root {
    --color-primary: #0A2463;
    --color-secondary: #3E92CC;
    --color-accent: #D8315B;
    --color-dark: #1E1B18;
    --color-light: #F8F9FA;
    --color-gray: #6C757D;
    --color-gray-light: #E9ECEF;
    --color-white: #FFFFFF;
    
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar-logo img {
    height: 60px;
    width: auto;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-secondary);
}

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

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-cta {
    background: var(--color-accent);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.navbar-cta:hover {
    background: #B8244A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-main);
}

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

.btn-primary:hover {
    background: #B8244A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    background: #082052;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

/* Page Header */
.page-header {
    padding: 140px 2rem 80px;
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.03) 50%, transparent 50%, transparent 80%, rgba(255,255,255,0.03) 80%),
        linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.03) 50%, transparent 50%, transparent 80%, rgba(255,255,255,0.03) 80%);
    background-size: 100px 100px;
    opacity: 0.3;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section */
.section {
    padding: 80px 2rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 2rem 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Utility Classes */
.bg-light {
    background: var(--color-light);
}

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

.hidden {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 1.5rem;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .page-header {
        padding: 100px 1.5rem 60px;
    }
    
    .section {
        padding: 60px 1.5rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.project-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.05) 60%, transparent 60%);
    background-size: 60px 60px;
}

.project-image svg {
    width: 80px;
    height: 80px;
    color: rgba(255,255,255,0.3);
    z-index: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-tag {
    padding: 0.4rem 0.8rem;
    background: var(--color-gray-light);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray);
}

.project-tag.web {
    background: #E3F2FD;
    color: #1976D2;
}

.project-tag.mobile {
    background: #F3E5F5;
    color: #7B1FA2;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.project-description {
    color: var(--color-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-outputs {
    list-style: none;
    padding-left: 0;
}

.project-outputs li {
    padding: 0.4rem 0;
    color: var(--color-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-outputs li::before {
    content: '→';
    color: var(--color-accent);
    font-weight: 700;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-gray-light);
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-dark);
    font-family: var(--font-main);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--color-gray-light);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--color-dark);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Feature List */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--color-gray-light);
}

.feature-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Scenario Cards */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.scenario-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid var(--color-gray-light);
    transition: var(--transition);
}

.scenario-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.scenario-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.scenario-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), #FF6B9D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-md);
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.process-step p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid var(--color-gray-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-secondary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* Form */
.form-container {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.form-label .required {
    color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.form-submit:hover {
    background: #B8244A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Principle Cards */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transform: translate(40%, -40%);
}

.principle-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.principle-card p {
    line-height: 1.7;
    opacity: 0.95;
    position: relative;
}

/* Service Icons */
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--color-gray);
}

/* MVC integration */
button { font: inherit; }
.navbar-toggle, .whatsapp-float, .faq-question { border: 0; }
.footer-muted { color: rgba(255,255,255,.8); }
.hero-section { padding: 150px 2rem 110px; color: #fff; background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%); }
.hero-content { max-width: 760px; margin-left: max(0px, calc((100vw - 1400px) / 2)); }
.hero-content h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; margin-bottom: 1.5rem; }
.hero-content > p { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.7; opacity: .95; }
.hero-features, .button-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
.hero-features span { font-weight: 600; }
.btn-light { background: #fff; color: var(--color-primary); }
.section-action { text-align: center; margin-top: 3rem; }
.card-link, .blog-card { color: inherit; text-decoration: none; display: block; }
.card-link h3 { margin: 1rem 0; }
.muted-copy, .lead-copy { color: var(--color-gray); line-height: 1.75; }
.lead-copy { font-size: 1.2rem; }
.service-symbol { color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; }
.project-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.text-link { color: var(--color-secondary); font-weight: 700; text-decoration: none; }
.cta-panel { padding: 4rem 2rem; border-radius: 20px; text-align: center; color: #fff; background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%); }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-panel p { margin-bottom: 2rem; font-size: 1.1rem; opacity: .92; }
.narrow { max-width: 960px; }
.compact { margin-bottom: 2rem; }
.single-column { grid-template-columns: 1fr; }
.detail-image { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 16px; margin-bottom: 2rem; box-shadow: var(--shadow-md); }
.service-detail-content { line-height: 1.8; }
.contact-form-space { margin-top: 4rem; }
.form-grid { gap: 1rem; }
.form-success, .form-error { padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; }
.form-success { color: #176c3a; background: #e9f8ef; }
.form-error { color: #9b1c31; background: #fff0f3; }
.form-error:empty { display: none; }
.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.map-frame { width: 100%; height: 420px; border: 0; border-radius: 16px; }
.faq-question { width: 100%; background: transparent; text-align: left; }
.blog-content { line-height: 1.8; color: var(--color-gray); }
.blog-content img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
    .hero-section { padding: 120px 1.5rem 75px; }
    .hero-content { margin-left: 0; }
}
/* ===== BLOG EKLERİ ===== */

/* project-card'ı <a> olarak kullanınca */
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Blog liste görseli daha “blog” gibi olsun */
.blog-card .project-image {
  height: 200px;
}

/* Blog detail layout (sol içerik + sağ sidebar) */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

.blog-hero-image {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.blog-meta {
  margin-top: 1rem;
}

.blog-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0.75rem 0 0.5rem;
  font-weight: 800;
  color: var(--color-dark);
}

.blog-subtitle {
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.blog-content p {
  color: var(--color-gray);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.blog-content h2 {
  margin: 1.6rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--color-dark);
}

.blog-aside {
  position: sticky;
  top: 110px; /* navbar fixed */
}

.blog-aside-title {
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

/* Sağdaki kartlar biraz daha kompakt */
.aside-card .project-image {
  height: 140px;
}

/* Responsive */
@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-aside {
    position: static;
  }
}
