/* =============================================
   SOYDAN BİLİŞİM - Ana Stil Dosyası (style.css)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'HoratioBold';
    src: url('../fonts/HORATIOB.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS DEĞİŞKENLERİ ===== */
:root {
    --primary: #e30613;
    --primary-dark: #b8050f;
    --secondary: #1a1a1a;
    --accent: #6366f1;

    --background: #ffffff;
    --foreground: #111827;
    --text-main: #374151;
    --text-muted: #6b7280;

    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --section-bg-alt: #f9fafb;

    --header-height: 120px;
    --container-max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--foreground);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--section-bg-alt);
}

/* ===== BUTONLAR ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    gap: 8px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.4);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #333;
    transform: translateY(-2px);
    color: white;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* Top Bar */
.navbar .top-bar {
    background: var(--secondary);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    border-top: 3px solid var(--primary);
}

.navbar .top-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.navbar .contact-info {
    display: flex;
    gap: 24px;
}

.navbar .contact-info a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e5e7eb;
    font-size: 0.87rem;
    transition: color 0.2s;
    padding: 0 5px;
}

.navbar .contact-info a:hover {
    color: var(--primary);
}

/* Main Nav */
.navbar .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Logo */
.navbar .logo {
    margin-left: 1cm;
}

.navbar .logo,
.logo {
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 66px;
    width: auto;
    display: block;
}

footer .logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #7dd3fc;
}

footer .logo span {
    font-family: 'HoratioBold', sans-serif;
    font-weight: normal;
    color: white;
    margin-left: 2px;
}

.navbar .logo:hover {
    opacity: 0.85;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #374151;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus {
    color: var(--primary);
    background: rgba(227, 6, 19, 0.06);
}

/* Submenu */
.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    min-width: 240px;
    padding: 8px 0;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
    z-index: 100;
}

.nav-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.submenu li a:hover {
    background: rgba(227, 6, 19, 0.06);
    color: var(--primary);
    padding-left: 26px;
    border-left-color: var(--primary);
    font-weight: 600;
}

/* CTA button area in nav */
.navbar .cta {
    display: flex;
    align-items: center;
}

.navbar .cta .btn {
    padding: 9px 13px;
    margin-right: 3px;
}

/* ===== PAGE HERO (Alt sayfalar için) ===== */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 120px 0 80px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 4px;
    margin-bottom: 11px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 700px;
    line-height: 1.7;
}

/* ===== KART STİLLERİ ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card .icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Service link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 16px;
    transition: gap 0.2s ease;
}

.feature-card:hover .service-link {
    gap: 10px;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    max-width: 900px;
    margin-bottom: 60px;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 40px 0 20px;
    border-left: 5px solid var(--primary);
    padding-left: 20px;
}

.page-content p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Item grid (hakkimizda) */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    padding: 12px 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 28px;
    padding: 70px 60px;
    text-align: center;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 4px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    color: white;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul li {
    margin-bottom: 3px;
}

.footer-col ul li a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 6px;
}

.footer-col ul li:not(:has(a)) {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Footer submenu - her zaman görünür düz liste */
.footer-col .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 0 12px;
    min-width: auto;
    background: transparent;
    margin-top: 6px;
}

.footer-col .submenu li a {
    font-size: 0.83rem;
    padding: 3px 0;
    border-left: none;
    color: #6b7280;
}

.footer-col .submenu li a:hover {
    color: white;
    padding-left: 6px;
    background: none;
    border-left: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    text-align: center;
    color: #6b7280;
    font-size: 0.62rem;
}

/* ===== ANİMASYONLAR ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes flashEffect {
    0%   { transform: scale(1); box-shadow: 0 0 10px rgba(227, 6, 19, 0.3); }
    50%  { transform: scale(1.05); box-shadow: 0 0 25px rgba(227, 6, 19, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(227, 6, 19, 0.3); }
}

/* ===== RESPONSIVE ===== */
/* ===== MOBİL HAMBURGER MENÜ ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open {
    position: fixed;
    top: 25px;
    right: 24px;
    z-index: 1300;
}

.hamburger.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-menu,
    .navbar .cta {
        display: none;
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        min-height: -webkit-fill-available;
        background: white;
        align-items: flex-start;
        padding: 80px 24px 40px;
        overflow-y: auto;
        z-index: 1200;
        gap: 0;
    }

    .nav-menu.open > li {
        width: 100%;
    }

    .nav-menu.open > li > a {
        font-size: 1rem;
        padding: 13px 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        display: block;
        color: var(--secondary);
    }

    .nav-menu.open .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        padding: 6px 16px;
        width: 100%;
        transform: none;
        display: none;
    }

    .nav-menu.open .submenu.open {
        display: block;
    }

    .nav-menu.open .submenu li a {
        padding: 8px 0;
        font-size: 0.9rem;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 1.9rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 50px 28px;
    }

    .cta-section h2 {
        font-size: 1.7rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }
}
