/* ======================================================
   OZVOTEK YAZILIM - ANA STİL DOSYASI (NİHAİ SÜRÜM)
   ====================================================== */

/* 1. DEĞİŞKENLER & TEMEL AYARLAR */
:root {
    --primary-color: #3b82f6;      /* Ana Mavi */
    --primary-dark: #2563eb;       /* Koyu Mavi */
    --primary-light: #dbeafe;      /* Açık Mavi */
    --text-dark: #1e293b;          /* Koyu Gri */
    --text-light: #64748b;         /* Açık Gri */
    --bg-light: #f8fafc;           /* Zemin */
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Header Yüksekliği */
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Standart Kapsayıcı (Ortalama ve Kenar Boşlukları) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 2. HEADER (DÜZ & SABİT) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navigasyon-icerik {
    width: 100%; 
    max-width: 1200px; 
    padding: 0 1.5rem; 
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}

/* Logo & İkon Düzeltmesi */
.logo-alani { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-dark); }
.header-logo-icon {
    width: 40px; height: 40px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.header-logo-icon svg {
    width: 22px; height: 22px;
    stroke: var(--primary-color); /* Lucide ikonları için renk ayarı */
    fill: none;
}

.logo-metin { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.ana-baslik { font-weight: 800; font-size: 1.2rem; color: var(--text-dark); letter-spacing: -0.5px; }
.alt-baslik { font-size: 0.75rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Desktop Menü */
.desktop-menu { display: flex; align-items: center; gap: 2rem; }
.menu-link {
    text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.95rem;
    transition: color 0.3s ease; position: relative; padding: 5px 0;
}
.menu-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
    background-color: var(--primary-color); transition: width 0.3s ease; border-radius: 2px;
}
.menu-link:hover::after { width: 100%; }
.menu-link:hover { color: var(--primary-color); }

/* Sağ Alan (Masaüstü Buton) */
.header-sag-alan { display: flex; align-items: center; gap: 15px; }

.header-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white); padding: 0.7rem 1.8rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5); color: #fff; }

/* Hamburger Butonu */
.mobil-menu-buton {
    display: none; flex-direction: column; gap: 6px; background: none; border: none;
    cursor: pointer; padding: 5px; z-index: 10002; position: relative;
}
.mobil-menu-buton span {
    width: 26px; height: 2.5px; background: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); border-radius: 4px;
}
.mobil-menu-buton.acik span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--primary-color); }
.mobil-menu-buton.acik span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.mobil-menu-buton.acik span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--primary-color); }

/* 3. MOBİL MENÜ WRAPPER */
.mobil-menu-wrapper {
    position: fixed; top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 10001; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    visibility: hidden;
}
.mobil-menu-wrapper.aktif { right: 0; visibility: visible; }

.mobil-menu { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; width: 80%; }
.mobil-link {
    text-decoration: none; color: var(--text-dark); font-size: 1.4rem; font-weight: 700;
    transition: all 0.3s ease; display: block;
}
.mobil-link:hover { color: var(--primary-color); transform: scale(1.05); }

/* Mobil Menüdeki Teklif Al Butonu */
.mobil-cta {
    background: var(--primary-color); color: white; padding: 1rem 3rem;
    border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem;
    margin-top: 1rem; box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4); display: inline-block;
}

/* 4. SAYFA İÇERİKLERİ & BOŞLUKLAR */
/* Anasayfa Hero */
.ana-hero {
    padding-top: calc(var(--header-height) + 20px);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-icerik { position: relative; z-index: 10; padding: 4rem 0; }
.hero-izgara { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .hero-izgara { grid-template-columns: 1.1fr 0.9fr; } }
.hero-baslik { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-dark); }
.gradient-text { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-aciklama { font-size: 1.125rem; margin-bottom: 2.5rem; color: var(--text-light); }

/* İç Sayfalar (Blog vs.) İçin Üst Boşluk Düzeltmesi */
.sayfa-ust-bosluk {
    padding-top: 120px; /* Header'ın altında kalmayı kesin önler */
    min-height: calc(100vh - 80px); /* Sayfa kısa olsa bile footer aşağıda kalır */
}

/* 5. FOOTER */
.site-footer-mini { background-color: var(--white); padding: 2rem 0; border-top: 1px solid #f1f5f9; margin-top: auto; }
.footer-icerik-mini { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-sol p, .footer-sag p { margin: 0; color: var(--text-light); font-size: 0.9rem; }

/* 6. YÜZEN BUTONLAR (SAĞA HİZALANDI VE DÜZELTİLDİ) */
.phone-btn, .whatsapp-btn {
    position: fixed; 
    right: 20px; /* Sağa alındı */
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 26px;
    z-index: 9999; transition: all 0.3s ease; text-decoration: none; color: white !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.phone-btn { bottom: 90px; background-color: #3b82f6; }
.whatsapp-btn { bottom: 25px; background-color: #25D366; }
.phone-btn:hover, .whatsapp-btn:hover { transform: scale(1.1); color: white; }

/* Tooltip (Sağdan Sola Açılacak Şekilde Ayarlandı) */
.tooltip-text {
    visibility: hidden; opacity: 0; position: absolute; 
    right: 70px; /* Butonun solunda çıkar */
    top: 50%; transform: translateY(-50%);
    background-color: #1e293b; color: #fff; padding: 6px 12px; border-radius: 6px;
    font-size: 14px; font-weight: 500; white-space: nowrap; transition: all 0.3s ease;
}
.tooltip-text::before {
    content: ''; position: absolute; 
    right: -6px; /* Ok işareti sağa bakar */
    top: 50%; transform: translateY(-50%);
    border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #1e293b;
}
.phone-btn:hover .tooltip-text, .whatsapp-btn:hover .tooltip-text { opacity: 1; visibility: visible; }

/* 7. MOBİL UYUMLULUK */
@media (max-width: 992px) {
    .desktop-menu, .header-sag-alan .header-cta { display: none; }
    .mobil-menu-buton { display: flex; margin-left: auto; }
}

@media (max-width: 768px) {
    .navigasyon-icerik { padding: 0 1rem; }
    .header-logo-icon { width: 35px; height: 35px; }
    .ana-baslik { font-size: 1.1rem; }
    .alt-baslik { display: none; }
    
    /* Anasayfadaki Laptop/Telefon Görselini Mobilde Gizle */
    .laptop-konteyneri, .telefon-maketi, .yuzen-element { display: none !important; }
    
    .footer-icerik-mini { flex-direction: column; text-align: center; gap: 1rem; }
    .tooltip-text { display: none !important; } /* Mobilde tooltip gizlenir */
}

@media (max-width: 576px) {
    .site-header { height: 60px; }
    .mobil-menu-wrapper { padding-top: 60px; }
    .mobil-link { font-size: 1.2rem; }
    .phone-btn, .whatsapp-btn { width: 50px; height: 50px; font-size: 24px; right: 15px; }
    .phone-btn { bottom: 85px; } .whatsapp-btn { bottom: 20px; }
}