/* ================================================================
   PLANSAL — ANA SAYFA (index.html) ÖZEL STİLLERİ
   ================================================================ */

/* --- ANA İÇERİK (HERO SECTION) --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-badge {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.05);
    animation: modalFadeIn 0.8s ease;
}

.hero-title {
    font-size: 58px;
    color: #111827;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-title span {
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    background-clip:text;-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 19px;
    color: #6b7280;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 500;
}

/* --- MENÜ BUTONLARI (KARTLAR) --- */
.action-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    text-decoration: none;
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}

.action-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79,70,229,0.05) 0%, rgba(37,99,235,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.action-card i {
    font-size: 46px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    background-clip:text;-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-card:not(.disabled):hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

.action-card:not(.disabled):hover::after {
    opacity: 1;
}

.action-card:not(.disabled):hover i {
    transform: scale(1.15) translateY(-5px);
}

.action-card.disabled {
    background-color: rgba(243, 244, 246, 0.7);
    color: #9ca3af;
    cursor: not-allowed;
    border-color: rgba(229, 231, 235, 0.5);
    box-shadow: none;
}

.action-card.disabled i {
    background: #9ca3af;
    background-clip:text;-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.action-card.disabled:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(209, 213, 219, 0.8);
}

.soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tam merkeze hizalar */
    background: rgba(225, 29, 72, 0.75); /* Kırmızımsı arka planı %75 saydam yaptık */
    backdrop-filter: blur(8px); /* Arkasında kalan logoyu ve yazıyı bulanıklaştırır */
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}

/* --- INDEX.HTML AÇILIŞ PERDESİ (ŞIK TASARIM) --- */
.index-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #ffffff, #e0e7ff);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.index-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.index-loader .loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: floatLoader 2s infinite ease-in-out;
}

.index-loader .loader-logo {
    width: 80px;
    height: 80px;
    font-size: 34px;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.index-loader .loader-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    margin-top: 5px;
}

.index-loader .loader-text {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.index-loader .spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(79, 70, 229, 0.1);
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 5px;
}

@keyframes floatLoader {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* --- YÜKLEME EKRANI YAZI KONTROLÜ (Sıfır Kayma) --- */
.text-from-ders { display: none; }
html.from-ders .text-from-ders { display: block; }
html.from-ders .text-default { display: none; }
