/* --- TEMEL AYARLAR --- */
:root {
    --primary-color: #CB181D; /* Logo Kırmızısı */
    --secondary-color: #032A55; /* Lacivert */
    --text-color: #333;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; color: var(--text-color); overflow-x: hidden; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; transition: 0.3s; }

/* --- TOP BAR --- */
.top-bar { background: #f8f8f8; padding: 10px 0; border-bottom: 1px solid #eee; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.social-links a { color: var(--secondary-color); margin-left: 10px; font-size: 18px; }

.btn-sube-transparent {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-sube-transparent i { color: var(--primary-color); }

/* --- NAVBAR --- */
.navbar { padding: 15px 0; background: white; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 60px; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: var(--secondary-color); font-weight: 600; }
.nav-links a.active { color: var(--primary-color); }
.mobile-menu-icon { display: none; font-size: 24px; cursor: pointer; color: var(--secondary-color); }

/* --- HERO SLIDER --- */
.hero-slider { padding: 80px 0; background: #fff; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 48px; color: var(--secondary-color); line-height: 1.1; margin-bottom: 20px; }
.hero-text h1 span { color: var(--primary-color); }
.hero-image { flex: 1; text-align: right; }
.hero-image img { max-width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.btn-whatsapp-hero { background: #25D366; color: white; padding: 14px 28px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }

/* --- SÜREÇ BANDI --- */
.process-bar { background-color: var(--primary-color); padding: 50px 0; color: white; }
.process-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.process-title h3 { font-size: 32px; line-height: 1.1; font-weight: 700; }
.title-underline { width: 100%; height: 6px; background: #FFD700; margin-top: 8px; border-radius: 10px; }
.process-item {
        flex-direction: row;   /* column değil row kalacak */
        justify-content: center;
        align-items: center;
        text-align: left;
}
.process-number {
    margin: 0;
}
.process-info {
    text-align: left;
}

/* --- HAKKIMIZDA --- */
.about-section { padding: 100px 0; }
.about-container { display: flex; align-items: center; gap: 60px; }
.about-image { flex: 1; text-align: center; }
.about-image img { max-width: 300px; }
.about-text { flex: 1; }
.about-text h2 { font-size: 36px; color: var(--secondary-color); margin-bottom: 20px; }
.btn-dark { background: var(--secondary-color); color: white; padding: 12px 25px; border-radius: 5px; display: inline-block; }

/* --- ÜRÜNLER --- */
.products-section { padding: 80px 0; background: #f9f9f9; }
.section-title { text-align: center; margin-bottom: 50px; color: var(--secondary-color); font-size: 34px; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: white; padding: 35px; border-radius: 15px; text-align: center; border: 1px solid #eee; transition: 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.product-image { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.product-image img { max-height: 100%; }

/* --- BLOG --- */
.blog-section { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }
.blog-img img { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-content h3 { margin-bottom: 10px; color: var(--secondary-color); }
.blog-content a { color: var(--primary-color); font-weight: 700; }

/* --- FOOTER --- */
/* --- YENİ ŞIK FOOTER TASARIMI --- */
.footer {
    background: #021a35; /* Header lacivertinden bir ton daha derin */
    color: white;
    padding-top: 60px;
    border-top: 4px solid var(--primary-color); /* Üst kısma ince kırmızı bir çizgi */
}

.footer-top-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-brand {
    flex: 1.5;
}

.footer-brand img {
    max-height: 80px; /* Biraz büyüttük */
    width: auto;
    display: block;
    margin-bottom: 20px;
    /* filter: brightness(0) invert(1);  <-- BU SATIRI SİLDİK VEYA YORUMA ALDIK */
    opacity: 1 !important; /* Görünürlüğü zorla */
    visibility: visible !important;
}

.footer-brand p {
    color: #a0aec0;
    font-size: 15px;
    max-width: 300px;
}

.footer-links-wrapper {
    flex: 3;
    display: flex;
    justify-content: space-between;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

/* Başlıkların altına küçük bir çizgi */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0aec0;
    font-size: 15px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col p {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-col p i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* FOOTER ALT ŞERİT (Header gibi simetrik) */
.footer-bottom {
    background: #011226;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #718096;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* --- MOBİL UYUM --- */
@media (max-width: 992px) {
    .footer-top-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand {
        margin-bottom: 30px;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .footer-links-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- WHATSAPP BUTONU --- */
.floating-whatsapp { 
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; 
    padding: 14px 25px; border-radius: 50px; display: flex; align-items: center; gap: 10px; 
    z-index: 1001; box-shadow: 0 5px 20px rgba(0,0,0,0.2); 
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-content, .about-container { flex-direction: column; text-align: center; }
    .hero-image { order: -1; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 20px; border-top: 1px solid #eee;
    }
    .nav-links.mobile-active { display: flex; }
    .mobile-menu-icon { display: block; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .process-container { flex-direction: column; text-align: center; gap: 40px; }
    .process-item { width: 100%; justify-content: center; }
    .process-title { width: 100%; }
    .title-underline { width: 50%; margin: 8px auto; }
    .hero-text h1 { font-size: 34px; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .whatsapp-text { display: none; }
    .floating-whatsapp { padding: 15px; border-radius: 50%; }
    .d-none-mobile { display: none; }
}
/* --- HAKKIMIZDA SAYFASI ÖZEL --- */

/* Sayfa Başlığı Alanı */
.page-header {
    background: linear-gradient(rgba(3, 42, 85, 0.9), rgba(3, 42, 85, 0.9)), url('res/bg-header.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
    text-align: center;
}
.page-header h1 { font-size: 40px; margin-bottom: 10px; }
.page-header p a { color: var(--primary-color); font-weight: 500; }

/* Hakkımızda Detay Izgarası */
.about-detail { padding: 80px 0; }
.about-detail-grid { display: flex; align-items: center; gap: 60px; }
.about-detail-image { flex: 1; border: 10px solid #f8f8f8; border-radius: 20px; overflow: hidden; }
.about-detail-image img { width: 100%; display: block; }
.about-detail-text { flex: 1.2; }
.about-detail-text h2 span { color: var(--primary-color); }
.about-detail-text p { margin-bottom: 20px; color: #666; font-size: 17px; }

/* İstatistik Alanı */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; border-top: 1px solid #eee; padding-top: 30px; }
.stat-item h3 { font-size: 32px; color: var(--secondary-color); margin-bottom: 5px; }
.stat-item p { font-size: 14px; color: #888; margin: 0; }

/* Vizyon & Misyon Kartları */
.vision-mission { padding: 80px 0; background: #fdfdfd; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vm-card { 
    background: white; padding: 40px; border-radius: 20px; text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s;
}
.vm-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary-color); }
.vm-card i { font-size: 40px; color: var(--primary-color); margin-bottom: 20px; }
.vm-card h3 { color: var(--secondary-color); margin-bottom: 15px; font-size: 24px; }
.vm-card p { color: #666; }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .about-detail-grid, .vm-grid { flex-direction: column; text-align: center; }
    .vm-grid { grid-template-columns: 1fr; }
    .stats-grid { justify-items: center; }
}

/* --- ÜRÜNLER KATALOG SAYFASI --- */

.urunler-header {
    background: linear-gradient(rgba(203, 24, 29, 0.85), rgba(203, 24, 29, 0.85)), url('res/products-bg.jpg');
}

/* Filtreleme Barı */
.filter-bar { padding: 30px 0; background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 90px; z-index: 99; }
.filter-tabs { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-btn { 
    padding: 10px 25px; border: 1px solid #ddd; background: transparent; 
    border-radius: 50px; cursor: pointer; font-family: inherit; font-weight: 500; transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover { background: var(--secondary-color); color: white; border-color: var(--secondary-color); }

/* Ürün Kartları */
.products-catalog { padding: 60px 0; background: #fcfcfc; }
.products-catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.product-item { 
    background: white; border-radius: 20px; display: flex; overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; position: relative; transition: 0.4s;
}
.product-item:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }

.product-tag { 
    position: absolute; top: 15px; left: 15px; background: var(--primary-color); 
    color: white; padding: 5px 12px; border-radius: 5px; font-size: 12px; font-weight: 600; z-index: 2;
}

.product-img-box { flex: 1; background: #fff; padding: 20px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #f8f8f8; }
.product-img-box img { max-width: 100%; transition: 0.5s; }
.product-item:hover .product-img-box img { transform: scale(1.1); }

.product-info-box { flex: 1.5; padding: 30px; }
.brand-name { color: var(--primary-color); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.product-info-box h3 { font-size: 24px; color: var(--secondary-color); margin: 5px 0 15px; }
.product-info-box p { font-size: 15px; color: #777; margin-bottom: 20px; line-height: 1.4; }

.product-features { list-style: none; margin-bottom: 25px; }
.product-features li { font-size: 14px; color: #555; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.product-features li i { color: #25D366; font-size: 12px; }

.btn-product-detail { 
    display: inline-block; padding: 10px 20px; border: 2px solid var(--secondary-color); 
    color: var(--secondary-color); border-radius: 8px; font-weight: 600; transition: 0.3s;
}
.btn-product-detail:hover { background: var(--secondary-color); color: white; }

/* Servis Bandı */
.service-banner { background: var(--secondary-color); padding: 80px 0; text-align: center; color: white; }
.service-content h2 { font-size: 36px; margin-bottom: 15px; }
.service-content p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.btn-white { background: white; color: var(--secondary-color); padding: 15px 35px; border-radius: 8px; font-weight: 700; display: inline-block; }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .products-catalog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .product-item { flex-direction: column; }
    .product-img-box { border-right: none; border-bottom: 1px solid #f8f8f8; padding: 40px; }
}

/* --- TİNNİTUS ÖZEL --- */
.info-strip {
    background: #fff;
    padding: 50px 0;
    margin-top: -50px; /* Header'ın üzerine biraz çıkması için */
}

.info-box-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.cta-banner {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 { margin-bottom: 20px; font-size: 32px; }
.cta-banner p { margin-bottom: 30px; opacity: 0.9; font-size: 18px; }

@media (max-width: 768px) {
    .info-box-wrapper { grid-template-columns: 1fr; }
}
/* --- BLOG SAYFASI --- */
.blog-section { padding: 80px 0; background: #fcfcfc; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.blog-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.blog-img { position: relative; height: 230px; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.blog-info { padding: 25px; }

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.blog-meta i { color: var(--primary-color); margin-right: 5px; }

.blog-info h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-read {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-read:hover { gap: 12px; }

/* Mobil Düzenleme */
@media (max-width: 480px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* --- İLETİŞİM SAYFASI --- */
.iletisim-header {
    background: linear-gradient(rgba(2, 26, 53, 0.9), rgba(2, 26, 53, 0.9)), url('res/contact-bg.jpg') center/cover;
}

.branches-section { padding: 80px 0; background: #fff; }

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.branch-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.branch-card.highlight {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.branch-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.branch-card h3 { margin-bottom: 15px; color: var(--secondary-color); font-size: 22px; }
.branch-card p { font-size: 15px; color: #666; margin-bottom: 20px; line-height: 1.6; min-height: 72px; }

.branch-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.branch-contact a { text-decoration: none; color: #444; font-weight: 500; font-size: 15px; }
.branch-contact a i { color: var(--primary-color); margin-right: 5px; }

.btn-branch {
    display: block;
    padding: 12px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-branch:hover { background: var(--primary-color); }

/* Form Alanı */
.contact-form-area { padding: 80px 0; background: #f4f7fa; }
.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-info { background: var(--secondary-color); color: white; padding: 60px; }
.form-info h2 { font-size: 32px; margin-bottom: 20px; }
.form-info p { opacity: 0.8; margin-bottom: 40px; line-height: 1.6; }
.working-hours h4 { margin-bottom: 15px; color: var(--primary-color); }

.main-form { padding: 60px; display: flex; flex-direction: column; gap: 20px; }
.main-form input, .main-form select, .main-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}

.btn-submit {
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover { background: #b0151a; transform: translateY(-2px); }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .branches-grid { grid-template-columns: 1fr; }
    .form-wrapper { grid-template-columns: 1fr; }
    .form-info, .main-form { padding: 40px; }
}
/* =========================
   FULL RESPONSIVE FIX
========================= */

/* Tablet */
@media (max-width: 1024px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }
}

/* Mobil */
@media (max-width: 768px) {

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .navbar-content {
        flex-wrap: wrap;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        display: none;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-top-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        padding: 12px;
        border-radius: 50%;
    }

    .whatsapp-text {
        display: none;
    }
}

/* Küçük mobil */
@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .btn-whatsapp-hero {
        padding: 10px 15px;
        font-size: 13px;
    }
}