/* Extracted from resources/views/front/pages/home.blade.php
 * Block #3. Content is verbatim - no rules were added,
 * removed or reordered, so rendering is unchanged.
 */

/* === YATAYAT ROUTES SECTION - FULLY ISOLATED === */
.yatayat-routes-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 100%);
    position: relative;
    overflow: hidden;
}

.yatayat-routes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}

.yatayat-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.yatayat-title-icon {
    width: 50px;
    height: 50px;
    margin-left: 15px;
    vertical-align: middle;
    filter: drop-shadow(0 4px 12px rgba(59,130,246,0.3));
}

.yatayat-route-card-wrapper {
    perspective: 1000px;
}

.yatayat-route-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
    position: relative;
}

.yatayat-route-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.yatayat-route-card:hover::before {
    transform: scaleX(1);
}

.yatayat-route-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 0 32px 64px rgba(0,0,0,0.12);
}

.yatayat-route-link {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
}

.yatayat-route-link:hover {
    color: #1d4ed8;
    transform: translateX(8px);
}

.yatayat-route-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.yatayat-route-link:hover::after {
    left: 100%;
}

.yatayat-route-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(59,130,246,0.3);
    transition: all 0.3s ease;
}

.yatayat-route-link:hover .yatayat-route-icon {
    transform: scale(1.05) rotate(5deg);
}

.yatayat-route-icon i {
    font-size: 1.4rem;
    color: white;
}

.yatayat-route-arrow {
    margin-left: auto;
    width: 40px;
    height: 40px;
    background: rgba(59,130,246,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.yatayat-route-link:hover .yatayat-route-arrow {
    background: rgba(59,130,246,0.2);
    transform: translateX(4px);
}

.yatayat-route-arrow i {
    font-size: 1rem;
    color: #3b82f6;
}

/* Animations */
.yatayat-route-card-wrapper {
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                max-height 0.7s ease;
}

.yatayat-route-card-wrapper.yatayat-hidden-animate {
    opacity: 0 !important;
    transform: translateY(30px) scale(0.95) !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

.yatayat-route-card-wrapper.yatayat-show-animate {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    max-height: 200px !important;
}

/* Expand Button */
.yatayat-expand-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(59,130,246,0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.yatayat-expand-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(59,130,246,0.4);
}

.yatayat-expand-btn.yatayat-active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 20px 40px rgba(239,68,68,0.3);
}

.yatayat-expand-icon {
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1.2rem;
}

.yatayat-expand-btn.yatayat-active .yatayat-expand-icon {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .yatayat-route-link {
        padding: 24px 24px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .yatayat-route-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .yatayat-route-arrow {
        margin-left: 0;
    }
}
