:root {
    /* İki farklı font değişkeni tanımlıyoruz */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --primary: #1e293b;
    --accent: #f59e0b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
}

/* --- PLUS JAKARTA SANS (GÖVDE METİNLERİ İÇİN) --- */
@font-face {
  font-display: swap; 
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 300;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin_latin-ext-300italic.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin_latin-ext-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin_latin-ext-italic.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin_latin-ext-500.woff2') format('woff2'); 
}

/* --- OUTFIT (BAŞLIKLAR İÇİN) --- */
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/outfit-v15-latin_latin-ext-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/outfit-v15-latin_latin-ext-500.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/outfit-v15-latin_latin-ext-600.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/outfit-v15-latin_latin-ext-700.woff2') format('woff2'); 
}

/* --- FONT ATAMALARI --- */
body, p, a, span, li, input, textarea, button {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700; 
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 15px;
}

.logo, .sec-title, .slide-content h2, .s-title, .p-title, .modal-content h2 {
    font-family: var(--font-heading);
}

html, body { 
    overflow-x: visible; 
    width: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: clip; 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    line-height: 1.6; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- ÜST BAR (TOP BAR) TASARIMI --- */
.top-bar { background-color: var(--primary); color: var(--white); height: 40px; display: flex; align-items: center; font-size: 14px; font-weight: 500; overflow: hidden; position: relative; z-index: 1001; }
.top-bar a { color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 10px; width: 100%; justify-content: center; }
.blink-text { animation: blinker 1.5s linear infinite; color: var(--accent); font-weight: 800; }
@keyframes blinker { 50% { opacity: 0; } }

/* --- SOSYAL MEDYA SIDEBAR --- */
.social-sidebar { 
    position: fixed; 
    left: 0; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 990; /* ÇÖZÜM BURASI: 9999 olan değer 990'a düşürüldü */
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    transition: opacity 0.4s ease, visibility 0.4s ease; 
}
.social-sidebar a { width: 45px; height: 45px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 18px; transition: all 0.3s ease; border-radius: 0 5px 5px 0; box-shadow: 2px 2px 10px rgba(0,0,0,0.1); }
.social-sidebar a:hover { background: var(--accent); width: 55px; padding-left: 10px; }

.back-to-top { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    width: 45px; 
    height: 45px; 
    background: var(--primary); 
    color: var(--white); 
    display: none; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    font-size: 18px; 
    border-radius: 5px; 
    z-index: 990; /* ÇÖZÜM BURASI: Yukarı çık butonu da 990'a düşürüldü */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    transition: all 0.3s ease; 
}

@media (max-width: 768px) {
    .social-sidebar { top: auto; bottom: 20px; transform: none; }
    .social-sidebar a { border-radius: 0 5px 5px 0; }
    .social-sidebar a:hover { width: 45px; padding-left: 0; }
    .top-bar { font-size: 12px; height: auto; padding: 5px 0; }
}

/* --- HEADER TASARIMI --- */
header {
    padding-top: env(safe-area-inset-top);
}
header { background: linear-gradient(90deg, #f6fcee 0%, #fef5fa 50%, #f4f0ff 100%); border-bottom: none; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgb(0 0 0 / 0.03); }
header .container { max-width: 1500px; padding: 0 30px; }
.header-wrap { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.header-left { display: flex; align-items: center; gap: 40px; }

.logo { font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: -0.5px; display: flex; align-items: center; z-index: 1002; position: relative; }
.logo img { max-height: 40px; object-fit: contain; }

.menu-overlay { display: none; }

/* --- MENÜ VE ALT MENÜ --- */
nav ul { list-style: none; display: flex; align-items: center; gap: 8px; }
nav ul li { position: relative; }
nav ul li a { 
   
    display: block; 
    padding: 10px 15px; 
    text-decoration: none; 
    color: #4b5563; 
    font-weight: 500; 
    font-size: 15.5px; 
    transition: all 0.3s ease; 
    border-radius: 6px; 
}
nav ul li a:hover { color: #1e293b; background: rgba(0,0,0,0.03); }

nav ul li > ul.dropdown { position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 8px; border: 1px solid #eee; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; display: flex; flex-direction: column; padding: 10px 0; z-index: 1001; }
nav ul li > ul.dropdown::before { content: ''; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }

@media (min-width: 769px) {
    nav ul li:hover > ul.dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
    nav ul li ul.dropdown li:hover > ul.dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
}

nav ul li ul.dropdown li a { padding: 10px 25px; font-weight: 400; border-radius: 0; }
nav ul li ul.dropdown li a:hover { background: #f8fafc; color: #4A81FB; padding-left: 30px; }

nav ul li ul.dropdown li > ul.dropdown { top: -10px; left: 100%; margin-left: 0; transform: translateX(15px); }
nav ul li ul.dropdown li > ul.dropdown::before { content: ''; position: absolute; top: 0; left: -20px; width: 20px; height: 100%; background: transparent; }

/* --- HEADER SAĞ KISIM (BUTONLAR) --- */
.header-right { display: flex; align-items: center; gap: 20px; }
.header-link { color: #4b5563; text-decoration: none; font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 6px; transition: color 0.3s; }
.header-link:hover { color: #1e293b; }
.header-link img.flag { width: 20px; border-radius: 2px; }

.btn-signin { padding: 8px 18px; border: 1px solid #cbd5e1; background: rgba(255,255,255,0.5); color: #4b5563; font-weight: 500; border-radius: 6px; text-decoration: none; transition: all 0.3s ease; }
.btn-signin:hover { background: #fff; border-color: #94a3b8; color: #1e293b; }

.btn-tryfree { 
   
    padding: 9px 20px; 
    background: #4A81FB; 
    color: #ffffff; 
    font-weight: 600; 
    border-radius: 6px; 
    text-decoration: none; 
    box-shadow: 0 4px 10px rgba(74, 129, 251, 0.2); 
    transition: all 0.3s ease; 
    cursor: pointer; 
    border: none; 
}
.btn-tryfree:hover { background: #3b6be0; transform: translateY(-2px); color: #ffffff; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1002; position: relative; }
.hamburger span { width: 25px; height: 3px; background-color: var(--primary); border-radius: 3px; transition: all 0.3s ease; }
.toggle-icon { transition: transform 0.3s ease; display: inline-block; }

/* --- YENİ: POPUP FORMU (MODAL) STİLLERİ --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); z-index: 10005; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(4px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); width: 90%; max-width: 500px; padding: 40px; border-radius: 16px; position: relative; transform: translateY(20px); transition: all 0.3s ease; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 28px; color: var(--text-light); cursor: pointer; transition: color 0.3s; line-height: 1; }
.close-modal:hover { color: var(--primary); }
.modal-content h2 { color: var(--primary); margin-bottom: 5px; font-size: 24px; font-weight: 800; }
.modal-content p { color: var(--text-light); margin-bottom: 25px; font-size: 15px; }

.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 15px; color: var(--text-dark); transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: #4A81FB; outline: none; box-shadow: 0 0 0 3px rgba(74, 129, 251, 0.1); }

.captcha-group .captcha-box { display: flex; align-items: center; gap: 10px; }
.captcha-text { background: #f1f5f9; padding: 10px 15px; border-radius: 8px; font-weight: 800; letter-spacing: 3px; color: var(--primary); font-size: 18px; user-select: none; position: relative; overflow: hidden; background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(0,0,0,0.05) 5px, rgba(0,0,0,0.05) 10px); }
.captcha-text::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgba(0,0,0,0.3); transform: translateY(-50%) rotate(-5deg); }

.refresh-btn { background: none; border: none; font-size: 18px; color: var(--text-light); cursor: pointer; transition: color 0.3s; padding: 5px; }
.refresh-btn:hover { color: #4A81FB; }

.btn-submit { width: 100%; padding: 14px; background: #4A81FB; color: var(--white); border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s, transform 0.2s; margin-top: 10px; }
.btn-submit:hover { background: #3b6be0; transform: translateY(-2px); }

.swiper { width: 100%; height: 70vh; min-height: 450px; }
.swiper-slide { background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); position: relative; }
.swiper-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7)); }
.slide-content { position: relative; z-index: 10; padding: 0 20px; }
.slide-content h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 15px; }
.slide-content p { font-size: 1.25rem; max-width: 700px; margin: 0 auto; }

.services-sec { padding: 80px 0; background: var(--bg-light); text-align: center; }
.sec-title { text-align: center; font-size: 32px; font-weight: 800; margin-bottom: 50px; color: var(--primary); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.s-card { background: var(--white); padding: 40px 30px; border-radius: 16px; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05); transition: transform 0.3s ease; }
.s-card:hover { transform: translateY(-10px); }
.s-icon { font-size: 40px; margin-bottom: 20px; display: inline-block; }
.s-title { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 15px; }
.s-desc { color: var(--text-light); font-size: 16px; line-height: 1.6; }

.logos-sec { padding: 20px 0; background: var(--white); border-top: 1px solid #eee; border-bottom: 1px solid #eee; overflow: hidden; }
.logoSwiper { height: auto !important; min-height: 0 !important; padding: 10px 0; } 
.logoSwiper .swiper-wrapper { transition-timing-function: linear !important; } 
.logo-slide { display: flex; justify-content: center; align-items: center; }
.logo-slide img { max-width: 130px; height: auto; filter: grayscale(100%); opacity: 0.5; transition: all 0.3s ease; cursor: pointer; }
.logo-slide img:hover { filter: grayscale(0%); opacity: 1; }

.about-corporate-sec { padding: 100px 0; background-color: var(--white); overflow: hidden; }
.about-wrapper { display: flex; align-items: center; gap: 70px; }
.about-image-side { flex: 1; position: relative; }
.about-image-side img.main-img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); object-fit: cover; }
.experience-badge { position: absolute; bottom: -30px; right: -30px; background: var(--accent); color: var(--white); padding: 30px; border-radius: 16px; text-align: center; box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3); border: 4px solid var(--white); }
.exp-year { display: block; font-size: 38px; font-weight: 800; line-height: 1; }
.exp-text { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; display: block; }
.about-text-side { flex: 1; }
.sub-title { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; display: block; margin-bottom: 10px; }
.about-text-side h2 { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 20px; line-height: 1.2; }
.about-text-side .desc { color: var(--text-light); font-size: 17px; line-height: 1.8; margin-bottom: 30px; }
.about-features { list-style: none; margin-bottom: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.about-features li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary); font-size: 15px; }
.about-features li .icon { background: rgba(245, 158, 11, 0.1); color: var(--accent); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; }
.btn-primary { display: inline-block; background: var(--primary); color: var(--white); padding: 15px 35px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-primary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); color: #fff; }

.pricing-sec { padding: 100px 0; background-color: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.pricing-card { background: var(--bg-light); border-radius: 20px; padding: 40px; text-align: center; transition: all 0.3s ease; border: 1px solid #eee; position: relative; }
.pricing-card.featured { background: var(--primary); color: #fff; transform: scale(1.05); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.pricing-card.featured .p-title, .pricing-card.featured .p-desc { color: #fff; }
.pricing-card.featured .p-price { color: var(--accent); }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.p-icon { font-size: 45px; margin-bottom: 20px; display: block; }
.p-title { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.p-desc { color: var(--text-light); font-size: 15px; margin-bottom: 25px; }
.p-price { font-size: 42px; font-weight: 800; color: var(--primary); margin-bottom: 30px; }
.p-price span { font-size: 16px; font-weight: 400; color: var(--text-light); }
.pricing-card.featured .p-price span { color: #cbd5e1; }
.p-features { list-style: none; text-align: left; margin-bottom: 35px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 25px; }
.pricing-card.featured .p-features { border-top-color: rgba(255,255,255,0.1); }
.p-features li { margin-bottom: 15px; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.p-features li::before { content: '✓'; color: var(--accent); font-weight: bold; }

.products-sec { padding: 80px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.p-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05); transition: transform 0.3s ease; }
.p-card:hover { transform: translateY(-10px); }
.p-img-box { width: 100%; height: 250px; overflow: hidden; background: #f1f5f9; }
.p-img-box img { width: 100%; height: 100%; object-fit: cover; }
.p-info { padding: 20px; text-align: center; }
.p-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; display: block; }
.p-price { font-size: 20px; font-weight: 800; color: var(--accent); }

.mobile-action-buttons { display: none; }

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .about-wrapper { flex-direction: column; gap: 50px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .header-right { display: none; }
}

/* ========================================= */
/* MOBİL OPTİMİZASYON VE PREMIUM MENÜ TASARIMI */
/* ========================================= */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .header-wrap { height: 65px; }
    
    .menu-overlay { 
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
        background: rgba(15, 23, 42, 0.6); z-index: 999; 
        opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(4px); 
    }
    .menu-overlay.active { opacity: 1; visibility: visible; }

    /* YENİ: Logo alanı ezilmemesi için padding-top 100px yapıldı */
    nav {
        position: fixed; top: 0; left: -280px; width: 260px; max-width: 75%; 
        height: 100vh; 
        height: 100dvh; 
        background: var(--white); 
        box-shadow: 10px 0 40px rgba(15, 23, 42, 0.1); border-top: none;
        opacity: 1; visibility: visible; transform: none; 
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
        z-index: 1001; overflow-y: auto; 
        padding-top: 100px; 
        padding-bottom: max(20px, env(safe-area-inset-bottom)); 
        display: flex; flex-direction: column;
    }
    nav.active { left: 0; }
    
    /* YENİ: Alt boşluk sorunu çözüldü, butonlar linklerin hemen altına alındı */
    nav ul { flex-direction: column; padding: 0 15px; gap: 2px; margin-bottom: 10px; }
    nav ul li { width: 100%; border-bottom: none; }
    nav ul li a { 
        padding: 10px 15px; font-weight: 600; font-size: 15px; 
        color: var(--primary); transition: all 0.3s ease; 
        border-radius: 8px; 
    }
    nav ul li a:hover { background: var(--bg-light); color: var(--accent); }
    
    nav ul li > ul.dropdown { 
        position: static; box-shadow: none; border: none; background: transparent; 
        opacity: 1; visibility: visible; transform: none; display: none; 
        padding: 4px 0; margin-left: 10px; border-left: 2px solid rgba(245, 158, 11, 0.3); 
    }
    nav ul li.open > ul.dropdown { display: flex; flex-direction: column; }
    nav ul li.open > a .toggle-icon { transform: rotate(90deg); } 
    
    nav ul li ul.dropdown li a { padding: 8px 15px; font-size: 14px; font-weight: 500; border-radius: 6px; }
    
    /* YENİ: margin-top "auto" yerine "0" yapılarak ekranın dibine düşmesi engellendi */
    .mobile-action-buttons { 
        display: flex; flex-direction: column; gap: 12px; 
        padding: 15px; margin-top: 0; 
        border-top: 1px solid rgba(0,0,0,0.05); 
        background: var(--white); 
    }
    .mobile-action-buttons .btn-tryfree { 
        width: 100%; text-align: center; justify-content: center; 
        padding: 14px; font-size: 15px; border-radius: 10px; 
        box-shadow: 0 8px 20px -5px rgba(74, 129, 251, 0.3); 
    }
    .mobile-action-buttons .btn-signin { 
        width: 100%; text-align: center; justify-content: center; 
        padding: 12px; font-size: 15px; border-radius: 10px; 
        border: 1.5px solid var(--primary); color: var(--primary); font-weight: 600;
        background: transparent;
    }

    /* Diğer Mobil Kodlar */
    .service-grid, .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card.featured { transform: scale(1); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .p-img-box { height: 180px; }
    .p-name { font-size: 15px; }
    .p-price { font-size: 17px; }
    .about-sec { padding: 60px 0; }
    .experience-badge { right: 20px; bottom: -20px; padding: 20px; }
    .exp-year { font-size: 28px; }
    .about-text-side h2 { font-size: 30px; }
    .about-features { grid-template-columns: 1fr; }
    .logo-slide img { max-width: 100px; }
    
}