/* ═══════════════════════════════════════════════════════════════
   MEMSAN MAKİNA — KURUMSAL TASARIM SİSTEMİ
   Tüm stiller yerel ve modülerdir.
   ═══════════════════════════════════════════════════════════════ */
@import url('fonts.css');

:root {
    /* Ana Renk Paleti */
    --primary:          #163756;
    --primary-dark:     #0c2237;
    --primary-light:    #2a5a88;
    --blue-accent:      #267bc4;
    --blue-pale:        #e9f3fa;
    --blue-pale2:       #d2e7f6;
    
    /* Vurgu Kırmızı (Memsan Red) */
    --red:              #c0272d;
    --red-hover:        #a51c22;
    --red-pale:         #fdeeed;
    
    /* Nötr & Arka Plan */
    --dark:             #0f172a;
    --dark-surface:     #1e293b;
    --text-main:        #1e293b;
    --text-muted:       #64748b;
    --text-light:       #94a3b8;
    --bg-light:         #f8fafc;
    --bg-white:         #ffffff;
    --border-color:     #e2e8f0;
    --border-light:     #f1f5f9;
    
    /* Tipografi */
    --font-heading:     'Barlow Condensed', sans-serif;
    --font-body:        'Inter', sans-serif;
    
    /* Gölgeler & Yuvarlatmalar */
    --shadow-sm:        0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md:        0 6px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg:        0 14px 36px rgba(15, 23, 42, 0.12);
    --shadow-xl:        0 24px 60px rgba(15, 23, 42, 0.16);
    --radius-sm:        6px;
    --radius-md:        10px;
    --radius-lg:        18px;
    --radius-xl:        28px;
    
    --transition:       0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════
   ÜST BİLGİ ÇUBUĞU (TOPBAR)
   ═══════════════════════════════════════════════════════════════ */
.topbar {
    background: var(--dark);
    color: #cbd5e1;
    font-size: 13px;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    transition: color var(--transition);
}
.topbar-link:hover {
    color: #ffffff;
}
.topbar-icon {
    width: 14px;
    height: 14px;
    fill: var(--blue-accent);
}
.topbar-badge {
    background: rgba(38, 123, 196, 0.2);
    color: #60a5fa;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}
.topbar-social a {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
}
.topbar-social a:hover {
    background: var(--red);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR (ANA MENÜ)
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 104px;
    gap: 24px;
    transition: height var(--transition);
}
.navbar.scrolled .nav-inner {
    height: 92px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height var(--transition);
}
.navbar.scrolled .brand-logo img {
    height: 72px;
}
.brand-meta {
    border-left: 2px solid var(--border-color);
    padding-left: 12px;
    line-height: 1.1;
}
.brand-meta .title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.brand-meta .subtitle {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--primary);
    background: var(--blue-pale);
}
.nav-link svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    opacity: 0.6;
    transition: transform 0.2s;
}
.nav-item:hover > .nav-link svg {
    transform: rotate(180deg);
}

/* Açılır Menü (Dropdown) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 101;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 13.5px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.dropdown-item:hover {
    color: var(--primary);
    background: var(--blue-pale);
    padding-left: 18px;
}
.dropdown-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-accent);
    opacity: 0.4;
    transition: var(--transition);
}
.dropdown-item:hover .dropdown-dot {
    opacity: 1;
    background: var(--red);
    transform: scale(1.3);
}

.nav-btn-quote {
    background: var(--red);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(192, 39, 45, 0.35);
    transition: var(--transition);
}
.nav-btn-quote:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 39, 45, 0.45);
}

/* Mobil Hamburger Menü */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════════
   SAYFA BAŞLIĞI (PAGE HERO / BREADCRUMB)
   ═══════════════════════════════════════════════════════════════ */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    padding: 72px 0 56px;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
}
.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
}
.breadcrumb a {
    color: #cbd5e1;
}
.breadcrumb a:hover {
    color: #ffffff;
}
.breadcrumb-sep {
    opacity: 0.4;
}
.breadcrumb .current {
    color: #60a5fa;
    font-weight: 600;
}
.page-header-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 12px;
}
.page-header-desc {
    font-size: 17px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   GENEL BÖLÜM STİLLERİ
   ═══════════════════════════════════════════════════════════════ */
.section {
    padding: 80px 0;
}
.section.bg-light {
    background-color: var(--bg-light);
}
.section.bg-dark {
    background-color: var(--dark);
    color: #ffffff;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 52px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    background: var(--red-pale);
    padding: 4px 14px;
    border-radius: 40px;
    margin-bottom: 14px;
}
.section.bg-dark .section-tag {
    background: rgba(192, 39, 45, 0.2);
    color: #f87171;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 14px;
}
.section.bg-dark .section-title {
    color: #ffffff;
}
.section-title .accent {
    color: var(--red);
}
.section-title .blue {
    color: var(--blue-accent);
}
.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
}
.section.bg-dark .section-desc {
    color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════
   BUTONLAR
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-red {
    background: var(--red);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(192, 39, 45, 0.35);
}
.btn-red:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 39, 45, 0.45);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blue-pale);
}
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}
.btn-outline-white:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   İSTATİSTİK ŞERİDİ (STATS BAR)
   ═══════════════════════════════════════════════════════════════ */
.stats-strip {
    background: var(--dark-surface);
    color: #ffffff;
    padding: 36px 0;
    border-top: 3px solid var(--red);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.stat-box {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
}
.stat-box:last-child {
    border-right: none;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-num span {
    color: var(--red);
}
.stat-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   KARTLAR & GRID YAPISI
   ═══════════════════════════════════════════════════════════════ */
.card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover {
    border-color: var(--blue-pale2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.card-media {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-media img {
    transform: scale(1.05);
}
.card-body {
    padding: 24px;
}
.card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}
.card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-link:hover {
    color: var(--red);
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER (ALT BİLGİ ALANI)
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.footer-logo img, .footer-brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-logo-text .name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-logo-text .sub {
    font-size: 11px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.footer-about {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #cbd5e1;
}

/* Sosyal Medya Linkleri - Müşteri Notu: LINK OLACAK */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    transition: var(--transition);
}
.social-link-btn:hover {
    background: var(--blue-accent);
    border-color: var(--blue-accent);
    transform: translateX(4px);
}
.social-link-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}
.social-link-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--red);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: #94a3b8;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '›';
    color: var(--red);
    font-size: 16px;
    line-height: 1;
}
.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}
.fci-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(38, 123, 196, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fci-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--blue-accent);
}
.fci-content strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cbd5e1;
    margin-bottom: 2px;
}
.fci-content span, .fci-content a {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
}
.fci-content a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
}
.footer-copy strong {
    color: #ffffff;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: #64748b;
}
.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSİVE (DUYARLI) TASARIM
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stat-box:nth-child(3) {
        border-right: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.open {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 56px 0;
    }
}
