/* Ana CSS Dosyası */

/* Reset ve Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, 
h1, h2, h3, h4, h5, h6, 
p, a, li, span, small, strong, b, label,
input, textarea, select, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Ek Güvenlik: Eğer 'span' içinde ikon kullanıyorsan onları korumak için */
.fas, .far, .fab, .fa, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome, sans-serif !important;
    font-weight: 900 !important;
}


:root {
 
    --primary-color: #d31212;    
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --gradient-primary: linear-gradient(135deg, #d31212 0%, #ff4747 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Header ve Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar {
    padding: 5px 0;
}

/* --- ÖNEMLİ DEĞİŞİKLİK: Container Ayarı --- */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    
    /* İÇERİĞİ MERKEZE TOPLAMAK İÇİN: */
    max-width: 1200px; /* İçeriği 1200px ile sınırlar, çok yayılmaz */
    margin: 0 auto;    /* Ortalar */
    padding: 0 20px;   /* Mobilde kenarlara yapışmasın diye güvenlik boşluğu */
    width: 100%;       /* Küçük ekranlarda tam genişlik */
}

/* --- LOGO AYARLARI --- */
.nav-brand .logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}

.nav-logo-img {
    height: 80px; 
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover .nav-logo-img {
    transform: scale(1.02);
}

.nav-brand .logo i {
    display: none;
}

/* --- MENÜ LİNKLERİ --- */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem; /* Boşluğu biraz daha ideal seviyeye çektik */
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem; /* Logo büyük olduğu için yazıyı çok az büyüttük, denge sağlansın */
    transition: var(--transition);
    position: relative;
    padding: 30px 0; 
}

/* Genel alt çizgi (tüm nav linklerde aynı davranış) */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 10px; /* biraz daha yukarı alarak görünür hale getiriyoruz */
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
}

/* Hover / focus / açık (show) / active durumlarında alt çizgiyi göster */
.nav-item:hover > .nav-link::before,
.nav-item.show > .nav-link::before,
.nav-item:focus-within > .nav-link::before,
.nav-link:hover::before,
.nav-link.active::before {
    width: 100% !important;
    opacity: 1;
    visibility: visible;
}

/* Güvenlik: dropdown parent'lar için de aynı arka plan rengi */
.nav-item.dropdown:hover > .nav-link::before,
.nav-item.dropdown.show > .nav-link::before,
.nav-item.dropdown > .nav-link.active::before {
    background: var(--primary-color) !important;
    height: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobil Menü Butonu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* --- Gelişmiş Dropdown Menü --- */

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Dropdown Menü Kutusu */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-hover);
    list-style: none;
    min-width: 240px;
    padding: 10px 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    z-index: 1000;
    margin-top: 6px; /* Küçük boşluk ile fare geçişinde kaybolmayı önle */
    transition: all 0.3s ease;
    transform: translateY(10px);
    border-top: none; /* Ana sayfayı diğer sayfalarla tutarlı hale getir */
}

/* Görünmez Köprü (Menünün kapanmasını engeller) */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
} 

/* Hover Durumu */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Eğer Bootstrap 'show' sınıfı eklenirse aynı görünüm olsun */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Küçük ok (Bootstrap caret / pseudo) gizle --- */
.navbar .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* Dropdown parent üzerinde hover veya show durumunda herhangi bir arka plan/çerçeve gösterme */
.nav-item.dropdown,
.nav-item.dropdown > .nav-link,
.nav-item.dropdown.show,
.nav-item.dropdown:focus-within {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.nav-item.dropdown:hover > .nav-link,
.nav-item.dropdown.show > .nav-link,
.nav-item.dropdown:focus-within > .nav-link {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Dropdown Link Stilleri */
.dropdown-link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 25px;
}

/* Menü Ok İşareti (Angle Down) */
.nav-link i {
    font-size: 0.85rem;
    margin-left: 6px;
    color: #a0aec0;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Odak çerçevesi (mouse ile tıklamada mavi ring'i kaldır, klavye ile görünür kalacak şekilde) */
.dropdown-toggle:focus {
    outline: none;
    box-shadow: none;
}

.dropdown-toggle:focus-visible {
    outline: 2px solid rgba(220,53,69,0.15);
    outline-offset: 2px;
}

/* --- ÖNEMLİ DÜZELTME: Dropdown Aktiflik Sorunu --- */
/* Sayfa aşağı kayınca Ana Başlık (Mikro/Kurumsal) sabit yanmasın diye */
.nav-item.dropdown > .nav-link.active {
    color: var(--text-dark) !important;
}

/* Dropdown parent'lar hover veya active olduğunda alt çizgi göster (diğer sayfalarla uyumlu olsun) */
/* Varsayılan: görünmez */
.nav-item.dropdown > .nav-link::before {
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 18px; /* position uyumu için hafif ayar */
    left: 0;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

/* Hover, open (show) veya active olduğunda alt çizgiyi göster */
.nav-item.dropdown:hover > .nav-link::before,
.nav-item.dropdown.show > .nav-link::before,
.nav-item.dropdown > .nav-link.active::before {
    width: 100% !important;
    opacity: 1;
    visibility: visible;
    background: var(--primary-color) !important;
    height: 2px;
}

/* Sadece fare ile üzerine gelince (Hover) renklenmesi için */
.nav-item.dropdown:hover > .nav-link {
    color: var(--primary-color) !important;
}

/* Beklenmedik küçük ok / marker'ları gizle (güvenli ve hedeflenmiş) */
.nav-list li::marker { display: none; }
.nav-item::before, .nav-item::after { display: none !important; content: none !important; }

/* Hero Section (Ana Sayfa Header) */
.hero-section {
    padding: 100px 0 20px;
    background: var(--light-bg);
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 400px;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.tech-icon:nth-child(2n) {
    background: var(--gradient-secondary);
    animation-delay: 0.5s;
}

.tech-icon:nth-child(3n) {
    background: var(--gradient-tertiary);
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Sayfa Başlıkları */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
    color: var(--white);
}

/* Birleştirilmiş başlık stili: banner ve bölüm başlıkları aynı boyut, kalınlık ve koyu gri renk */
.page-title,
.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Bölüm Başlıkları */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Hizmetler Bölümü */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Projeler Bölümü */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:nth-child(2) .project-image {
    background: var(--gradient-secondary);
}

.project-card:nth-child(3) .project-image {
    background: var(--gradient-tertiary);
}

.project-card:nth-child(4) .project-image {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* İletişim Bölümü */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =========================================
   FOOTER - FİNAL SADE TASARIM (style.css)
   ========================================= */

footer {
    background-color: #101820; 
    color: #a0aec0; 
    padding: 80px 0 30px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
    margin-top: auto;
}

/* Izgara Yapısı */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; 
    gap: 40px;
    margin-bottom: 3rem;
    align-items: start;
}

/* --- 1. SÜTUN: LOGO --- */
.footer-brand-col .logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1); 
    opacity: 0.9;
}

.brand-desc {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 95%;
}

/* --- BAŞLIKLAR (ÇİZGİSİZ) --- */
.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700; 
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    /* Çizgiyi sildik */
    padding-bottom: 0;
}

/* Kırmızı Çizgiyi Yok Eden Kod */
.footer-heading::after {
    display: none !important;
    content: none !important;
}

/* --- LİNKLER --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    /* Alt çizgiyi de kaldırdık, daha sade olsun */
    border-bottom: none; 
    padding-bottom: 0;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    font-weight: 400;
}

.footer-links a:hover {
    color: #ffffff; /* Hover olunca beyaz olsun */
    padding-left: 6px;
}

/* --- İLETİŞİM ALANI --- */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #a0aec0;
    line-height: 1.5;
}

.contact-item i {
    color: #ffffff !important; 
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #fff;
}

/* --- ÇALIŞMA SAATLERİ KUTUSU (SADE) --- */
.hours-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 6px;
    /* Sol taraftaki kırmızı çizgiyi sildik */
    border-left: none; 
    margin-top: 25px;
}

.hours-box span {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.hours-box span i {
    color: #ffffff !important; 
    margin-right: 5px;
}

.hours-box small {
    display: block;
    color: #a0aec0;
    font-size: 0.85rem;
}

/* --- ALT KISIM --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    font-size: 0.85rem;
    color: #718096;
}

.footer-bottom-links a {
    color: #718096;
    font-size: 0.85rem;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Mobil */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand-col {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }
    .footer-logo-img {
        margin: 0 auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Animasyonları */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-0 { margin-top: 0; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* ====================================================================
   NAVBAR SCROLL (KAYDIRMA) SORUNU İÇİN DÜZELTİLMİŞ KOD
   ==================================================================== */

/* 1. Önce Navbar'ın kapsayıcısının yüksekliğini garantiye alalım */
.navbar-nav {
    height: 100% !important; /* Bu olmazsa linkler %100 olamaz */
    display: flex !important;
    align-items: center !important;
}

/* 2. Linklerin Kutusunu Esnek Yapıyoruz (Sabit 80px YERİNE %100) */
.navbar-nav .nav-link {
    /* Hizalamayı bozmuyoruz, sadece yüksekliği değiştiriyoruz */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 10px !important;
    border-bottom: none !important;
    
    /* DÜZELTME BURADA: */
    /* 80px yerine 100% yapıyoruz. */
    /* Böylece sayfa aşağı kayıp menü daralsa bile, link de onunla beraber daralır */
    /* ve alttaki çizgi asla kesilmez. */
    height: 100% !important; 
    
    /* Yazıyı tam ortaya getir */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    position: relative !important;
}

/* 3. Çizginin Ayarı (Aynı kalıyor ama artık kaybolmayacak) */
.navbar-nav .nav-link::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    height: 3px !important; 
    background-color: #dc3545 !important;
    
    width: 0 !important;
    transition: width 0.3s ease !important;
    
    /* Çizgiyi alttan 10px yukarıda tutuyoruz (İstediğin hiza) */
    bottom: 10px !important; 
}

/* 4. Dropdown Olanlarda Kaymayı Önle */
.nav-item.dropdown > .nav-link::before {
    bottom: 10px !important; 
}

/* 5. Mouse Gelince Çizgiyi Aç */
.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before,
.navbar-nav .nav-link.show::before,
.nav-item.dropdown:hover > .nav-link::before,
.nav-item.dropdown.show > .nav-link::before {
    width: 100% !important;
}

/* 6. Yazı Rengi Kırmızı Olsun */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.nav-item.dropdown:hover > .nav-link {
    color: #dc3545 !important;
}

/* 7. Z-Index (Menülerin resim arkasında kalmaması için) */
#navbar-container { position: relative; z-index: 99999 !important; }
.dropdown-menu { z-index: 999999 !important; }

#mikro, #ozel, #teknik, #mobil {
    scroll-margin-top: 130px; /* Navbar yüksekliğine göre ayarla */
}

/* --- DROPDOWN OK İŞARETİ AYARLARI --- */
.dropdown-toggle i {
    margin-left: 5px; /* Yazı ile ok arasına boşluk */
    font-size: 0.8em; /* Ok biraz kibar dursun */
    transition: transform 0.3s ease;
    display: inline-block !important; /* HER ZAMAN GÖSTER */
}

/* Dropdown açılınca oku ters çevir (Görsel efekt) */
.nav-item.dropdown.active .dropdown-toggle i,
.nav-item.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* --- BİLGİSAYARDA HOVER İLE AÇILMA (992px Üstü) --- */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
    
    /* Ufak bir açılma animasyonu */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* ============================================================
   TÜM SAYFALAR İÇİN NAVBAR BOŞLUK AYARI (KESİN ÇÖZÜM)
   ============================================================ */

/* 1. Önce Body'deki tüm boşlukları sıfırla (Çakışmayı önle) */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 2. Sayfaların en tepesindeki olası tüm kutuları seçiyoruz */
/* Ve onlara Navbar yüksekliği (90px) kadar yukarıdan boşluk veriyoruz */

.slider-container-wrapper,  /* Anasayfa Slider */
.page-header,               /* Hakkımızda, Hizmetler vb. Bannerları */
.hero-section,              /* Alternatif Ana Bölümler */
.contact,                   /* İletişim Sayfası */
.about-section              /* Eğer özel bir about class'ın varsa */
{
    margin-top: 100px !important; /* Navbar'ın tam altına denk gelir */
    padding-top: 0 !important;   /* Ekstra iç boşluk varsa sıfırla */
}

/* ====================================================
   FOOTER MOBİL - KOMPAKT & MİNİMAL (FİNAL)
   ==================================================== */

@media (max-width: 768px) {
    
    /* 1. Footer Genel Düzen */
    .footer-content {
        grid-template-columns: 1fr !important; 
        text-align: center !important; 
        gap: 20px !important; /* Boşlukları iyice kıstık */
        padding-bottom: 20px;
    }

    /* 2. İletişim Maddeleri Arası Mesafe */
    .contact-item {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 15px !important; /* Maddeler birbirine yaklaşsın */
    }

    /* 3. İKONLAR (Küçük ve Zarif) */
    .contact-item i {
        font-size: 1.1rem !important;      /* ~17px (Çok ideal küçük boy) */
        margin-right: 0 !important;
        margin-bottom: 5px !important;     /* Yazıya iyice yaklaşsın */
        margin-top: 0 !important;
        color: #fff !important;           
    }
    
    /* 4. YAZILAR (Daha Küçük) */
    .contact-item a, 
    .contact-item span {
        font-size: 0.85rem !important;     /* ~13px-14px (Okunaklı ama küçük) */
        line-height: 1.4 !important;
        max-width: 95% !important;         
        margin: 0 auto !important;
        color: #a0aec0 !important;         
    }

    /* 5. Çalışma Saatleri Kutusu */
    .hours-box {
        margin: 10px auto 0 auto !important;
        width: 100% !important;
        max-width: 280px !important; /* Kutuyu daralttık */
        padding: 12px !important;    /* İç boşluğu azalttık */
        border-radius: 8px;
    }
    
    .hours-box span {
        font-size: 0.85rem !important; /* Kutu içi yazı da küçüldü */
        margin-bottom: 2px !important;
    }
    .hours-box small {
        font-size: 0.75rem !important; /* Alt bilgi iyice küçüldü */
    }

    /* 6. Logo Kısmı */
    .footer-brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-logo-img { 
        margin: 0 auto 10px auto !important; 
        max-width: 150px !important; /* Logoyu da küçülttük */
    }
    
    .brand-desc {
        font-size: 0.85rem !important; /* Logo altı açıklama varsa o da küçülsün */
    }
    
    
}