/* --- Temel Ayarlar ve Renk Paleti --- */
:root {
    --primary-blue: #0b355c; 
    --light-blue: #186db5; 
    --text-dark: #333333;
    --text-light: #666666;
    --bg-gray: #f5f7fa;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); line-height: 1.6; background-color: var(--bg-gray); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Üst Bilgi Çubuğu (Top Bar) --- */
.top-bar { background-color: var(--primary-blue); color: var(--white); font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-contact i { margin-right: 5px; color: #88b7e0; }
.top-bar-social a { color: var(--white); margin-left: 15px; transition: color 0.3s; }
.top-bar-social a:hover { color: #88b7e0; }

/* --- Header ve Menü Çubuğu (Navbar) --- */
header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 100px; }

/* Logo Boyutlandırması */
.logo { font-size: 24px; font-weight: 700; color: var(--primary-blue); display: flex; align-items: center; }
.logo i { margin-right: 10px; font-size: 28px; color: var(--light-blue); }
.logo img, .header-logo { height: 75px; width: auto; object-fit: contain; display: block; transition: transform 0.3s ease; }
.logo img:hover, .header-logo:hover { transform: scale(1.05); }

/* Menü Linkleri */
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 25px; }
.nav-links a { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; text-transform: uppercase; color: var(--primary-blue); transition: color 0.3s; }
.nav-links a:hover { color: var(--light-blue); }

/* --- Buton ve Formlar --- */
.btn { display: inline-block; background-color: var(--light-blue); color: var(--white); padding: 12px 30px; font-weight: 600; border-radius: 4px; transition: background 0.3s; border:none; cursor: pointer; text-align: center; }
.btn:hover { background-color: #12558f; }

/* --- Ana Sayfa Bölümleri --- */
.hero { background: linear-gradient(rgba(11, 53, 92, 0.7), rgba(11, 53, 92, 0.7)), url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; height: 500px; display: flex; align-items: center; text-align: center; color: var(--white); }
.hero h1 { font-size: 48px; margin-bottom: 20px; }
.hero p { font-size: 18px; margin-bottom: 30px; max-width: 700px; margin: 0 auto 30px auto; }
.section-title { text-align: center; font-size: 32px; color: var(--primary-blue); margin-bottom: 40px; }
.padding-y { padding: 60px 0; }

/* --- Hakkımızda Bölümü --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text p { font-size: 16px; color: var(--text-light); line-height: 1.8; }
.about-features ul { list-style: none; }
.about-features li { margin-bottom: 12px; font-weight: 600; color: var(--primary-blue); display: flex; align-items: center; }
.about-features li i { color: var(--light-blue); margin-right: 10px; font-size: 18px; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); object-fit: cover; }
.experience-badge { position: absolute; bottom: -20px; left: -20px; background-color: var(--primary-blue); color: var(--white); padding: 20px 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 15px; }
.experience-badge .years { font-size: 40px; font-weight: 700; font-family: 'Montserrat', sans-serif; color: var(--light-blue); }
.experience-badge .text { font-size: 14px; font-weight: 600; line-height: 1.2; }

/* --- Yetkili Servis Bandı --- */
.auth-brands { background-color: var(--light-blue); color: var(--white); padding: 30px 0; text-align: center; }
.brands-wrapper h3 { font-size: 18px; font-weight: 400; margin-bottom: 15px; }
.brand-names { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.brand-tag { 
    background-color: var(--white); 
    color: var(--primary-blue); 
    font-family: 'Montserrat', sans-serif; 
    font-size: 24px; 
    font-weight: 700; 
    padding: 10px 40px; 
    border-radius: 5px; 
    letter-spacing: 2px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    display: inline-block; 
    transition: all 0.3s ease; 
}
.brand-tag:hover {
    transform: translateY(-3px); 
    box-shadow: 0 6px 15px rgba(0,0,0,0.2); 
    color: var(--light-blue); 
}

/* --- Slider (Referanslar ve Hizmetler) Genel Tasarımı --- */
.reference-category { margin-bottom: 60px; text-align: center; }
.reference-category h3 { color: var(--primary-blue); border-bottom: 2px solid var(--light-blue); padding-bottom: 10px; margin-bottom: 25px; display: inline-block; }
.slider-wrapper { position: relative; display: flex; align-items: center; }
.slider-container { width: 100%; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
.slider-container::-webkit-scrollbar { display: none; }
.slider-track { display: flex; gap: 20px; padding: 10px 0; }

.slide-item {
    flex: 0 0 calc(33.333% - 20px); 
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}
.slide-item:hover { transform: translateY(-5px); }
.slide-item img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 20px; border-radius: 4px; }
.slide-item h4 { font-size: 15px; color: var(--primary-blue); font-weight: 600; }

/* Sağ-Sol Geçiş Butonları */
.slider-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    font-size: 22px; 
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    z-index: 999; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.2s;
}
.slider-btn:hover { background: var(--light-blue); transform: scale(1.1); }
.slider-btn.prev { left: -25px; }
.slider-btn.next { right: -25px; }

/* --- Hizmetlerimiz (Çözümler) Özel Tasarımı --- */
.service-card {
    flex: 0 0 calc(33.333% - 20px); 
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
    min-height: 450px; 
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); border-bottom: 3px solid var(--light-blue); }
.service-card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 1px solid #eee; }
.service-content { padding: 35px 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.service-content h3 { color: var(--primary-blue); font-size: 20px; margin-bottom: 15px; font-weight: 700; }
.service-content p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- Ürünlerimiz (Telesis Liste) Özel Tasarımı --- */
.product-card {
    flex: 0 0 calc(33.333% - 20px); 
    scroll-snap-align: start;
    background: var(--bg-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-blue);
    min-height: 480px; 
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); border-top: 4px solid var(--light-blue); }
.product-header { background: var(--white); padding: 25px 20px; text-align: center; border-bottom: 1px solid #e1e8ed; }
.product-header h3 { color: var(--primary-blue); font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.product-header p { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.product-models { list-style: none; padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; }
.product-models li { background: var(--white); padding: 10px 15px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--text-dark); display: flex; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.03); border-left: 3px solid var(--light-blue); }
.product-models li i { color: var(--light-blue); margin-right: 10px; font-size: 16px; }

/* --- Destek Formu --- */
.support-section { background-color: var(--primary-blue); color: var(--white); }
.support-container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.support-text { flex: 1; min-width: 300px; margin-right: 40px; }
.support-form { flex: 1; min-width: 300px; background: var(--white); padding: 30px; border-radius: 8px; color: var(--text-dark); }
.form-group { margin-bottom: 15px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Open Sans', sans-serif; }
#form-mesaj { margin-top: 15px; font-weight: bold; text-align: center; display: none; }

/* --- İletişim Bölümü Tasarımı --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-info-box { background: var(--white); padding: 35px 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-blue); }
.contact-info-box h3 { color: var(--primary-blue); font-size: 22px; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { background: var(--bg-gray); color: var(--light-blue); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 20px; flex-shrink: 0; }
.contact-text h4 { color: var(--primary-blue); font-size: 16px; margin-bottom: 5px; font-weight: 700; }
.contact-text p { color: var(--text-light); font-size: 14px; line-height: 1.6; }
.contact-text a { color: var(--text-dark); font-weight: 600; transition: color 0.3s; }
.contact-text a:hover { color: var(--light-blue); }
.contact-map-box { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--light-blue); min-height: 400px; display: flex; }
.contact-map-box iframe { width: 100%; height: 100%; min-height: 400px; }

/* --- Gizli Buton Efektleri --- */
.secret-link { color: inherit; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; cursor: pointer; display: inline-block; }
.secret-link:hover { color: #88b7e0 !important; opacity: 0.9; }
.secret-box { display: flex; align-items: flex-start; margin-bottom: 25px; text-decoration: none; color: inherit; padding: 10px; border-radius: 8px; transition: background-color 0.3s ease, transform 0.2s ease; cursor: pointer; }
.secret-box:hover { background-color: #f0f4f8; transform: translateX(5px); }
.secret-box:hover .contact-icon { background-color: var(--primary-blue); color: var(--white); transform: scale(1.1); transition: all 0.3s ease; }

/* --- Footer --- */
footer { background-color: #051a2e; color: #a0b2c1; padding: 50px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-bottom { text-align: center; border-top: 1px solid #103050; padding-top: 20px; font-size: 13px; }

/* ========================================================================== */
/* --- MOBİL VE TABLET UYUMLULUK (RESPONSIVE) - TEK MERKEZİ ALAN --- */
/* ========================================================================== */

/* Tablet ve Küçük Ekranda (992px altı) Çalışacak Kurallar */
@media(max-width: 992px) {
    /* Navbar'ı ve etrafındaki boşlukları daraltıp esnetiyoruz */
    .navbar { 
        flex-direction: column; 
        height: auto !important; 
        padding: 5px 0 !important; /* Dikey boşluğu (yüksekliği) kıstık */
    }
    
    /* Logoyu küçültüp altındaki boşluğu azalttık */
    .logo { 
        margin-bottom: 5px !important; 
    }
    .logo img, .header-logo { 
        height: 45px !important; /* Logoyu mobilde kibar bir boyuta çektik */
    }
    
    /* Menü linklerini yan yana sıkıştırıp daralttık */
    .nav-links { 
        display: flex !important; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 6px !important; /* Kelimeler arası boşluğu kıstık */
        width: 100%; 
        padding-bottom: 2px !important;
    }
    
    .nav-links li { 
        margin: 0 4px !important; 
    }
    
    .nav-links a { 
        font-size: 11px !important; /* Yazı boyutunu küçülterek tek/iki satıra sığdırdık */
        letter-spacing: 0px !important;
    }

    /* Izgara ve Slayt Kartlerinin 2'li Düzeni */
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .experience-badge { bottom: 10px; left: 10px; padding: 15px 20px; }
    .slide-item, .service-card, .product-card { flex: 0 0 calc(50% - 15px); }
    .contact-map-box { min-height: 350px; }
}

/* Cep Telefonlarında (768px altı) Çalışacak Kurallar */
@media(max-width: 768px) {
    /* Top Bar'ı (Üst Mavi Çubuk) Telefonda Alt Alta Düzenleme */
    .top-bar .container { flex-direction: column; text-align: center; gap: 8px; padding: 6px 0; }
    .top-bar-contact { display: flex; flex-direction: column; gap: 6px; }
    .top-bar-contact a { margin-left: 0 !important; font-size: 12px; }
    .top-bar-social { margin-top: 4px; }

    /* Telefondan girilince logo biraz daha ideal konuma gelir */
    .logo img, .header-logo { height: 40px !important; }
    .nav-links a { font-size: 10.5px !important; font-weight: 700; }

    /* Slayt ve Kartların Tekli Ekran Ayarları */
    .brand-tag { font-size: 18px; padding: 10px 20px; }
    .slider-btn { display: none; } 
    .slide-item, .service-card, .product-card { flex: 0 0 calc(85%); margin-right: 15px; } 
    .slider-track { gap: 0; }
}