/* =============================================================
   ANALIZUS — odalar.css
   /odalar/ sayfasına özel. Yalnızca studyroom_list.html'de
   {% block extra_head %} ile yüklenir, bundle.css'e girmez.
   Mobil-önce: taban stiller mobil, masaüstü @media (min-width:768px).
   ============================================================= */

/* --- Hero (odalar-hero.webp fotoğrafı + koyu gradient overlay, .ax-market-hero deseninin varyasyonu) --- */
.ax-odalar-hero {
    padding: 32px 0 24px;
    position: relative;
    overflow: hidden;
}

.ax-odalar-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ax-odalar-hero__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.ax-odalar-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.90) 100%),
        radial-gradient(ellipse 70% 55% at 15% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 85% 70%, rgba(16, 185, 129, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.ax-odalar-hero > .container { position: relative; z-index: 2; }

.ax-odalar-hero__title {
    font-size: var(--ax-text-3xl);
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
    line-height: var(--ax-leading-tight);
    margin-bottom: var(--ax-space-3);
}

.ax-odalar-hero__subtitle {
    font-size: var(--ax-text-lg);
    color: var(--ax-text-secondary);
    line-height: var(--ax-leading-relaxed);
    max-width: 640px;
    margin-bottom: var(--ax-space-6);
}

.ax-odalar-hero__doors {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-3);
    max-width: 420px;
}

.ax-odalar-hero__door {
    width: 100%;
    min-height: 44px;
}

@media (min-width: 768px) {
    .ax-odalar-hero { padding: 56px 0 40px; }
    .ax-odalar-hero__title { font-size: var(--ax-text-5xl); }

    .ax-odalar-hero__doors {
        flex-direction: row;
        max-width: none;
    }
    .ax-odalar-hero__door {
        width: auto;
        min-width: 220px;
    }
}

/* --- Oda kartı doluluk bar'ı --- */
.ax-room-fill-bar {
    height: 5px;
    border-radius: var(--ax-radius-full);
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 6px;
}

.ax-room-fill-bar__inner {
    height: 100%;
    background: var(--ax-accent-secondary);
    border-radius: var(--ax-radius-full);
}

.ax-room-fill-bar__inner--full {
    background: var(--ax-accent-warning);
}
