/* NEW PREMIUM LIGHT DESIGN SYSTEM (Based on Screenshots) */
:root {
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --primary: #FF7A3D; /* Bright Orange Accent */
    --primary-hover: #e5652e;
    --text-dark: #1E293B; /* Navy slate for headings */
    --text-main: #334155; /* Slate for body */
    --text-muted: #64748B;
    --border-light: #e2e8f0;
    --dark-blue: #1e3a8a;
    --bg-orange-light: #fff3ed;
}

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

body.light-theme {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* UTILITIES */
.text-primary { color: var(--primary); }
.text-dark { color: var(--text-dark); }
.text-muted { color: var(--text-muted); }
.text-darkblue { color: var(--dark-blue); }
.text-center { text-align: center; }
.text-sm { font-size: 0.85rem; }
.font-bold { font-weight: 700; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }
.bg-orange-light { background: var(--bg-orange-light); border-radius: 8px; padding: 15px; }

/* SECTIONS */
section { padding: 80px 0; }
.section-light { background-color: var(--bg-light); }
.section-white { background-color: var(--bg-white); }
.section-title { margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 10px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.flex-spread { display: flex; justify-content: space-between; gap: 30px; }

/* NAVBAR */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrap { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; }
.logo a.logo-link { display: block; text-decoration: none; }
.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}
.f-logo { margin-bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.footer-slogan { display: flex; flex-direction: column; gap: 6px; }
.footer-slogan span { font-size: 0.85rem; color: var(--text-muted); font-family: 'Inter'; font-weight: 500; }

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.9rem;
    text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.25); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { display: block; width: 100%; }

/* HERO SECTION */
.hero {
    position: relative;
    padding: 150px 0 200px; /* space for overlapping cards */
    background-size: cover;
    background-position: center;
    background-color: #1a202c; /* Fallback if image fails */
    color: #fff;
}
  
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 { color: #fff; font-size: 3rem; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.15rem; color: #e2e8f0; margin-bottom: 35px; }
.hero-actions { display: flex; justify-content: center; gap: 15px; }

.hero-cards {
    position: absolute;
    bottom: -60px; /* Overlay effect */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-card {
    flex: 1;
    background: rgba(30, 41, 59, 0.85); /* Slate 800 translucent */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 15px;
    color: #f1f5f9;
}
.hc-icon { font-size: 1.5rem; color: var(--primary); }
.hc-text h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.hc-text p { font-size: 0.85rem; color: #cbd5e1; margin-bottom: 12px; }
.target-val { color: var(--primary); font-size: 1.1rem; display: block; font-family: 'Outfit'; }

/* HOW IT WORKS (Timeline styled purely text as screenshot) */
.how-it-works { padding-top: 140px; }
.steps-wrapper { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.step-item { background: transparent; padding-left: 20px; border-left: 2px solid var(--border-light); }
.step-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-item p { color: var(--text-muted); font-size: 0.95rem; }

/* SERVICES */
.service-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.sv-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.sv-icon { width: 45px; height: 45px; background: var(--bg-orange-light); color: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.sv-header h2 { font-size: 1.6rem; margin: 0;}

.bad-tag { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; display: block; margin-bottom: 6px; letter-spacing: 0.5px; }
.bad-list { list-style: none; color: var(--text-muted); font-size: 0.9rem; }
.bad-list li { margin-bottom: 5px; }
.bad-list li::before { content: "• "; color: var(--text-muted); }

.sv-solution-card {
    background: #fdfdfd;
    border: 1px solid var(--border-light);
    padding: 25px;
    border-radius: 8px;
}
.solution-tag { font-size: 0.75rem; color: var(--primary); font-weight: 700; display: block; margin-bottom: 6px; }
.process-tag { font-size: 0.75rem; color: var(--text-dark); font-weight: 700; display: block; margin-bottom: 10px; }
.good-list { list-style: none; font-size: 0.9rem; }
.good-list li { margin-bottom: 6px; }
.good-list li i { margin-right: 8px; }
.result-tag { font-size: 0.75rem; color: var(--text-dark); font-weight: 700; display: block; margin-bottom: 6px; }

/* PROJECTS / CASES (Image left, content right) */
.glass-card-white {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.project-layout { display: flex; min-height: 480px; }
.pl-image { flex: 0.5; background-size: cover; background-position: center; }
.pl-content { flex: 0.5; padding: 40px; }

.pl-tag { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; display: block; margin-bottom: 8px; letter-spacing: 0.5px; }
.pl-section ul { list-style: none; font-size: 0.85rem; color: var(--text-main); line-height: 1.8; }
.pl-section ul li::before { content: "• "; color: var(--text-muted); }

.pl-stats { align-items: center; border-top: 1px solid var(--border-light); padding-top: 15px;}
.stat-box { display: flex; flex-direction: column; text-align: left; }
.stat-box .lbl { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; }
.stat-box .val { font-size: 2rem; font-family: 'Outfit'; font-weight: 700; }

.mini-good { list-style: none; }
.mini-good li { color: var(--text-muted); margin-bottom: 4px; }
.mini-good li i { margin-right: 6px; }

/* KNOWLEDGE CENTER */
.toggle-tabs { display: flex; justify-content: center; gap: 10px; background: var(--bg-light); padding: 5px; border-radius: 8px; width: fit-content; margin: 0 auto; border: 1px solid var(--border-light); }
.tab-btn { background: transparent; border: none; padding: 10px 20px; font-family: 'Inter'; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 6px; transition: all 0.2s; font-size: 0.9rem;}
.tab-btn i { margin-right: 6px; }
.tab-btn.active { background: var(--bg-white); color: var(--text-dark); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

.article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}
.article-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.article-card h4 { font-size: 1.1rem; margin-bottom: 15px; }
.article-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; min-height: 60px; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #94a3b8; border-top: 1px solid var(--border-light); padding-top: 15px; }

/* CONTACT */
.contact-info { flex: 0.45; }
.info-card { display: flex; gap: 15px; margin-bottom: 25px; }
.info-card i { color: var(--primary); font-size: 1.5rem; background: var(--bg-white); border: 1px solid var(--border-light); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 8px;}
.info-card span { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 700; margin-bottom: 4px; }
.info-card strong { color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }

.contact-form { flex: 0.55; padding: 40px; }
.form-row { display: flex; gap: 20px; margin-bottom: 15px; }
.form-group { flex: 1; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border-light); background: var(--bg-light); border-radius: 6px; color: var(--text-main); font-family: 'Inter'; outline: none; transition: border 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }

/* FOOTER */
.footer { border-top: 1px solid var(--border-light); padding: 40px 0; background: var(--bg-white); font-size: 0.85rem; }
.f-logo { flex: 0.4; display: flex; align-items: flex-start; gap: 10px; }
.f-links, .f-contact { flex: 0.3; display: flex; flex-direction: column; gap: 10px; }
.f-links strong, .f-contact strong { color: var(--text-dark); font-size: 0.8rem; letter-spacing: 0.5px; margin-bottom: 5px; }
.f-links a { color: var(--text-muted); }

/* CHAT FEATURE OVERRIDE FOR LIGHT THEME */
.chat-toggle-btn {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000;
    width: 65px; height: 65px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 1.8rem; cursor: pointer; box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4); transition: transform 0.3s; display: flex; align-items: center; justify-content: center;
}
.chat-window {
    position: fixed; bottom: 100px; right: 30px; width: 350px; height: 450px; background: var(--bg-white); border: 1px solid var(--border-light); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-radius: 12px; display: flex; flex-direction: column; transform: scale(0); transform-origin: bottom right; transition: all 0.3s ease; z-index: 999; overflow: hidden;
}
.chat-window.active { transform: scale(1); }
.chat-header { background: var(--text-dark); color: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; background: var(--bg-light); }
.msg { max-width: 85%; padding: 12px; border-radius: 8px; font-size: 0.85rem; line-height: 1.4; }
.msg.ai { background: var(--bg-white); border: 1px solid var(--border-light); align-self: flex-start; }
.msg.user { background: var(--primary); color: #fff; align-self: flex-end; }
.chat-input-area { display: flex; border-top: 1px solid var(--border-light); background: var(--bg-white); padding: 10px; gap: 10px; }
.chat-input-area input { flex: 1; border: 1px solid var(--border-light); border-radius: 6px; padding: 10px; outline: none; }
.chat-input-area button { background: var(--primary); color: #fff; border: none; width: 40px; border-radius: 6px; cursor: pointer; }

/* ANIMATION */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeIn 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; } .delay-5 { animation-delay: 0.5s; }

/* ==============================================================
   HIZLI FİZİBİLİTE MODAL EKRANI
   ============================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-container {
    width: 90%; max-width: 500px;
    background: #fff; border-radius: 12px; padding: 35px 30px;
    position: relative;
    transform: translateY(20px); transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.modal-overlay.active .modal-container { transform: translateY(0); }
.modal-close {
    position: absolute; top: 15px; right: 20px;
    background: transparent; border: none; font-size: 1.8rem; color: #64748b; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: #f43f5e; }
.mh-icon {
    width: 50px; height: 50px; border-radius: 50%; background: var(--bg-orange-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 15px;
}
.modal-header h3 { font-size: 1.4rem; margin-bottom: 5px; }
.modal-header p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 25px; }

.form-control {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border-light); background: var(--bg-light); border-radius: 6px; color: var(--text-main); font-family: 'Inter'; outline: none; transition: border 0.3s;
}
.form-control:focus { border-color: var(--primary); }
.input-with-icon { position: relative; }
.input-with-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 600; }
.pl-4 { padding-left: 35px !important; }

.result-cards { background: #f8fafc; border: 1px solid var(--border-light); border-radius: 8px; padding: 20px; gap: 20px !important;}
.res-card { display: flex; flex-direction: column; margin-bottom: 0px; }
.res-card .lbl { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; display:flex; align-items:center; gap:5px;}
.res-card .val { font-size: 1.6rem; font-family: 'Outfit'; font-weight: 700; line-height: 1; }
.text-success { color: #10b981; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-cards { flex-direction: column; position: relative; bottom: 0; transform: none; left: 0; margin-top: 30px;}
    .hero { padding: 100px 0 50px; }
    .project-layout { flex-direction: column; }
    .pl-image { min-height: 250px; }
    .contact-wrap, .footer-wrap { flex-direction: column; }
}
