/* ==========================================================================
   ANKARA BÜYÜKŞEHİR BELEDİYESİ - LANDING PAGE CSS (Home/Index)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.84) 0%, rgba(30, 58, 138, 0.76) 50%, rgba(15, 23, 42, 0.88) 100%),
                url("/dizayn/user/images/abb_sosyal_yasam_merkezi.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 90px 20px 60px;
    position: relative;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   TOP MENU (GİRİŞ & PROFİL)
   ========================================================================== */

.top-menu {
    position: absolute;
    top: 24px;
    right: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.user-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    max-width: 220px;
}

.user-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-btn {
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    cursor: pointer;
}

.top-btn.login {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.top-btn.login:hover {
    background: #ffffff;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.top-btn.register {
    background: linear-gradient(135deg, #e11d48, #be123c);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.top-btn.register:hover {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

/* ==========================================================================
   MAIN HERO ALANI
   ========================================================================== */

.landing-container {
    text-align: center;
    width: 100%;
    max-width: 1160px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.landing-logo {
    width: 110px;
    max-width: 30vw;
    height: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease;
}

.landing-logo:hover {
    transform: scale(1.04);
}

h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

h2 {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 34px;
    max-width: 680px;
    line-height: 1.5;
}

/* ==========================================================================
   KARTLAR GRID DÜZENİ
   ========================================================================== */

.landing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 34px;
}

.landing-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 26px 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.landing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-card:hover {
    transform: translateY(-6px);
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.landing-card:hover::before {
    opacity: 1;
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: #38bdf8;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.landing-card:hover .card-icon-wrap {
    transform: scale(1.1);
    background: #2563eb;
    color: #ffffff;
}

.landing-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.3;
}

.landing-card p {
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

/* ==========================================================================
   PRIMARY HERO CTA BUTONU
   ========================================================================== */

.btn-landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.btn-landing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.55);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}

.btn-landing-cta i {
    font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.landing-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.2px;
}

/* ==========================================================================
   RESPONSIVE (TABLET & MOBİL)
   ========================================================================== */

@media (max-width: 992px) {
    body {
        padding: 90px 24px 70px;
    }

    .landing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 100px 16px 70px;
        background-attachment: scroll;
        align-items: flex-start;
    }

    .top-menu {
        top: 16px;
        left: 16px;
        right: 16px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .user-pill {
        width: 100%;
        justify-content: center;
        max-width: 100%;
        margin-bottom: 2px;
    }

    .top-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .landing-logo {
        width: 85px;
        margin-bottom: 14px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .landing-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .landing-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .card-icon-wrap {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .btn-landing-cta {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .landing-footer {
        bottom: 12px;
        font-size: 0.75rem;
    }
}

@media (hover: none) {
    .landing-card:hover {
        transform: none;
        background: rgba(15, 23, 42, 0.55);
    }

    .btn-landing-cta:hover {
        transform: none;
    }
}