/* =====================================================================
   Smart Lockers — LOCKER SIZES v3.6
   SVG animasiyalı dolablar (brand rəngləri) + calculator widget
   ===================================================================== */

/* ============================================
   SECTION
   ============================================ */

.locker-sizes-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #0b1320 0%, #0f1828 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.locker-sizes-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.18), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.locker-sizes-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 111, 255, 0.15), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.locker-sizes-section > .container {
    position: relative;
    z-index: 1;
}

.locker-sizes-section .section-header {
    margin-bottom: 56px;
}

.locker-sizes-section .section-header h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.locker-sizes-section .section-header p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.6;
}

/* ============================================
   LOCKER CARD
   ============================================ */

.locker-card {
    background: linear-gradient(180deg, #162338 0%, #0f1828 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.locker-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 138, 0, 0.5);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 138, 0, 0.25);
}

/* "Most Popular" badge */
.locker-card .popular-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ff8a00, #ffa340);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

/* ============================================
   ANIMATED LOCKER ILLUSTRATION
   ============================================ */

.locker-illustration {
    position: relative;
    aspect-ratio: 1 / 1.05;
    background:
        radial-gradient(ellipse at center bottom, rgba(27, 111, 255, 0.15), transparent 70%),
        linear-gradient(180deg, #1a2942 0%, #0f1828 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8%;
}

/* Floor reflection */
.locker-illustration::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(255, 138, 0, 0.15), transparent 70%);
    filter: blur(8px);
    z-index: 1;
}

/* Locker body */
.locker-svg {
    width: 60%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.locker-card:hover .locker-svg {
    transform: translateY(-4px) scale(1.02);
}

/* Size dimensions overlay (sm × cm) */
.locker-dimensions {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: #ff8a00;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 138, 0, 0.3);
    font-family: 'Inter', monospace;
    z-index: 3;
}

/* ============================================
   CARD BODY
   ============================================ */

.locker-card .card-body {
    padding: 22px 22px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.locker-card .locker-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.2;
}

.locker-card .locker-subtitle {
    color: #ff8a00;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.locker-card .locker-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 18px;
    min-height: 40px;
}

/* "Nə yerləşir" - fits icons */
.locker-card .fits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.locker-card .fits-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.locker-card .fits-item:hover {
    background: rgba(255, 138, 0, 0.1);
    border-color: rgba(255, 138, 0, 0.3);
}

.locker-card .fits-item i {
    display: block;
    font-size: 1.4rem;
    color: #ff8a00;
    margin-bottom: 3px;
}

.locker-card .fits-item span {
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.2;
    display: block;
}

/* ============================================
   INLINE CALCULATOR
   ============================================ */

.mini-calc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    margin-top: auto;
}

.mini-calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 500;
}

.mini-calc-label .hours-badge {
    background: rgba(255, 138, 0, 0.15);
    color: #ff8a00;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
    min-width: 56px;
    text-align: center;
}

/* Range slider styling */
.mini-calc-range {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    margin-bottom: 12px;
    cursor: pointer;
}

.mini-calc-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a00, #ffa340);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.5);
    transition: transform 0.2s;
}

.mini-calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.mini-calc-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a00, #ffa340);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.5);
}

/* Price display */
.mini-calc-result {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-calc-result .label {
    color: #94a3b8;
    font-size: 0.82rem;
}

.mini-calc-result .price {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.mini-calc-result .price .unit {
    font-size: 0.85rem;
    color: #ff8a00;
    margin-left: 2px;
    font-weight: 600;
}

/* Book button */
.locker-card .btn-book {
    margin-top: 14px;
    background: linear-gradient(135deg, #ff8a00, #ffa340);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.locker-card .btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 138, 0, 0.45);
    color: #fff;
}

/* ============================================
   LOCKER DOOR ANIMATION (hover-da açılma)
   ============================================ */

.locker-door {
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.locker-card:hover .locker-door {
    transform: perspective(400px) rotateY(-65deg);
}

/* Light bulb glow inside locker (hover-da) */
.locker-glow {
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.locker-card:hover .locker-glow {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .locker-sizes-section { padding: 60px 0; }
    .locker-sizes-section .section-header { margin-bottom: 36px; text-align: center; }
}

@media (max-width: 575.98px) {
    .locker-sizes-section { padding: 48px 0; }
    .locker-card .card-body { padding: 18px 18px 20px; }
    .locker-card .locker-title { font-size: 1.1rem; }
    .locker-card .locker-desc { font-size: 0.85rem; min-height: auto; }
    .locker-card .fits-item { padding: 8px 6px; }
    .locker-card .fits-item i { font-size: 1.2rem; }
    .locker-card .fits-item span { font-size: 0.68rem; }
    .mini-calc-result .price { font-size: 1.2rem; }
}
