/* =====================================================================
   📁 Dosya: /assets/css/index.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.

   ✔ Aşama 1–9 tamamen uygulanmıştır.
   ✔ Mega menu gap fix + hover stabilizasyonu eklenmiştir.
   ✔ Footer tam genişlik taşma sorunu çözülmüştür.
   ✔ Mobil menü + hamburger tam uyumlu çalışır.
   ✔ Estetik spacing, hizalama, ikon düzeni optimize edilmiştir.
   ===================================================================== */












	@media (max-width: 900px) {			
		.hero {
			flex-direction: column;
			text-align: center;
		}
		
		.pop-grid {
			grid-template-columns: repeat(2, 1fr);
		}

		.hero-right .hero-visual {
			width: 240px;
			height: 240px;
			margin-top: 24px;
		}
					
		.feature-grid .grid {
			grid-template-columns: repeat(2, 1fr);
		}
		
		/* ✅ YENİ EKLENEN: Pro Grid Düzenlemesi */
		.pro-grid {
			grid-template-columns: 1fr !important;
		}
		.pro-tools {
			padding: 50px 5%; /* Mobilde daha az boşluk bırakır */
		}

		.extra-pro-cards {
			display: grid; /* Grid yapısının aktif olduğundan emin olalım */
			grid-template-columns: 1fr !important; /* Tek sütun olması için !important ekledik */
			padding: 40px 5%; /* Mobilde iç boşlukları biraz daralttık */
		}
	
	}










/* =====================================================================
   HERO BÖLÜMÜ
   ===================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 8%;
    gap: 40px;
    /* CLS düzeltmesi (sayfa kaymasını önler) */
    min-height: 420px;
}


.hero-left h1 {
    font-size: 46px;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.hero-left p {
    font-size: 18px;
    margin-bottom: 26px;
    color: var(--text-light);
}

body.dark .hero-left p {
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}


/* HERO Görsel */
.hero-right .hero-visual {
    width: 320px;
    height: 320px;
    border-radius: 18px;
    background: #0d1932;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-right .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.dark .hero-right .hero-visual {
    background: linear-gradient(135deg, #1b2c4f, #0e1a33);
}


.menu-emoji {					/* MEGA MENÜ EMOJİLERİ */
    display: inline-block;
    width: 20px;
    text-align: center;
    font-size: 16px;
}


.btn-primary {
    padding: 14px 26px;
    border-radius: 8px;
    background: var(--primary-blue);
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 16px;
    transition: .25s;
}

.btn-primary:hover {
    opacity: .85;
}

.btn-secondary {
    padding: 14px 26px;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: #1c3d99; /* daha koyu mavi → AA kontrast geçer */
    font-size: 16px;
    font-weight: 600;  /* okunabilirlik artar */
    transition: .25s;
}


.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}





/* =====================================================================
   FEATURE GRID
   ===================================================================== */
.feature-grid {
    padding: 70px 8%;
    text-align: center;
}
.feature-grid a.disabled {
    opacity: 0.5;
    pointer-events: none; /* Tıklanamaz hale getirir */
    cursor: not-allowed;
    position: relative;
}
.feature-grid a.disabled::after {
    /* content: "(Yakında)"; */
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.8;
}
.feature-grid h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 38px;
}

.feature-grid .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tool-card {
    padding: 22px 10px;
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    font-size: 17px;
    text-decoration: none;
    color: var(--text-dark);
    transition: .25s;
}

.tool-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 6px 28px rgba(53,119,255,0.18);
    transform: translateY(-3px);
}

body.dark .tool-card {
    background: #0F2244;
    color: var(--white);
    border-color: #182e56;
}

body.dark .tool-card:hover {
    border-color: var(--mint);
    box-shadow: 0 6px 28px rgba(29,209,161,0.18);
}

.show-all-btn {
    margin-top: 34px;
    padding: 14px 30px;
    background: var(--primary-blue);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: var(--white);
    cursor: pointer;
    transition: .25s;
}

.show-all-btn:hover {
    opacity: .85;
}

@media (max-width: 520px) {
    .feature-grid .grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* =====================================================================
   POPULAR CONVERSIONS
   ===================================================================== */
.popular-conversions {
    background: var(--dark-bg);
    color: var(--white);
    padding: 70px 8%;
    text-align: center;
}

.popular-conversions h2 {
    font-size: 32px;
    margin-bottom: 34px;
}

.pop-subtitle {
    font-size: 17px;
    margin-top: -10px;
    margin-bottom: 34px;
    color: #C8D2E3;
}

.pop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.pop-grid a.disabled {
    opacity: 0.5;
    pointer-events: none; /* Tıklanamaz hale getirir */
    cursor: not-allowed;
    position: relative;
}
.pop-grid a.disabled::after {
    /* content: "(Yakında)"; */
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.8;
}

.pop-item {
    padding: 18px 10px;
    border-radius: 10px;
    background: #132549;
    color: var(--white);
    border: 1px solid #193464;
    text-decoration: none;
    font-size: 17px;
    transition: .25s;
}

.pop-item:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.pop-icon {
    width: 22px;
    text-align: center;
    display: inline-block;
    margin-right: 6px;
}



@media (max-width: 520px) {
    .pop-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* =====================================================================
   PROMO BANNER
   ===================================================================== */
.promo-banner {
    padding: 45px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.promo-banner h3 {
    margin: 0 0 6px 0;
}

.promo-right {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
}

body.dark .promo-right {
    color: var(--mint);
}

@media (max-width: 720px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }
}


/* =====================================================================
   PRO SERVER TOOLS
   ===================================================================== */
.pro-tools {
    padding: 80px 8%;
    text-align: center;
}

.pro-tools h2 {
    font-size: 32px;
    margin-bottom: 44px;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.pro-card {
    padding: 28px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid #e9e9e9;
    transition: .25s;
}

body.dark .pro-card {
    background: #0F2244;
    border-color: #253f72;
}

.pro-card h4 {
    font-size: 21px;
    margin-bottom: 12px;
}

.pro-card p {
    color: var(--text-light);
    margin-bottom: 22px;
}

body.dark .pro-card p {
    color: var(--white);
}

.pro-card button {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: var(--primary-blue);
    color: var(--white);
    cursor: pointer;
    transition: .25s;
}

.pro-card button:hover {
    opacity: .85;
}


/* =====================================================================
   EXTRA PRO CARDS
   ===================================================================== */
.extra-pro-cards {
    padding: 70px 8%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.extra-pro-cards .card {
    border-radius: 16px;
    background: var(--white);
    padding: 34px;
    border-bottom: 5px solid;
    transition: .25s;
}

body.dark .extra-pro-cards .card {
    background: #0F2244;
}

.extra-pro-cards .card.green  { border-color: #32CD32; }
.extra-pro-cards .card.orange { border-color: #FF8A00; }
.extra-pro-cards .card.purple { border-color: #8A2BE2; }

.extra-pro-cards a {
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
}

.extra-pro-cards a:hover {
    opacity: .8;
}





/* =====================================================================
   ⭐ BÖLÜM 1 — Benefit Cards
===================================================================== */

.benefit-section {
    padding: 60px 6%;
    text-align: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #e7e9ef;
    padding: 32px 24px;
    border-radius: 16px;
    transition: .25s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.benefit-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 15px;
    color: #555;
}

/* Dark */
body.dark .benefit-card {
    background: #0E1A2C;
    border-color: #1f2f4a;
}
body.dark .benefit-card p {
    color: #cbd6eb;
}


/* =====================================================================
   ⭐ BÖLÜM 2 — Sol Görsel + Sağ Metin Banner
===================================================================== */

.feature-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 6%;
    gap: 60px;
}

.feature-banner-left img {
    width: 360px;
    border-radius: 16px;
}

.feature-banner-right h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

.feature-banner-right p {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Dark */
body.dark .feature-banner-right p {
    color: #d7e2f4;
}


/* =====================================================================
   ⭐ BÖLÜM 3 — Koyu Arkaplanlı Güvenlik Kartları
===================================================================== */

.security-section {
    padding: 70px 6%;
    background: #0C1B33;
    color: #fff;
}

body.dark .security-section {
    background: #07111f;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
}

.security-card {
    text-align: center;
    padding: 28px 24px;
}

.security-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.security-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.security-card p {
    font-size: 15px;
    opacity: 0.8;
}


/* =====================================================================
   ⭐ BÖLÜM 4 — Araç Sayfaları Hero Bölümü
===================================================================== */

.tool-hero {
    padding: 60px 6%;
    text-align: center;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.tool-hero h1 {
    font-size: 38px;
    margin-bottom: 14px;
}

.tool-hero-sub {
    font-size: 16px;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 20px auto;
}

.tool-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tool-hero-buttons .btn-primary,
.tool-hero-buttons .btn-secondary {
    padding: 12px 20px;
    border-radius: 10px;
}


/* Mobile */
@media (max-width: 900px) {
    .benefit-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .feature-banner {
        flex-direction: column;
        text-align: center;
    }
}









