/* GENEL AYARLAR */
:root {
    --primary-color: #0066ff;
    --primary-dark: #004ecc;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* LOGO VE NAVBAR */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-text span {
    color: var(--primary-color);
}

.logo-text.light {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-icon-btn {
    font-size: 18px;
    color: var(--primary-color);
    background: #eff6ff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #dbeafe;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tech-icon-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--bg-dark);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* HİZMETLER - AÇILIR KART BÖLÜMÜ (HOVER DROPDOWN) */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--bg-dark);
}

.section-title p {
    color: var(--text-muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: start;
}

.expand-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.expand-card:hover {
    box-shadow: 0 15px 30px rgba(0,102,255,0.12);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.card-main {
    padding: 30px;
}

.card-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-main h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.card-short {
    color: var(--text-muted);
    font-size: 14px;
}

/* Üstüne Gelindiğinde Aşağı Açılan Panel */
.card-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background-color: #f8fafc;
    border-top: 1px solid transparent;
    transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
}

.expand-card:hover .card-panel {
    max-height: 300px;
    opacity: 1;
    border-top-color: var(--border-color);
}

.panel-content {
    padding: 20px 30px 25px;
}

.panel-content h4 {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.panel-content p {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.6;
}

/* PROJELER */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.projects {
    background-color: #f1f5f9;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.tag {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 14px;
}

/* FOOTER */
.footer {
    background-color: var(--bg-dark);
    color: #94a3b8;
    padding-top: 60px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}

/* SAĞ ALT YUKARI ÇIK BUTONU STİLİ */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }
}