/* =====================================================
   LOCATIONS SECTION - Naše lokacije
   ===================================================== */

.locations-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.locations-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

/* Location Card */
.location-card {
    background: linear-gradient(145deg, rgba(26,26,40,0.9), rgba(18,18,28,0.95));
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 0 50px rgba(255,107,0,0.1);
    border-color: rgba(255,107,0,0.3);
}

.location-card:hover::before {
    opacity: 1;
}

/* Location Card Header */
.location-card__header {
    position: relative;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255,107,0,0.12), rgba(0,0,0,0.4));
}

.location-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.location-card__badge--open {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.location-card__badge--closed {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.location-card__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding-right: 120px; /* Space for badge */
}

.location-card__desc {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-right: 120px; /* Space for badge */
}

/* Google Rating */
.location-card__google-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,193,7,0.1));
    color: #ffc107;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,193,7,0.3);
    margin-bottom: 10px;
}

.location-card__google-rating:hover {
    background: linear-gradient(135deg, rgba(255,193,7,0.3), rgba(255,193,7,0.2));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.2);
}

.location-card__google-rating i {
    color: #ffc107;
}

.location-card__google-rating span {
    font-weight: 700;
    color: #fff;
}

.location-card__reviews-count {
    font-weight: 400 !important;
    color: rgba(255,255,255,0.7) !important;
}

/* Location Card Body */
.location-card__body {
    padding: 24px;
}

.location-card__info {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.location-card__info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.location-card__info-item:hover {
    background: rgba(255,107,0,0.08);
    border-color: rgba(255,107,0,0.2);
}

.location-card__info-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(255,140,0,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.location-card__info-text {
    flex: 1;
}

.location-card__info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.location-card__info-value {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

/* Location Card Actions */
.location-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* =====================================================
   LOCATIONS RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .locations-section {
        padding: 60px 0;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .location-card {
        border-radius: 18px;
    }
    
    .location-card:hover {
        transform: none;
    }
    
    .location-card__header {
        padding: 20px;
    }
    
    .location-card__badge {
        top: 14px;
        right: 14px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .location-card__name {
        font-size: 1.2rem;
        padding-right: 90px;
    }
    
    .location-card__desc {
        padding-right: 0;
        font-size: 0.9rem;
    }
    
    .location-card__body {
        padding: 18px;
    }
    
    .location-card__info {
        gap: 10px;
        margin-bottom: 18px;
    }
    
    .location-card__info-item {
        padding: 12px;
        gap: 12px;
    }
    
    .location-card__info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .location-card__info-label {
        font-size: 0.7rem;
    }
    
    .location-card__info-value {
        font-size: 0.9rem;
    }
    
    .location-card__actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .locations-section {
        padding: 40px 0;
    }
    
    .location-card__header {
        padding: 16px;
    }
    
    .location-card__name {
        font-size: 1.1rem;
    }
    
    .location-card__body {
        padding: 14px;
    }
    
    .location-card__info-icon {
        width: 32px;
        height: 32px;
    }
}
