body {
    overflow-x: hidden;
}

/* === ÖZEL KAYDIRMA ÇUBUĞU (SCROLLBAR) === */
/* Çubuğun genel genişliği */
::-webkit-scrollbar {
    width: 10px;
}

/* Çubuğun arkasındaki yol (Track) */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

/* Tutup çektiğin çubuk (Thumb) - Normal Hali */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Üzerine gelince (Hover) */
::-webkit-scrollbar-thumb:hover {
    background: #000000;
}

/* İnnvotex Stili */
:root {
    --primary-color: #dc3545;
    --secondary-color: #666;
    --accent-color: #dc3545;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background-color: #fff !important;
}

/* === YENİ ÜST HEADER === */
.announcement-bar {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700 !important;
    z-index: 1031;
    transition: all 0.3s ease;
    background-color: #fff !important;
    color: #333 !important;
}

/* === HEADER & NAVIGATION === */
.fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

#mainHeader {
    top: 30px;
}

#mainHeader.scrolled {
    top: 0 !important;
}

.navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    min-height: 120px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand.mx-auto {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.navbar-toggler {
    display: block !important;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.search-icon-wrapper {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1032;
}

.search-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    position: relative;
}

.nav-link:hover {
    color: #000 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* === LOGO STİLLERİ - ARTIRILDI === */
.logo-img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.navbar-brand .logo-img {
    height: 110px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo-img {
    height: 60px;
}

footer .logo-img {
    height: 70px;
}

.offcanvas-header .logo-img {
    height: 70px;
}

/* === MAIN CONTENT === */
.pt-5 {
    padding-top: 110px;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

/* === HERO SECTIONS === */
.hero-section {
    background: #fff;
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* === BUTTON STYLES === */
.btn-primary {
    background-color: #fff;
    border-color: #000;
    color: #000;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 9999px;
    border-width: 1px;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    color: #000;
    border-color: #000;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 9999px;
    border-width: 1px;
}

.btn-outline-dark:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    border-radius: 9999px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* === CARD STYLES === */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* === ICON STYLES === */
.text-primary {
    color: var(--primary-color) !important;
}

.fa-medal, .fa-bolt, .fa-users, .fa-handshake, .fa-project-diagram,
.fa-award, .fa-calendar-alt, .fa-check, .fa-eye, .fa-cogs, .fa-building {
    color: var(--primary-color) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* === FORM STYLES === */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

/* === YENİ LOGO CAROUSEL STİLLERİ === */
.logo-carousel-container {
    position: relative;
    overflow: hidden;
    background: white;
    width: 100%;
    padding: 50px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
    background: transparent !important;
    padding: 0 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item img {
    height: 200px;
    width: auto;
    max-width: 200px;
    min-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 991.98px) {
    .logo-item img {
        height: 110px;
        max-width: 180px;
    }

    .logo-item {
        padding: 0 35px !important;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .logo-item img {
        height: 100px;
        max-width: 160px;
    }

    .logo-item {
        padding: 0 30px !important;
        height: 120px;
    }

    .logo-carousel-container {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .logo-item img {
        height: 90px;
        max-width: 140px;
    }

    .logo-item {
        padding: 0 25px !important;
        height: 110px;
    }

    .logo-carousel-container {
        padding: 35px 0;
    }
}

@media (max-width: 400px) {
    .logo-item img {
        height: 80px;
        max-width: 120px;
    }

    .logo-item {
        padding: 0 20px !important;
        height: 100px;
    }

    .logo-carousel-container {
        padding: 30px 0;
    }
}

.logo-carousel-container::before,
.logo-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.logo-carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* === BLOG STYLES === */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.badge {
    font-weight: 500;
    padding: 6px 12px;
}

.page-link {
    color: #000;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
}

.page-link:hover {
    color: #000;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.list-group-item {
    background: transparent;
    border: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.badge.border {
    border: 1px solid #dee2e6 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.badge.border:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.featured-post {
    border-left: 4px solid var(--primary-color);
}

/* === CONTACT STYLES === */
.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.contact-icon:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

/* === FOOTER STYLES === */
.bg-white.text-dark {
    background-color: #fff !important;
    color: #333 !important;
}

.bg-white .text-secondary {
    color: #666 !important;
}

.bg-white .text-dark {
    color: #333 !important;
}

.border-top {
    border-top: 1px solid #dee2e6 !important;
}

/* === IMAGE SECTIONS === */
.bg-secondary,
.bg-dark,
.bg-primary {
    transition: transform 0.3s ease;
}

.bg-secondary:hover,
.bg-dark:hover,
.bg-primary:hover {
    transform: scale(1.02);
}

/* === CUSTOM IMAGE STYLES === */
.custom-image-container {
    background: #f8f9fa;
    padding: 0;
    overflow: hidden;
    height: 483px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-image-container:hover .custom-image {
    transform: scale(1.05);
}

/* === OFFCANVAS MENU === */
.offcanvas-start {
    width: 300px;
}

.offcanvas-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.offcanvas-body .nav-link {
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
}

.offcanvas-body .nav-link:hover {
    background-color: #f8f9fa;
    padding-left: 2rem;
}

/* === NEWSLETTER FORM === */
.bg-dark .form-control {
    border: none;
    border-radius: 8px 0 0 8px;
}

.bg-dark .btn {
    border-radius: 0 8px 8px 0;
}

/* === RESPONSIVE STYLES - ARTIRILDI === */
@media (max-width: 1200px) {
    .logo-brand {
        height: 130px;
        max-width: 250px;
        min-width: 190px;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand.mx-auto {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }

    .pt-5 {
        padding-top: 120px;
    }

    .navbar {
        min-height: 130px;
    }

    .navbar.scrolled {
        min-height: 80px;
    }

    .logo-brand {
        height: 120px;
        max-width: 220px;
        min-width: 180px;
    }

    .logo-item img {
        height: 90px;
    }

    .logo-carousel-container {
        padding: 45px 0;
    }

    .custom-image-container {
        height: 380px;
    }

    .announcement-bar {
        height: 35px;
        font-size: 0.8rem;
    }

    #mainHeader {
        top: 35px;
    }

    #mainHeader.scrolled {
        top: 0 !important;
    }

    .navbar.scrolled .navbar-brand .logo-img {
        height: 55px;
    }

    .navbar-toggler {
        left: 10px;
    }
    .search-icon-wrapper {
        left: 50px;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        height: 30px;
        font-size: 0.75rem;
    }

    #mainHeader {
        top: 30px;
    }

    .hero-section {
        padding: 90px 0;
    }

    .display-4 {
        font-size: 2.8rem;
    }

    .pt-5 {
        padding-top: 100px;
    }

    .navbar {
        min-height: 120px;
    }

    .navbar.scrolled {
        min-height: 70px;
    }

    .navbar-brand .logo-img {
        height: 80px;
    }

    .navbar.scrolled .navbar-brand .logo-img {
        height: 55px;
    }

    .logo-img {
        height: 70px;
    }

    .card-body.p-4,
    .card-body.p-5 {
        padding: 1.8rem !important;
    }

    .bg-secondary,
    .bg-dark,
    .bg-primary {
        height: 330px !important;
    }

    .logo-brand {
        height: 110px;
        max-width: 200px;
        min-width: 160px;
    }

    .logo-item {
        padding: 0 30px !important;
    }

    .logo-item img {
        height: 70px;
        max-width: 140px;
    }

    .logo-carousel-container {
        padding: 35px 0;
    }

    .logo-carousel-container::before,
    .logo-carousel-container::after {
        width: 70px;
    }

    .custom-image-container {
        height: 330px;
    }

    .navbar-toggler {
        left: 10px;
    }
    .search-icon-wrapper {
        left: 50px;
    }

    .hero-main-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
        text-align: center;
    }
    section p {
        font-size: 1rem;
        text-align: center;
    }
    .section-with-image .main-section-heading {
        font-size: 1.7rem;
    }
    .section-with-image h3.fw-bold {
        font-size: 2rem;
    }

    .row.align-items-center > .col-lg-6 {
        text-align: center;
    }

    .d-flex.gap-3 {
        flex-direction: column !important;
        align-items: center !important;
    }

    .d-flex.gap-3 .btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 5px 0 !important;
    }

    .d-flex.align-items-center.mb-3 {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
    }
    .d-flex.align-items-center.mb-3 .me-2 {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 576px) {
    .announcement-bar {
        height: 25px;
        font-size: 0.7rem;
    }

    #mainHeader {
        top: 25px;
    }

    .navbar-brand .logo-img {
        height: 70px;
    }

    .navbar.scrolled .navbar-brand .logo-img {
        height: 50px;
    }

    .logo-img {
        height: 60px;
    }

    .pt-5 {
        padding-top: 90px;
    }

    .navbar {
        min-height: 100px;
    }

    .navbar.scrolled {
        min-height: 65px;
    }

    .hero-section {
        padding: 70px 0;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 1.1rem;
    }

    .logo-brand {
        height: 100px;
        max-width: 180px;
        min-width: 140px;
    }

    .logo-item {
        padding: 0 25px !important;
    }

    .logo-item img {
        height: 60px;
        max-width: 120px;
    }

    .logo-carousel-container {
        padding: 30px 0;
    }

    .custom-image-container {
        height: 280px;
    }

    .navbar-toggler {
        left: 5px;
    }
    .search-icon-wrapper {
        left: 45px;
    }

    .hero-main-title {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.8rem;
    }
    section p {
        font-size: 0.9rem;
    }
    .section-with-image .main-section-heading {
        font-size: 1.5rem;
    }
    .section-with-image h3.fw-bold {
        font-size: 1.8rem;
    }
}

@media (max-width: 400px) {
    .announcement-bar {
        height: 20px;
        font-size: 0.65rem;
    }

    #mainHeader {
        top: 20px;
    }

    .logo-brand {
        height: 90px;
        max-width: 160px;
        min-width: 120px;
    }

    .logo-item {
        padding: 0 20px !important;
    }

    .logo-item img {
        height: 50px;
        max-width: 100px;
    }

    .logo-carousel-container {
        padding: 25px 0;
    }

    .custom-image-container {
        height: 230px;
    }

    .navbar-toggler {
        left: 5px;
    }
    .search-icon-wrapper {
        left: 40px;
    }

    .hero-main-title {
        font-size: 1.6rem;
    }
    .hero-description {
        font-size: 0.85rem;
    }

    section h2 {
        font-size: 1.6rem;
    }
    section p {
        font-size: 0.85rem;
    }
    .section-with-image .main-section-heading {
        font-size: 1.4rem;
    }
    .section-with-image h3.fw-bold {
        font-size: 1.6rem;
    }
}

/* Tüm içerik bölümlerine padding-top ekle */
.px-4:not(.admin-header) {
    padding-top: 20px;
}
/* MOBİL ADMIN PANEL DÜZENLEMELERİ */
@media (max-width: 768px) {
    .container-fluid {
        margin-top: 80px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .admin-header {
        position: relative !important;
        top: 0 !important;
        padding: 1.2rem !important;
    }

    .px-4 {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    /* Kartları mobilde tam genişlik yap */
    .card {
        margin: 0 -12px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* Tabloları kaydırmalı yap */
    .table-responsive {
        font-size: 0.9rem;
        margin: 0 -12px;
    }

    /* İstatistik kartlarını düzenle */
    .stat-card .card-body {
        padding: 1.2rem !important;
    }

    .stat-icon {
        width: 45px !important;
        height: 45px !important;
    }

    .stat-icon i {
        font-size: 1.1rem !important;
    }

    /* Buton gruplarını düzenle */
    .btn-group .btn {
        padding: 0.45rem 0.6rem;
        font-size: 0.9rem;
        margin: 0 2px !important;
    }

    /* Header yüksekliğini ayarla */
    .navbar {
        min-height: 80px !important;
    }

    .navbar.scrolled {
        min-height: 70px !important;
    }

    /* Admin dashboard özel düzenlemeler */
    .admin-dashboard-container,
    .user-dashboard-container {
        margin-top: 80px !important;
    }

    /* Mesaj listesi düzenlemeleri */
    .messages-list .message-item {
        padding: 1.2rem !important;
    }

    .contact-info p,
    .message-preview {
        font-size: 0.9rem !important;
    }

    /* Yorum yönetimi düzenlemeleri */
    .pending-comments-list .comment-item {
        padding: 1.2rem !important;
    }

    .comment-item .d-flex.gap-2 {
        flex-wrap: wrap;
        gap: 0.6rem !important;
    }

    .comment-item .btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.9rem;
    }
}

/* ÇOK KÜÇÜK EKRANLAR İÇİN */
@media (max-width: 576px) {
    .container-fluid {
        margin-top: 70px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .admin-header {
        padding: 0.9rem !important;
    }

    .admin-header h1 {
        font-size: 1.4rem !important;
    }

    .admin-header p {
        font-size: 0.95rem !important;
    }

    /* İstatistik kartlarını 2'li yap */
    .col-6 {
        padding: 0 8px !important;
    }

    .stat-card .card-body {
        padding: 0.9rem !important;
    }

    .stat-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .stat-icon i {
        font-size: 1rem !important;
    }

    h3.fw-bold {
        font-size: 1.25rem !important;
    }

    /* Butonları küçült */
    .btn-group .btn {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.85rem !important;
    }

    /* Kart başlıklarını küçült */
    .card-header h4 {
        font-size: 1.25rem !important;
    }

    .card-header .badge.fs-6 {
        font-size: 0.9rem !important;
    }

    /* Tablo hücrelerini küçült */
    .table td, .table th {
        padding: 0.6rem 0.35rem !important;
        font-size: 0.85rem !important;
    }
}

/* BOŞ İÇERİK MESAJLARINI DÜZENLE */
@media (max-width: 768px) {
    .text-center.py-5 {
        padding: 2.5rem 1.2rem !important;
    }

    .text-center.py-5 .fa-4x {
        font-size: 3.5rem !important;
    }

    .text-center.py-5 h4 {
        font-size: 1.25rem !important;
        margin-bottom: 0.6rem !important;
    }

    .text-center.py-5 p {
        font-size: 1rem !important;
        margin-bottom: 1.2rem !important;
    }

    .text-center.py-5 .btn {
        font-size: 1rem !important;
        padding: 0.7rem 1.4rem !important;
    }
}

/* EKSTRA KÜÇÜK EKRANLAR */
@media (max-width: 400px) {
    .container-fluid {
        margin-top: 65px !important;
    }

    .admin-header {
        padding: 0.7rem !important;
    }

    .admin-header h1 {
        font-size: 1.25rem !important;
    }

    .admin-header .btn-sm {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.7rem !important;
    }

    /* İstatistik kartlarını daha da küçült */
    .stat-card .card-body {
        padding: 0.7rem !important;
    }

    .stat-icon {
        width: 35px !important;
        height: 35px !important;
        margin-right: 0.7rem !important;
    }

    .stat-icon i {
        font-size: 0.9rem !important;
    }

    h3.fw-bold {
        font-size: 1.1rem !important;
    }

    small.text-muted {
        font-size: 0.8rem !important;
    }

    /* Buton gruplarını dikey yap */
    .btn-group {
        flex-direction: column;
        gap: 0.35rem;
    }

    .btn-group .btn {
        margin: 0 !important;
        border-radius: 4px !important;
    }
}

/* YATAY MOD İÇİN */
@media (max-width: 992px) and (orientation: landscape) {
    .container-fluid {
        margin-top: 75px !important;
    }

    .admin-header {
        padding: 0.7rem !important;
    }

    .stat-card .card-body {
        padding: 0.7rem !important;
    }
}

/* ADMIN PANEL ÖZEL DÜZENLEMELERİ */
.admin-container,
.user-dashboard-container {
    margin-top: 90px;
}

@media (max-width: 768px) {
    .admin-container,
    .user-dashboard-container {
        margin-top: 80px !important;
    }
}

@media (max-width: 576px) {
    .admin-container,
    .user-dashboard-container {
        margin-top: 70px !important;
    }
}

/* FLASH MESSAGE MOBİL DÜZENLEMESİ */
@media (max-width: 768px) {
    .alert {
        margin: 0 -12px 1.2rem -12px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
}

/* MODAL MOBİL DÜZENLEMESİ */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 12px !important;
    }

    .modal-content {
        border-radius: 10px !important;
    }
}
/* ADMIN PANEL MOBİL FIX - TÜM SAYFALAR */
@media (max-width: 768px) {
    /* 1. CONTAINER DÜZENİ */
    .admin-container,
    .user-dashboard-container,
    .container-fluid[style*="margin-top"] {
        margin-top: 80px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow-x: hidden !important;
    }

    /* 2. HEADER DÜZENİ */
    .admin-header {
        position: relative !important;
        top: 0 !important;
        padding: 1.2rem !important;
        margin: 0 -12px !important;
    }

    .admin-header .d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .admin-header .gap-2 {
        margin-top: 12px !important;
        flex-wrap: wrap !important;
    }

    /* 3. STATS KARTLARI - 4'Lİ YERİNE 2'Lİ */
    .px-4 .row.g-3 {
        margin: 0 -8px !important;
    }

    .px-4 .col-6 {
        padding: 0 8px !important;
        margin-bottom: 12px !important;
    }

    .stat-card {
        margin: 0 !important;
        min-height: auto !important;
        border-radius: 10px !important;
    }

    .stat-card .card-body {
        padding: 14px !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    .stat-icon {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        margin-right: 14px !important;
    }

    .stat-icon i {
        font-size: 1.1rem !important;
    }

    .stat-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 3px !important;
    }

    .stat-card small {
        font-size: 0.8rem !important;
    }

    /* 4. TABLO DÜZENİ */
    .table-responsive {
        font-size: 0.8rem !important;
        margin: 0 -12px !important;
        border: none !important;
    }

    .table th,
    .table td {
        padding: 10px 6px !important;
        white-space: nowrap !important;
    }

    .table th {
        font-size: 0.75rem !important;
    }

    .table td {
        font-size: 0.8rem !important;
    }

    /* 5. BUTON GRUPLARI */
    .btn-group {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .btn-group .btn {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        margin: 2px !important;
        border-radius: 6px !important;
    }

    .btn-group .btn i {
        margin-right: 3px !important;
    }

    /* 6. KART DÜZENİ */
    .card {
        margin: 0 -12px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
    }

    .card-header {
        padding: 1.2rem !important;
    }

    .card-header h4 {
        font-size: 1.2rem !important;
    }

    .card-body {
        padding: 1.2rem !important;
    }

    /* 7. YORUM LİSTESİ */
    .comment-item,
    .message-item {
        padding: 1.2rem !important;
        border-bottom: 1px solid #eee !important;
    }

    .comment-item:last-child,
    .message-item:last-child {
        border-bottom: none !important;
    }

    .comment-item .d-flex.gap-2,
    .message-item .btn-group {
        justify-content: center !important;
        margin-top: 12px !important;
    }

    /* 8. BOŞ İÇERİK MESAJLARI */
    .text-center.py-5 {
        padding: 2.5rem 1.2rem !important;
    }

    .text-center.py-5 .fa-4x {
        font-size: 3rem !important;
    }

    .text-center.py-5 h4 {
        font-size: 1.2rem !important;
    }

    .text-center.py-5 p {
        font-size: 1rem !important;
    }

    /* 9. FORM DÜZENİ */
    .form-control,
    .form-control-lg {
        font-size: 1rem !important;
        padding: 12px !important;
    }

    /* 10. BADGE DÜZENİ */
    .badge.fs-6 {
        font-size: 0.9rem !important;
    }

    .badge {
        font-size: 0.75rem !important;
        padding: 5px 10px !important;
    }

    /* 11. MODAL DÜZENİ */
    .modal-dialog {
        margin: 12px !important;
    }

    .modal-content {
        border-radius: 10px !important;
    }

    /* 12. FLASH MESSAGE */
    .alert {
        margin: 0 -12px 1.2rem -12px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        font-size: 1rem !important;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (iPhone SE gibi) */
@media (max-width: 375px) {
    .admin-container,
    .user-dashboard-container {
        margin-top: 70px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .stat-card .card-body {
        padding: 10px !important;
    }

    .stat-icon {
        width: 40px !important;
        height: 40px !important;
        margin-right: 10px !important;
    }

    .stat-card h3 {
        font-size: 1.2rem !important;
    }

    .btn-group .btn {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
    }

    .table-responsive {
        font-size: 0.7rem !important;
    }
}

/* YATAY MOD İÇİN */
@media (max-width: 992px) and (orientation: landscape) {
    .admin-container {
        margin-top: 75px !important;
    }

    .stat-card .card-body {
        padding: 0.7rem !important;
    }
}
/* TAŞMA VE GENİŞLİK ÇÖZÜMÜ */
body {
    /* Tüm sayfa seviyesinde taşmayı kesin engelle */
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Admin ve Dashboard ana kapsayıcılarını kesinlikle sınırlama */
.admin-container,
.user-dashboard-container {
    width: 100% !important; /* Genişliği kesinlikle %100'e zorla */
    overflow-x: hidden !important; /* Yatay kaydırmayı kesinlikle engelle */
}

/* YENİ EKLENEN STİLLER */
.section-content {
    max-width: 1200px; /* İçeriği ortala ve daralt */
    margin: 0 auto;
    padding: 50px 0; /* Her bölüm için dikey boşluk */
    box-sizing: border-box;
}

.section-content h2 {
    font-size: 1.5rem;
    font-weight: 500; /* İnce yazı */
    margin-bottom: 10px;
    color: #333;
    text-align: left; /* Sola hizalı */
}

.section-content .lead {
    font-size: 1.1rem; /* Paragraf boyutu */
    font-weight: 400; /* Normal yazı kalınlığı */
    color: #666;
    text-align: left; /* Sola hizalı */
}

.section-with-image {
    padding: 50px 0; /* Her bölüm için dikey boşluk */
    max-width: 1200px; /* İçeriği ortala ve daralt */
    margin: 0 auto;
    box-sizing: border-box;
}

.section-with-image .col-lg-6 {
    padding: 0 15px; /* Sütunlar arası boşluk */
}

.section-with-image h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    text-align: left; /* Sola hizalı */
}

.section-with-image .main-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #000;
    text-align: left; /* Sola hizalı */
}

.section-with-image .description {
    font-size: 1.1rem; /* Açıklama paragrafı */
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    text-align: left; /* Sola hizalı */
}

.section-with-image .text-content {
    text-align: left; /* Metin sola hizalı kalsın */
}

.section-with-image .text-center {
    text-align: center !important; /* Ortalamak istenen kısımlar */
}
/* Ana section başlıkları için genel stil */
.main-section-heading {
    font-size: 1.3rem;
    font-weight: 500; /* İnce yazı */
    color: #666; /* Solgun renk */
    text-align: left; /* Sola hizalı */
    margin-bottom: 10px;
}

.sub-section-description {
    font-size: 1.1rem; /* Alt açıklama paragrafı */
    font-weight: 400;
    color: #666;
    text-align: left; /* Sola hizalı */
    margin-bottom: 30px;
}

/* Hero section özel başlık ve paragraf stilleri */
.hero-main-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #000;
    text-align: left; /* Sola hizalı */
}
.hero-description {
    font-size: 1.1rem; /* Hero paragrafı */
    font-weight: 400;
    color: #666;
    text-align: left; /* Sola hizalı */
}

/* Referanslar bölüm başlığını büyüt */
.section-content h2.fw-bold.mb-3 {
    font-size: 2.8rem;
    text-align: center; /* Ortada kalsın */
    color: #000; /* Siyah renk */
}

/* Responsive düzenlemeler için eklemeler */
@media (max-width: 768px) {
    .section-content, .section-with-image {
        padding: 35px 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    .section-content h2, .section-with-image h2, .main-section-heading, .hero-main-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
        text-align: center; /* Mobil görünümde ortala */
    }
    .section-content .lead, .section-with-image .description, .sub-section-description, .hero-description {
        font-size: 1rem;
        margin-bottom: 18px;
        text-align: center; /* Mobil görünümde ortala */
    }
    .section-with-image .text-content {
        text-align: center; /* Mobil görünümde metinleri ortala */
    }
    .navbar-toggler {
        left: 10px;
    }
    .search-icon-wrapper {
        left: 50px;
    }
    /* Referanslar başlığı mobil */
    .section-content h2.fw-bold.mb-3 {
        font-size: 2rem;
    }
}
@media (max-width: 576px) {
    .navbar-toggler {
        left: 5px;
    }
    .search-icon-wrapper {
        left: 45px;
    }
}

/* Icon search'ü düzenle */
.icon-search {
    width: 24px; /* SVG genişliği */
    height: 24px; /* SVG yüksekliği */
    fill: currentColor; /* Mevcut metin rengini kullanır */
}

/* Sayfanın sağ tarafındaki dropdown menüdeki ögeler için boşluk */
.navbar .dropdown-menu .dropdown-item {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Türkçe, Kullanıcı ikonları ve arama ikonunun hizalaması */
.d-flex.align-items-center.gap-3 {
    padding-right: 15px; /* Sağ kenardan boşluk */
}
.navbar-toggler {
    padding-left: 15px; /* Sol kenardan boşluk */
}
/* Markanızın Yol Arkadaşıyız Section Ortalama */
.section-content .text-center h2,
.section-content .text-center .lead {
    text-align: center !important;
}

.section-content .text-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
.caption-with-letter-spacing {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.18rem;
}

/* YENİ HEADER STİLİ */
.announcement-bar__message {
    font-family: Archivo, sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    color: rgb(0, 0, 0) !important;
    line-height: calc(1 + 0.8 / 1.05) !important;
    word-break: break-word !important;
    font-size: 1rem !important;
    text-align: center !important;
    letter-spacing: 0.07rem !important;
    margin: 0 !important;
}

/* HEADER GRID DÜZENİ */
#mainHeader .navbar .container {
    display: grid !important;
    grid-template-areas: "left-icons heading icons" !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    max-width: 100% !important;
    padding-left: 2.2rem !important;
    padding-right: 2.2rem !important;
}

/* SOL TARAF - MENÜ BUTONU */
.navbar-toggler {
    grid-area: left-icons !important;
    justify-self: start !important;
    margin-left: 0 !important;
    padding: 0.5rem 0.6rem !important;
}

/* ORTA - LOGO */
.navbar-brand.mx-auto {
    grid-area: heading !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
}

.navbar-brand .logo-img {
    height: 80px !important;
    transition: all 0.3s ease !important;
}

.navbar.scrolled .navbar-brand .logo-img {
    height: 55px !important;
}

/* SAĞ TARAF - TÜRKÇE VE KULLANICI */
.d-flex.align-items-center.gap-3 {
    grid-area: icons !important;
    justify-self: end !important;
    margin-right: 0 !important;
    gap: 1.2rem !important;
}

/* TÜRKÇE DROPDOWN STİLİ - KÜÇÜK BOYUT */
.navbar .dropdown .nav-link.dropdown-toggle {
    font-family: Arimo, sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: calc(1 + .5 / 1.05) !important;
    text-underline-offset: .3rem !important;
    font-family: inherit !important;
    text-align: left !important;
    cursor: pointer !important;
    color: rgb(0, 0, 0) !important;
    font-size: 1.2rem !important;
    letter-spacing: .05rem !important;
    box-sizing: inherit !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    padding: 0.7rem 2.5rem 0.7rem 1.2rem !important;
    margin: 0 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    min-height: initial !important;
    width: auto !important;
    min-width: calc(7rem + 1px * 2) !important;
}

/* DROPDOWN OK İŞARETİ - KÜÇÜK BOYUT */
.navbar .dropdown-toggle::after {
    position: absolute !important;
    content: "" !important;
    height: .6rem !important;
    top: calc(50% - .15rem) !important;
    right: .8rem !important;
    border: solid rgb(0, 0, 0) !important;
    border-width: 0 1px 1px 0 !important;
    display: inline-block !important;
    padding: 2px !important;
    transform: rotate(45deg) !important;
    transition: transform 0.3s ease !important;
    border-radius: 1px !important;
}

/* DROPDOWN AÇIKKEN OK İŞARETİ */
.navbar .dropdown-toggle.show::after {
    transform: rotate(-135deg) !important;
    top: calc(50% + .05rem) !important;
}

/* ALTTABAKİ ÇİZGİYİ KALDIR */
.navbar .nav-link::after {
    display: none !important;
}

/* HOVER EFEKTLERİ */
.navbar .dropdown .nav-link.dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
}

/* KULLANICI İKONU - KÜÇÜK BOYUT */
.navbar .nav-link:not(.dropdown-toggle) {
    font-family: Arimo, sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: 0.05rem !important;
    line-height: calc(1 + 0.8 / 1.05) !important;
    cursor: pointer !important;
    text-underline-offset: .3rem !important;
    font-size: 1.2rem !important;
    font-family: inherit !important;
    color: rgb(0, 0, 0) !important;
    box-sizing: inherit !important;
    height: 3rem !important;
    width: 3rem !important;
    fill: none !important;
    vertical-align: middle !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 0 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    position: relative !important;
}

/* KULLANICI İKONU İÇİNDEKİ FONT AWESOME */
.navbar .nav-link:not(.dropdown-toggle) i {
    color: #000000 !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* HOVER EFEKTİ */
.navbar .nav-link:not(.dropdown-toggle):hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

.navbar .nav-link:not(.dropdown-toggle):hover i {
    color: #ffffff !important;
}

/* DROPDOWN AÇIKKEN */
.navbar .nav-link:not(.dropdown-toggle).show {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

.navbar .nav-link:not(.dropdown-toggle).show i {
    color: #ffffff !important;
}

/* DROPDOWN MENÜ STİLİ */
.navbar .dropdown-menu {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
}

.navbar .dropdown-item {
    font-family: Arimo, sans-serif !important;
    font-size: 1.1rem !important;
    padding: 0.7rem 1.4rem !important;
    color: rgb(0, 0, 0) !important;
    border: none !important;
}

.navbar .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
}

/* MOBİL DÜZENLEME */
@media (max-width: 991.98px) {
    #mainHeader .navbar .container {
        grid-template-areas: "left-icons heading icons" !important;
        grid-template-columns: auto 1fr auto !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .navbar-brand.mx-auto {
        position: static !important;
        transform: none !important;
        left: auto !important;
    }

    .d-flex.align-items-center.gap-3 {
        justify-self: end !important;
        gap: 1rem !important;
    }

    .navbar .dropdown .nav-link.dropdown-toggle {
        font-size: 1.1rem !important;
        min-width: calc(6rem + 1px * 2) !important;
        padding: 0.6rem 2.2rem 0.6rem 1rem !important;
    }

    .navbar .nav-link:not(.dropdown-toggle) {
        font-size: 1.1rem !important;
        height: 2.6rem !important;
        width: 2.6rem !important;
    }

    .navbar .dropdown-toggle::after {
        height: .5rem !important;
        right: .7rem !important;
    }

    .navbar-brand .logo-img {
        height: 70px !important;
    }

    .navbar.scrolled .navbar-brand .logo-img {
        height: 50px !important;
    }
}

/* ÇOK KÜÇÜK EKRANLAR */
@media (max-width: 576px) {
    #mainHeader .navbar .container {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }

    .announcement-bar__message {
        font-size: 1.1rem !important;
    }

    .navbar .dropdown .nav-link.dropdown-toggle {
        font-size: 1rem !important;
        min-width: calc(5rem + 1px * 2) !important;
        padding: 0.5rem 1.8rem 0.5rem 0.8rem !important;
    }

    .navbar .nav-link:not(.dropdown-toggle) {
        font-size: 1rem !important;
        height: 2.4rem !important;
        width: 2.4rem !important;
    }

    .navbar .dropdown-toggle::after {
        height: .4rem !important;
        right: .6rem !important;
    }

    .navbar-brand .logo-img {
        height: 60px !important;
    }

    .navbar.scrolled .navbar-brand .logo-img {
        height: 45px !important;
    }

    .d-flex.align-items-center.gap-3 {
        gap: 0.8rem !important;
    }
}
/* İnnvotex Stili */
:root {
    --primary-color: #dc3545;
    --secondary-color: #666;
    --accent-color: #dc3545;
}

/* ÇOK KÜÇÜK EKRANLAR */
@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0 !important;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .btn-lg {
        padding: 14px 20px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }

    .form-control-lg {
        font-size: 16px !important;
        padding: 14px 16px !important;
        border-radius: 8px !important;
    }
}

/* HEADER YÜKSEKLİK AYARLARI */
.announcement-bar {
    height: 50px;
}

#mainHeader {
    height: 120px;
}

.content-wrapper {
    margin-top: 170px;
    min-height: calc(100vh - 300px);
}

/* LOGO BOYUTU - HEADER VE FOOTER İÇİN GENEL BOYUT (MASAÜSTÜ) */
.logo-img {
    width: 150px !important;
    height: 150px !important;
    object-fit: contain;
}

/* NAVBAR AYARLARI */
.navbar {
    height: 100%;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* MOBİL MENÜDE LOGO - KORUNUYOR */
.offcanvas-header .logo-img {
    height: 70px;
    width: auto;
}

/* MOBİL DÜZENLEMELERİN TEKRARI (Header ve Ana İçerik) */
@media (max-width: 768px) {
    .content-wrapper {
        margin-top: 150px !important;
    }

    .logo-img {
        width: 120px !important;
        height: 120px !important;
    }

    #mainHeader {
        height: 110px !important;
    }

    .announcement-bar {
        height: 45px !important;
    }
}

/* ÇOK KÜÇÜK EKRANLAR */
@media (max-width: 576px) {
    .logo-img {
        width: 100px !important;
        height: 100px !important;
    }

    #mainHeader {
        height: 100px !important;
    }
}

.navbar-brand .logo-img,
footer .logo-img {
    width: 150px !important;
    height: 130px !important;
    object-fit: contain;
}

/* MOBİL GÖRÜNÜMDE LOGO BOYUTU */
@media (max-width: 768px) {
    .logo-img {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ÇOK KÜÇÜK EKRANLAR */
@media (max-width: 576px) {
    .logo-img {
        width: 100px !important;
        height: 100px !important;
    }
}


/* MOBİL BUTON EMERGENCY FIX */
@media (max-width: 768px) {
    /* BUTON FIX */
    .btn, .btn-primary, .btn-lg {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block !important;
        max-width: 100% !important;
        border-radius: 8px !important;
    }
    /* CONTAINER FIX */
    .container, .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    /* CARD FIX */
    .card {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* FORM FIX */
    .form-control, .form-control-lg {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
    /* ROW FIX */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* ÇOK KÜÇÜK EKRANLAR */
@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0 !important;
    }
    .card-body {
        padding: 1.5rem !important;
    }
    .btn-lg {
        padding: 14px 20px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }
    .form-control-lg {
        font-size: 16px !important;
        padding: 14px 16px !important;
        border-radius: 8px !important;
    }
}

/* HEADER YÜKSEKLİK AYARLARI */
.announcement-bar {
    height: 50px;
}

#mainHeader {
    height: 140px;
}

.content-wrapper {
    margin-top: 170px;
    min-height: calc(100vh - 300px);
}

/* NAVBAR AYARLARI */
.navbar {
    height: 100%;
}

/* MOBİL MENÜDE LOGO - KORUNUYOR */
.offcanvas-header .logo-img {
    height: 70px;
    width: auto;
}

/* MOBİL DÜZENLEMELERİN TEKRARI (Header ve Ana İçerik) */
@media (max-width: 768px) {
    .content-wrapper {
        margin-top: 150px !important;
    }
    #mainHeader {
        height: 110px !important;
    }
    .announcement-bar {
        height: 45px !important;
    }
}

/* ÇOK KÜÇÜK EKRANLAR */
@media (max-width: 576px) {
    #mainHeader {
        height: 100px !important;
    }
}
/* --- ADMIN PANEL HEADER FIX - MINIMAL DEĞERLER --- */

/* Normal Durumda Boşluk (Ana Header Toplam Yükseklik: 230px) */
.admin-header-fixed {
    padding-top: 4rem !important;
    transition: all 0.3s ease;
}

/* Sayfa Kaydırıldığında Boşluk Ayarı (Ana Header Yükseklik: 120px) */
body.scrolled .admin-header-fixed {
    padding-top: 120px !important;
}

/* Mobil Durumda Boşluk Ayarı (Ana Header Toplam Yükseklik: 170px) */
@media (max-width: 768px) {
    .admin-header-fixed {
        padding-top: 170px !important;
    }

    /* Mobilde kaydırıldığında Boşluk Ayarı (Ana Header Yükseklik: 125px) */
    body.scrolled .admin-header-fixed {
        padding-top: 125px !important;
    }
}
/* --- ADMIN PANEL HEADER FIX SONU --- */
/* ===========================
   /* ===========================
   MOBİL GÖRÜNÜM DÜZENLEMELERİ
   =========================== */
@media (max-width: 992px) {

    /* Duyuru kısmı küçült */
    .announcement-bar__message span {
        font-size: 0.9rem !important;
    }

    /* Header logosu küçültülüyor */
    .logo-img {
        max-height: 45px !important;
        width: auto !important;
    }

    /* Türkçe dropdown ve kullanıcı butonunu gizle */
    #mainHeader .dropdown,
    #mainHeader .nav-link.text-dark.fw-medium {
        display: none !important;
    }

    /* Header yüksekliği */
    #mainHeader {
        top: 40px !important;
    }

    /* Duyuru barı inceltiliyor */
    #topHeader {
        height: 40px;
        line-height: 40px;
    }

    /* İçerik boşluğu mobilde ayarla */
    .content-wrapper {
        margin-top: 130px !important;
    }
}
.custom-wide-btn {
    display: block !important;
    width: 90% !important;
    max-width: 320px !important;
    margin: 10px auto !important;
    text-align: center !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}
/* Mobilde ikonların deforme olmasını engelle */
@media (max-width: 768px) {
    .contact-icon {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        border-radius: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px auto !important;
        padding: 0 !important;
    }

    .contact-icon i {
        font-size: 28px !important;
    }

    .card-body {
        padding: 1.25rem !important;
    }

    /* Satır aralığı ve kart boşluklarını optimize et */
    .row.g-4 {
        row-gap: 1.5rem !important;
    }
}
html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    scroll-behavior: auto !important;
  }
}
/* MOBİL ® SİMGE DÜZELTMESİ: "Profesyonel Fason İmalat ®" yazısının alta kaymasını engeller */
.main-section-heading {
    white-space: nowrap;
}
@media (max-width: 768px) {

    /* KÖKLÜ BAŞLIK FİX'İ - Tüm sayfalarda geçerli */
    .main-section-heading,
    .announcement-bar__message span {
        
        /* 1. Zorla Tek Satır */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;

        /* 2. Maksimum Küçültme ve Sıkıştırma */
        font-size: 0.7rem !important;
        letter-spacing: 0.02rem !important;
    }

    
    .h-100 h3 {
        white-space: nowrap !important; 
        font-size: 1.1rem !important;
    }
}
/* === METİN SEÇİM RENGİ === */
::selection {
    background-color: #000;
    color: #fff; 
}

::-moz-selection { 
    background-color: #000;
    color: #fff;
}
/* === FORM TIKLAMA EFEKTİ === */
input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
}
/* === MOBİL SOSYAL MEDYA İKONLARI DÜZELTMESİ === */
@media (max-width: 768px) {
    /* Footer ve Menüdeki sosyal ikonları zorla YAN YANA (Row) yap */
    footer .d-flex.gap-3,
    .offcanvas-body .d-flex.gap-3 {
        flex-direction: row !important; 
        align-items: center !important;
        justify-content: center !important;
    }
}