/* =====================================================================
   📁 Dosya: /assets/css/menu-footer.css — FINAL SÜRÜM
   🎨 Amaç:
      AllImageLab ana sayfa UI tasarımını oluşturur.
      Header, Mega Menü, Hero, Grid, Promo, Footer ve mobil tasarımı içerir.

   ✔ Tek satır HEADER için optimize edildi
   ✔ Mega menu gap fix + hover stabilizasyonu
   ✔ 9 noktali apps menü eklendi
   ✔ Mobil menü + hamburger tam uyumlu
   ✔ Dark/Light uyumu tamamlandı
   ===================================================================== */
html {
    overflow-y: scroll;
}


/* =====================================================================
   TEMA RENK PALETİ — Global değişkenler
   ===================================================================== */
:root {
    --dark-bg: #0C1B33;
    --primary-blue: #3577FF;
    --mint: #1DD1A1;
    --white: #FFFFFF;
    --text-dark: #0C1B33;
    --text-light: #7A869F;
}

/* =====================================================================
    Class ekle + CSS ile gizle ➜ BLOĞU CSS İLE GÖRÜNMEZ YAP
   ===================================================================== */
.is-hidden-nt {
	display: none !important;
}


/* =====================================================================
   BODY — Tema başlangıcı
   ===================================================================== */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: var(--white);
    color: var(--text-dark);
    transition: background .25s ease, color .25s ease;
}

body.dark {
    background: var(--dark-bg);
    color: var(--white);
}


/* =====================================================================
   HEADER — TEK SATIR YENİ DÜZEN
   ===================================================================== */
.topbar {
    min-height: 84px; /* Menünün minimum yüksekliğini korur */
    padding: 8px 24px; /* ⬅️ Dikey padding sıfırlandı */
    position: sticky;
	width: 100%;
    box-sizing: border-box;
	contain: layout size style;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid #e2e2e2;
    background: var(--white);
    transition: background .25s ease, border-color .25s ease, padding .25s ease, box-shadow .25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.topbar.shrink {
    padding: 8px 24px; /* ⬅️ **ÇÖZÜM** Olarak BU PADDING'i YÜKSEKLİKLE OYNAYARAK SABİT TUTUN. */
    height: 68px; /* ⬅️ Menünün yüksekliği değiştiği için kayma oluyor. */
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

body.dark .topbar {
    background: #0B1427;
    border-bottom-color: #182645;
}


/* =====================================================================
   HEADER YERLEŞİM — LOGO + MENÜ + UTILITIES
   ===================================================================== */
.header-container {
    width: 100%;
	margin: 0 auto; /* Ortalamak için */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo-column {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 200px;
    height: auto;
}

@media (max-width: 600px) {
    .logo-icon {
        width: 150px;
    }
}


/* =====================================================================
   ANA NAV (TEK SATIR)
   ===================================================================== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
    flex-grow: 1;
    justify-content: center;
}

/* Menü başlıkları */
.menu-item {
    position: relative;
    font-size: 15px;
    cursor: pointer;
    padding: 10px 8px;
    color: var(--text-dark);
    transition: color .2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.dark .menu-item {
    color: var(--white);
}

.menu-item:hover {
    color: var(--primary-blue);
}

body.dark .menu-item:hover {
    color: var(--mint);
}
/* ============================================================
   🔗 ANA MENÜ → <a> linkleri span gibi dursun (alt çizgisiz & hover)
============================================================ */
.main-nav .menu-item > span > a {
    text-decoration: none !important;
    color: inherit !important;
    font-weight: inherit;
    font-size: inherit;
    display: inline-block;
    padding: 0;
    transition: color .25s ease;
}

/* Hover efektini geri getir */
.main-nav .menu-item:hover > span > a {
    color: var(--primary-blue);
}

body.dark .main-nav .menu-item:hover > span > a {
    color: var(--mint);
}




/* =====================================================================
   UTILITIES — Dil, Tema, 9 Nokta Menüsü
   ===================================================================== */
.utilities {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* DİL */
.lang-box {
    display: flex;
    gap: 6px;
}

.lang-box span {
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    transition: color .2s ease;
}

.lang-box .active {
    color: var(--primary-blue);
    font-weight: 600;
}

body.dark .lang-box .active {
    color: var(--mint);
}

/* Tema butonu */
.theme-btn {
    font-size: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform .2s ease;
}

.theme-btn:hover {
    transform: scale(1.12);
}

body.dark .theme-btn {
    color: var(--mint);
}


/* =====================================================================
   9 NOKTA APPS MENÜ — iloveimg Tarzı
   ===================================================================== */
.apps-menu-wrapper {
    position: relative;
}

.apps-button {
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    user-select: none;
}

.apps-menu-panel {
    position: absolute;
    top: 38px;
    right: 0;
    width: 420px;
    background: var(--white);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border: 1px solid #e5e9f2;
    display: none;
    z-index: 4000;
}

body.dark .apps-menu-panel {
    background: #0F2244;
    border-color: #1d305a;
}

/* Açıkken */
.apps-menu-panel.open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.apps-col h4 {
    margin-bottom: 12px;
    font-size: 15px;
}

.apps-col a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    background: #f7f9fc;
    border: 1px solid #e5e9f2;
    margin-bottom: 8px;
    font-size: 14px;
    transition: .2s ease;
}

.apps-col a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

body.dark .apps-col a {
    background: #152a52;
    border-color: #25457c;
    color: #dde7ff;
}

body.dark .apps-col a:hover {
    background: var(--mint);
    border-color: var(--mint);
    color: var(--dark-bg);
}


/* =====================================================================
   MEGA MENÜ — 2 SÜTUN, HOVER ile açılır
   ===================================================================== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    max-width: 90vw;
    background: var(--white);
    border-radius: 14px;
    padding: 26px;
    display: none;
    box-shadow: 0 12px 42px rgba(0,0,0,0.14);
    border: 1px solid #e5e9f2;
    z-index: 3000;
}

body.dark .mega-menu {
    background: #0F2244;
    border-color: #1d305a;
}

.menu-item.hover-open .mega-menu {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.mega-menu a {
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    background: #f7f9fc;
    border: 1px solid #e5e9f2;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: .2s ease;
}

.mega-menu a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

body.dark .mega-menu a {
    background: #152a52;
    border-color: #25457c;
    color: #dde7ff;
}

body.dark .mega-menu a:hover {
    background: var(--mint);
    border-color: var(--mint);
    color: var(--dark-bg);
}


/* =====================================================================
   MOBİL MENÜ (Hamburger + Slide Left)
   ===================================================================== */
.mobile-nav {
    display: none;
}

@media (max-width:900px) {

    /* Desktop NAV gizlenir */
    .main-nav {
        display: none !important;
    }

    .utilities {
        display: none !important;
    }

    .mobile-nav {
        display: block;
    }

    /* Hamburger */
    .mobile-hamburger {
        width: 32px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .mobile-hamburger span {
        height: 4px;
        border-radius: 4px;
        background: #0C1B33;
    }

    body.dark .mobile-hamburger span {
        background: var(--mint);
    }

    /* Slide Left Menü */
    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        background: var(--white);
        padding: 15px 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.20);
        transform: translateX(-100%);
        transition: transform .35s ease;
        z-index: 5001;
    }

    .mobile-menu-panel.open {
        transform: translateX(0);
    }

    .mobile-menu-panel a {
        padding: 8px 0;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
        color: #0C1B33;
    }

    /* Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.35);
        backdrop-filter: blur(1px);
        z-index: 4000;
        display: none;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Dark mode - mobile */
    body.dark .mobile-menu-panel {
        background: #0B1427;
        box-shadow: 4px 0 20px rgba(0,0,0,0.45);
    }

    body.dark .mobile-menu-panel a {
        color: #d8e2ff;
        border-bottom-color: #233455;
    }
}


/*  MOBİL MENÜ İÇİNDEKİ UTILITIES (Tema/Dil)  */
/* Tema Değiştirme Butonu */
.mobile-theme-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #e2e2e2; /* Light mode kenarlık */
    border-radius: 8px;
    background: #f7f7f7; /* Light mode arka plan */
    color: var(--text-dark, #0C1B33);
    transition: all .2s ease;
    margin-bottom: 10px; /* Dil kutusu ile arasına boşluk */
}
.mobile-theme-btn:hover {
    background: #e2e2e2;
}
/* Dil Seçme Kutusu (Select) */
.mobile-lang-box {
    width: 100%;
}
.mobile-lang-box select {
    width: 100%;
    padding: 12px 10px;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #f7f7f7;
    color: var(--text-dark, #0C1B33);

}

/*  🌙 DARK MODE UYUMU (body.dark aktif olduğunda) */

body.dark .mobile-theme-btn,
body.dark .mobile-lang-box select {
    border-color: #233455;
    background: #15243f;
    color: var(--white, #FFFFFF);
}
body.dark .mobile-theme-btn:hover {
    background: #182c50;
}
body.dark .mobile-lang-box select {
    /* Dark mode için ok simgesini beyaza çevirme */
}



/* =====================================================================
   FOOTER (DOKUNULMADI)
   ===================================================================== */

.footer-gradient {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #ff3366, #ff8a00, #faff00, #00e676, #00b0ff, #aa00ff);
}

.footer {
    padding: 30px 8% 0;
    background: #f7f9fc;
    color: var(--text-dark);
}

body.dark .footer {
    background: #0B1A30;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 19px;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: .25s;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

body.dark .footer-col a {
    color: #C8D2E3;
}

body.dark .footer-col a:hover {
    color: var(--mint);
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: repeat(1, 1fr);
        text-align: center;
    }
}

.footer-gradient-alt {
	width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff4d4d, #ff892e, #ffce3c, #4cd96d, #3ccbff, #4d55ff, #c243ff);
    margin-top: 40px;
}

.footer-bottom-bar {
    width: 100%;
    margin: 0;
    background: #0b0f18;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.footer-bottom-bar select {
    background: #111623;
    color: #d1d5e0;
    border: 1px solid #2a3243;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.footer-copy {
    color: #c9cedb;
    font-size: 14px;
}

.footer-links a {
    color: #c9cedb;
    font-size: 14px;
    margin-left: 18px;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #7ab1ff;
}

@media (max-width: 780px) {
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        display: inline-block;
        margin: 6px 10px;
    }
}



.mega-menu a.disabled {
    opacity: 0.5;
    pointer-events: none; /* Tıklanamaz hale getirir */
    cursor: not-allowed;
    position: relative;
}
.mega-menu a.disabled::after {
    /* content: "(Yakında)"; */
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.8;
}
.apps-col a.disabled {
    opacity: 0.5;
    pointer-events: none; /* Tıklanamaz hale getirir */
    cursor: not-allowed;
    position: relative;
}
.apps-col a.disabled::after {
    /* content: "(Yakında)"; */
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.8;
}


/* =====================================================================
   REKLAM stilleri
   ===================================================================== */
.reklam-nt-link2 {
    width: 100%;
    max-width: 320px;
    height: auto;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    margin: 10px 0;
}
/* Dark Mode için kenarlık rengini yumuşatalım */
.dark .reklam-nt-link2 {
    border-color: #334155;
}
.reklam-nt-link2 img {
    width: 100%;
    height: auto; /* auto olması oranları korur */
    object-fit: cover;
    display: block;
}
.reklam-nt-link2:hover {
    transform: scale(1.02);
    opacity: 0.9;
}
/* Varsayılan olarak dark resmi gizle */
.reklam-nt-link2 .img-dark { display: none; }
/* Dark mode aktif olduğunda light resmi gizle, dark resmi göster */
.dark .reklam-nt-link2 .img-light { display: none; }
.dark .reklam-nt-link2 .img-dark { display: block; }






/* Ana Kapsayıcı: Dikey ortalama burada yapılıyor */
.preset-container {
    display: flex;
    align-items: center; /* Dikeyde tam ortalar */
    gap: 12px;
    margin-bottom: 15px;
}
/* Label Ayarları */
.preset-label {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap; /* Metnin kırılmasını engeller */
    color: #1e293b; /* Light mode default */
}
/* Select Box Ayarları */
.preset-select {
    width: 100%;
    max-width: 160px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    background-color: #ffffff;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}
/* --- DARK MODE DESTEĞİ --- */
/* Sitenin body veya ana kapsayıcısında .dark sınıfı olduğunu varsayıyoruz */
.dark .preset-label {
    color: #f1f5f9;
}
.dark .preset-select {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}
.dark .preset-select:focus {
    border-color: #64748b;
}
/* --- MOBİL UYUM (Responsive) --- */
@media (max-width: 480px) {
    .preset-container {
        flex-direction: column; /* Mobilde alt alta gelsin */
        align-items: flex-start; /* Sola yasla */
        gap: 6px;
    }    
    .preset-select {
        max-width: 100%; /* Mobilde tam genişlik kullanabilir */
    }
}














/* =====================================================================
	✅✅✅ GENEL - FAQ - SIK SORULAN SORULAR ✅✅✅
   ✅ Compress FAQ (Right Panel) — Hareketli Ok Göstergeli & Her Temaya Uygun
===================================================================== */
.compress-faq-card { 
    line-height: 1.5; 
}
.compress-faq-intro { 
    opacity: 0.8; 
    margin: 10px 0 14px; 
    font-size: 13px; 
}
.compress-faq-item {
    border: 1px solid rgba(128, 128, 128, 0.2); 
    border-radius: 12px;
    padding: 12px 15px;
    margin: 10px 0;
    background: rgba(128, 128, 128, 0.05); 
    transition: all 0.3s ease;
    list-style: none; /* Varsayılan okları kaldır */
}
/* Safari ve Chrome varsayılan oklarını temizle */
.compress-faq-item summary::-webkit-details-marker { display: none; }
.compress-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    justify-content: space-between; /* Yazı sola, ok sağa */
    align-items: center;
    list-style: none;
    outline: none;
    user-select: none;
}
/* ➡️ SAĞDAKİ OK SİMGESİ (KAPALI DURUM) */
.compress-faq-item summary::after {
    content: '\203A'; /* Modern ince ok simgesi (>) */
    font-size: 20px;
    transition: transform 0.3s ease;
    transform: rotate(90deg); /* Başlangıçta aşağı baksın */
    opacity: 0.6;
    font-weight: normal;
}
/* ⬇️ CARD AÇILDIĞINDA OKUN DÖNMESİ (AÇIK DURUM) */
.compress-faq-item[open] summary::after {
    transform: rotate(-90deg); /* Yukarı bakması için ters döndür */
    color: #3b82f6; /* Açıldığında ok rengi değişebilir (isteğe bağlı) */
}
.compress-faq-item p {
    margin: 10px 0 0;
    opacity: 0.85;
    font-size: 13.5px;
    line-height: 1.6;
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    padding-top: 10px;
    /* Açılış animasyonu için hafif efekt */
    animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.compress-faq-note {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.6;
}
/* 📱 Mobil Uyumluluk */
@media (max-width: 600px) {
    .compress-faq-item summary { font-size: 13px; }
    .compress-faq-item p { font-size: 12.5px; }
}


/* ============================================================
   🖼️ JPG QUALITY CONTROL (FREE / PRO)
============================================================ */
.quality-control-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px;
	box-shadow: var(--shadow);
}
.quality-control-card h4 {
	margin: 0 0 10px 0;
	font-size: 16px;
	color: var(--text);
}
.quality-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.quality-row input[type="range"] {
	flex: 1;
}
.quality-value {
	font-weight: 700;
	color: var(--text);
	min-width: 44px;
	text-align: right;
}
.quality-lock-note {
	padding: 12px 16px;
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}
/* Desktop/Mobil yer kontrolü */
.quality-control-card--desktop { display: block; }
.quality-control-card--mobile { display: none; }
@media (max-width: 640px) {
	.quality-control-card--desktop { display: none !important; }
	.quality-control-card--mobile {	display: block !important;	margin-top: 12px;}
}









/* ============================================================
   ⭐ PRO / SERVER CTA (FINAL) — Kalıp aynı
============================================================ */
.pro-cta {
	margin-top: 14px;
	padding: 14px 14px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(75,111,255,0.10), rgba(75,111,255,0.04));
	overflow: hidden;
}
body.dark .pro-cta {
	border-color: #334155;
	background: linear-gradient(180deg, rgba(91,124,250,0.16), rgba(15,23,42,0.65));
}
.pro-cta-head {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.pro-badge {
	background: #4b6fff;
	color: #fff;
	font-weight: 800;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	line-height: 1;
	white-space: nowrap;
}
body.dark .pro-badge { background: #5b7cfa; }
.pro-cta-title {
	font-weight: 800;
	font-size: 14px;
	color: var(--btn-text);
	line-height: 1.2;
}
.pro-cta-sub {
	margin-top: 6px;
	font-weight: 500;
	font-size: 12px;
	opacity: 0.85;
	line-height: 1.5;
	color: var(--btn-text);
}
.pro-cta-list {
	list-style: none;    /* Varsayılan noktaları kaldırır */
	margin: 12px 0 0;
	padding: 0 0 0 18px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--btn-text);
}
.pro-cta-list li {
	margin: 6px 0;
	display: flex;      /* Tik işareti ile metni aynı hizaya getirir */
	align-items: flex-start; /* Metin uzunsa tik işaretini tepede tutar */
	gap: 10px;          /* Tik işareti ile metin arasına boşluk bırakır */
	margin-bottom: 8px; /* Maddeler arasına boşluk ekler */
	font-size: 12px;
    line-height: 1.4;
	}
.pro-cta-actions {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.pro-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid #4b6fff;
	background: #4b6fff;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}
.pro-cta-btn:hover {
	background: #3a55d6;
	border-color: #3a55d6;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(75,111,255,0.25);
}
body.dark .pro-cta-btn {
	background: #5b7cfa;
	border-color: #5b7cfa;
}
body.dark .pro-cta-btn:hover {
	background: #4b6fff;
	border-color: #4b6fff;
	box-shadow: 0 6px 16px rgba(91,124,250,0.30);
}
.pro-cta-note {
	font-size: 12px;
	opacity: 0.8;
	color: var(--btn-text);
}
/* Desktop/Mobil yer kontrolü */
.pro-cta--mobile { display: none; }
.pro-cta--desktop { display: block; }

@media (max-width: 640px) {
	.pro-cta--desktop { display: none !important; }
	.pro-cta--mobile {
		display: block !important;
		margin-top: 12px;
	}
	.pro-cta-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.pro-cta-btn { width: 100%; }
	.pro-cta-note { text-align: center; }
}
@media (max-width: 900px) {
    .pro-cta--desktop { display: none; }
    .pro-cta--mobile { display: block; }
}








































